SNMP::Info::Layer7::Netscaler - SNMP Interface to Citrix Netscaler appliances
# Let SNMP::Info determine the correct subclass for you.
my $ns = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
DestHost => 'myrouter',
Community => 'public',
Version => 2
)
or die "Can't connect to DestHost.\n";
my $class = $ns->class();
print "SNMP::Info determined this device to fall under subclass : $class\n";
Subclass for Citrix Netscaler appliances
- NS-ROOT-MIB
- Inherited Classes' MIBs
- See SNMP::Info::Layer7 for its own MIB requirements.
These are methods that return scalar value from SNMP
- $ns->vendor()
- Returns 'citrix'.
- $ns->os()
- Returns 'netscaler'.
- $ns->os_ver()
- Release extracted from
"sysBuildVersion".
- $ns->model()
- Model extracted from
"sysHardwareVersionDesc".
- $ns->cpu()
- "resCpuUsage"
- $ns->build_ver()
- "sysBuildVersion"
- $ns->sys_hw_desc()
- "sysHardwareVersionDesc"
- $ns->serial()
- "sysHardwareSerialNumber"
See documentation in SNMP::Info::Layer7 for details.
These are methods that return tables of information in the form of a reference
to a hash.
- $ns->ip_index()
- "ipAddr"
- $ns->ip_netmask()
- "ipNetmask"
See documentation in SNMP::Info::Layer7 for details.