check_snmp problem
Joshua Stone
jstone at fivepoints.net
Thu Feb 10 20:34:11 CET 2005
I am trying to monitor available swap space on a Borderware mail
gateway. I am having trouble configuring the warning and critical
thresholds and could use some help. Here is some relevant details:
Looks correct from the commandline:
[root at chimera etc]# ../libexec/check_snmp -H 1.2.168.15 -o
"BORDERWARE-MIB::memAvailSwap.0" -w 300000:200001 -c 200000:0 -C XXXXXX
-m "/usr/share/snmp/mibs/BORDERWARE-SMG-MIB.txt"
SNMP OK - 440492
[root at chimera etc]#
Here is the entry in checkcommands.cfg:
define command{
command_name check-bw_memAvailSwap
command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o
"BORDERWARE-MIB:memAvailSwap.0" -w $ARG1$ -c $ARG2$ -C XXXXX -m
"/usr/share/snmp/mibs/BORDERWA E-SMG-MIB.txt"
}
And services.cfg:
define service{
use snmp-service
host_name bdware1
check_command
check-bw_memAvailSwap!300000:200001!200000:0
}
However, the service returns a warning state for every check.
[1108061224] SERVICE NOTIFICATION:
blert;bdware1;memAvailSwap;WARNING;notify-by-email;SNMP WARNING - 440100
Thanks in advance for any help/ideas.
--
jds
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list