Values from Sentry4.mib, from
https://www.servertech.com/support/sentry-mib-oid-tree-downloads
Useful runes used when developing and testing, with "Sentry.mib" from
the Servertech zipfile renamed to "mibs/Sentry4-MIB":
snmpwalk -On -m Sentry4-MIB -M +:mibs/ -Ci -v 2c -c private pdu1 iso.3.6.1.4.1.1718.4
snmpwalk -m Sentry4-MIB -M +:mibs/ -Ci -v 2c -c private pdu1 iso.3.6.1.4.1.1718.4
snmptranslate -Td -m Sentry4-MIB -M +:mibs/ Sentry4-MIB::st4OutletControlAction.1.1.2
Signed-off-by: Ian Jackson <iwj@xenproject.org>
$baseoid_write= '.1.3.6.1.4.1.318.1.1.12.3.3.1.1.4';
}
+sub model_sentry4 () {
+ $baseoid = ".1.3.6.1.4.1.1718.4.1.8";
+ $baseoid_name = "$baseoid.2.1.3.1.1"; # st4OutletName.1.1
+ $baseoid_read = "$baseoid.3.1.1.1.1"; # st4OutletState.1.1
+ $baseoid_write= "$baseoid.5.1.2.1.1"; # st4OutletControlAction.1.1
+}
+
my $model_name = 'msw';
while (@ARGV && $ARGV[0] =~ m/^-/) {