Re: SNMPv3: two request needed to get response(msgAuth oritativeEngineTime)?

mike one <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization http://freemail.web.de/
Message-ID <[email protected]>
> -----Ursprüngliche Nachricht-----
> Von: "Dave Shield" <[email protected]>
> Gesendet: 22.04.09 10:51:24
> An: mike one <[email protected]>
> CC: "[email protected]" <[email protected]>
> Betreff: Re: SNMPv3: two request needed to get response(msgAuthoritativeEngineTime)?


> 2009/4/22 mike one <[email protected]>:
> > The question is how to configure my management application (NetSnmp on the RedHat server)
> > that after the first snmpget request all the following snmpget requests are authorized, without the need for another probe.
> > So that after first snmpget request (probe) the second and all following snmpget requests will be send with correct engineBoot/Time values.
> 
> If you are using separate "snmpget" shell commands for each request,
> then these will indeed be regarded as completely separate, and will
> probe for the boot/time values every time.
> 
> If you code this your management application as a single process,
> and use C-level calls to send the GET requests (using the same
> netsnmp_session structure), then this will remember and reuse
> the boot/time values.   Thus avoiding the re-probe.
> 
> 
> > Need snmpd to be run on the server for that ?
> 
> No - that is completely irrelevant.
> You are talking to the agent on the switch, not the agent on the local system.
> 
> 
> 
> > The switches supports snmpEnableAuthenTraps and suppress the generation of authenticationFailure notifications.
> > But that won't solve my case. It's still needed two snmpget requests to get response.
> 
> That's because you are throwing away the information from the first request,
> rather than keeping it for the second.
> 
> Use a single netsnmp_session structure to send both requests,
> and everything should be fine.
> 
> Dave
> 



Hi Dave,

> Use a single netsnmp_session structure to send both requests,
> and everything should be fine.

Where can I find this? Sorry for stupid question


I just thought that it can be adjusted with the aid of netsnmp tools inside, withot extra C-programming.
Means this that I can not use Nagios as monitoring server for the switches via SNMPv3, because 
Nagios uses external scripts (ex. check_snmp uses snmpget from NET-SNMP package) and have not a single process for all the time? 

Thanks!
mike

____________________________________________________________________
Psssst! Schon vom neuen WEB.DE MultiMessenger gehört? 
Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
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.