Re: Net-SNMP (ASAP)

"Roy M. Silvernail" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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.
-- 
Roy M. Silvernail is [email protected], and you're not
   "A desperate disease requires a dangerous remedy."
                   - Guy Fawkes
            http://www.rant-central.com


-------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.