Dear List I am using nagios 3.0 in Ubuntu 7.10 .To monitor a router with snmp command i am using the following command
define service{
use generic-service ; Inherit values from a
template
host_name mumbai-gw1
service_description Port 1 Link Status
check_command check_snmp!-C
public -o ifOperStatus.1,ifAdminStatus.1 -r 1 -m RFC1213-MIB
}
The port is up but still it returns Critical state rather than showing OK
state .If i eliminate the -r 1 then it only gives me the info about port
status. But i need to get notified when port admin status is not equal to
operational status.
So is there any way out for this problem.
The information contained in this e-mail message is intended only for the use
of the individual or entity to which it is addressed. If you are not the
intended recipient, you should return it to the sender immediately. Please note
that while we scan all e-mails for viruses we cannot guarantee that any e-mail
is virus-free and accept no liability for any damage caused by any virus
transmitted by this email.<<image/gif>>
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Nagios-users mailing list [email protected] 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
