RE: Net-SNMP (ASAP)
"Mike Ayers" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <83E753BE7B6A324ABB336245BAF1DAAC084AF5F3@mailserver.metatv-ds.metatv.com> |
> From: [email protected] > [mailto:[email protected]] On > Behalf Of Roy M. Silvernail > Sent: Wednesday, April 09, 2008 10:18 AM > On Wed, Apr 09, 2008 at 11:26:57AM -0500, Umesh Kamath wrote: > > Dave, > > We need SNMP ping monitor tool to check whether a node is > SNMP enabled or > > not and also to check connectivity of agent. > > How about > > snmpget -v 2c -c public {target host} SNMPv2-MIB::sysObjectID.0 > > for an SNMP ping? If you get a response to that, your target is > SNMP-enabled (version 2c, anyway) and responsive. Back it up with a > call to the v1 style if you are monitoring a mixed-version > installation. Better yet is to do a get-next on .1.3. If you cannot connect, there is no SNMP engine. If you get end-of-MIB, there is an engine, but either it is not hosting any MIBs or you do not have the correct credentials or community. After that, check the for the system MIB, capabilities, and so on. HTH, Mike ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users