<div>Hi</div>
<div>thanks for your input.But the port was actually down.Bt i want notification saying that port is down rather than snmp unable to collect data</div>
<div> </div>
<div>So is any extra parameter such as -s /-r is required in my check_snmp command.<br><br></div>
<div class="gmail_quote">On Tue, May 20, 2008 at 1:42 PM, Hugo van der Kooij <<a href="mailto:hvdkooij@vanderkooij.org">hvdkooij@vanderkooij.org</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">-----BEGIN PGP SIGNED MESSAGE-----<br>Hash: SHA1<br>
<div>
<div></div>
<div class="Wj3C7c"><br>Michael Mukherji wrote:<br>| Hello list<br>|<br>| I am using nagios 3.0.I am having problem in getting notification for<br>| any port down in my router.I am using snmp to collect data.<br>|<br>| define service{<br>
| use            generic-service    ; Inherit values from a template<br>| host_name        hongkong-gw1<br>| service_description    Port 10 descr adminstatus operstatus<br>| check_command        check_snmp! -C public -o<br>
| ifDescr.14,ifAdminStatus.14,ifOperStatus.14<br>|<br>| this gives me output<br>|<br>| SNMP OK - Serial0/0 up(1) up(1) "FTIL1566 Connection to Londonpop-gw1<br>| Ser0/3"<br>|<br>| now when the  port goes down , i recieve messege saying SMNP data not<br>
| recieved from host , problem unknown.but i want that it should give me<br>| messege that the port is down.<br>|<br>| is there anything i need to change in the above check_snmp command?<br><br></div></div>No. You need to get another router. Cisco in their infinite wisdom will<br>
give odd results on some interfaces if they are down. I have seen cases<br>where the interface is there if it's up but when it's down the interface<br>is gone as far as SNMP is concerned.<br><br>I suggest you open a supprt ticket with Cisco on this odd behaviour.<br>
It's their problem and they need to fix it.<br><br>Hugo.<br><br>- --<br><a href="mailto:hvdkooij@vanderkooij.org">hvdkooij@vanderkooij.org</a>               <a href="http://hugo.vanderkooij.org/PGP/GPG" target="_blank">http://hugo.vanderkooij.org/<br>
PGP/GPG</a>? Use: <a href="http://hugo.vanderkooij.org/0x58F19981.asc" target="_blank">http://hugo.vanderkooij.org/0x58F19981.asc</a><br><br>       A: Yes.<br>       >Q: Are you sure?<br>       >>A: Because it reverses the logical flow of conversation.<br>
       >>>Q: Why is top posting frowned upon?<br><br>Bored? Click on <a href="http://spamornot.org/" target="_blank">http://spamornot.org/</a> and rate those images.<br><br>-----BEGIN PGP SIGNATURE-----<br>Version: GnuPG v1.4.7 (GNU/Linux)<br>
<br>iD8DBQFIMofYBvzDRVjxmYERAu8sAJwKf81ROkyCpkcMsakPbXvjMCF5ygCbBkaG<br>cZ6DMrhKEhkQOx2lsTJbX7M=<br>=XGIN<br>-----END PGP SIGNATURE-----<br><br>-------------------------------------------------------------------------<br>
This SF.net email is sponsored by: Microsoft<br>Defy all challenges. Microsoft(R) Visual Studio 2008.<br><a href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/" target="_blank">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</a><br>
_______________________________________________<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br>