Strange problem with nagios 3.0 for network device monitoring

Pallav.S.Gupta at relianceada.com Pallav.S.Gupta at relianceada.com
Wed May 21 09:59:25 CEST 2008


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080521/582fd936/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 6675 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080521/582fd936/attachment.gif>
-------------- next part --------------
-------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
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