Re: Agent is down

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2008/4/25 Renju Mathew <[email protected]>:
> I used net-snmp API 's wrote an snmpset function…
>
> In the case of server (snmp-agent) down or unknown server , how can I check
> the agent status, before I send the PDU ??

By sending a GET request?


> I'm getting the time out response from "snmp_synch_response" function. Is
> there any way to know it before I send data ??

Not really, no.
The only way to find out if the agent is up, is to send a query.

Whether this is your SET request, or a preliminary GET request
is totally up to you.   But you're going to have to query it somehow.

Dave

-------------------------------------------------------------------------
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.