Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Nortel check_snmp_nortel_core
152604
File | Description |
---|---|
check_snmp_nortel_core.rar | Rar file containing the plugin and the ncfg file |
Plugin to check the status of Nortel core routers (Passport systems or currently named Ethernet Routing Switch).
Current Status:
OK
Status Information:
CpuUtil=9%
SwitchFabricUtil=0%
SysBufferUtil=1
Performance Data:
CpuUtil=9 SwitchFabricUtil=0 SysBufferUtil=1
My two cents to the Nagios community :) maybe someone will enjoy this plugin.
Grtz,
Roderick Derks
Current Status:
OK
Status Information:
CpuUtil=9%
SwitchFabricUtil=0%
SysBufferUtil=1
Performance Data:
CpuUtil=9 SwitchFabricUtil=0 SysBufferUtil=1
My two cents to the Nagios community :) maybe someone will enjoy this plugin.
Grtz,
Roderick Derks
Reviews (1)
byovi1, January 20, 2010
The plugin is returning the right values but if you test it will never return warning or critical because the last if is not correct.
To fix it replace it with:
if ( $cpu_status eq "critical" or $switchfabricutil_status eq "critical" or $sysbufferutil_status eq "critical" ) {
print "SNMP_ENVIRONMENT CRITICAL : $OUTPUT
";
exit $STATE_CRITICAL;
}
elsif ( $cpu_status eq "warning" or $switchfabricutil_status eq "warning" or $sysbufferutil_status eq "warning" ) {
print "SNMP_ENVIRONMENT WARNING : $OUTPUT
";
exit $STATE_WARNING;
}
else {
print "SNMP_ENVIRONMENT OK : $OUTPUT
";
exit $STATE_OK;
}
Anyway thanks a lot for the plugin.
To fix it replace it with:
if ( $cpu_status eq "critical" or $switchfabricutil_status eq "critical" or $sysbufferutil_status eq "critical" ) {
print "SNMP_ENVIRONMENT CRITICAL : $OUTPUT
";
exit $STATE_CRITICAL;
}
elsif ( $cpu_status eq "warning" or $switchfabricutil_status eq "warning" or $sysbufferutil_status eq "warning" ) {
print "SNMP_ENVIRONMENT WARNING : $OUTPUT
";
exit $STATE_WARNING;
}
else {
print "SNMP_ENVIRONMENT OK : $OUTPUT
";
exit $STATE_OK;
}
Anyway thanks a lot for the plugin.