> >>>>> On Wed, 24 Aug 2011 15:30:54 +0200, Michael Schwartzkopff 
<[email protected]> said:
> MS> No comments on this problem?
> 
> Unfortunately, many of us simply don't have the time to respond daily
> with free advice.  I just happened to read the list (finally) today,
> which is the day you posted your above question.  Sometimes you just
> need to be patient.
> 
> MS> 3) Manager -> Agent
> MS> get-request for the OID
> MS> msgAuthoritativeEngineID is the one from the agent.
> MS> msgAuthoritativeEngineBoots is equal to the number in packet 2)
> MS> msgAuthoritativeEngineTime is 3437939
> 
> MS> the time differs the the time of the agent by 87965 seconds, which
> MS> is roughly 24,4 hours.
> 
> MS> Any idea why my manager uses a different time than the one reported by
> the MS> Agent?
> 
> Wow, no, not if it is our management stack too.  It should be using a
> correct seconds value, except for one of a few possible possibilities:
> 
> 1) the clocks are indeed off, but he manager should resync assuming not
>    hugely off.
> 2) If there is an engineID conflict somewhere on the network such that
>    two agents have the same engineID, this could happen as well.  This
>    is very very bad (TM) and needs to be fixed.
> 
> After that, you probably need to point a debugger at the library.

I finally found some time to debug the problem a little bit further.

When I do a snmpget I see 6 packets in the line:
1) Manager -> Agent: Please give me your EngineID
2) Agent -> Manager: Here is my EngineID
3) Manager -> Agent: Please give me your boots and time since last boot.
4) Agent -> Manager: Here are my boots and time since last boot.
5) Manager -> Agent: Please give the the value of the OID.
6) Agent -> Manager: Here you are.

In the erratic case the manager does not wait for the 4th paket, but sends in 
the 3rd packet already the correct (!) boot number but the wrong time since 
last boot.

Does net-snmp store the EngineID together with boots and time since last boot 
of the agents somewhere?

Greetings,

-- 
Dr. Michael Schwartzkopff
Guardinistr. 63
81375 München

Tel: (0163) 172 50 98
Fax: (089) 620 304 13

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
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

Reply via email to