Re: sysUptime in traps sent via Perl

Bart Van Assche <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAO+b5-pTpu1w=NjFZ8fpAjV3sLgnq5RPO0QTj5EnmxjoAQf1Sg@mail.gmail.com>
On Thu, Sep 29, 2011 at 5:41 PM, <[email protected]> wrote:

> The odd thing is that if I do an snmp Get request on my Agent on sysUpTime
> the correct time ticks value is returned i.e how long my Master Agent has
> been running. The unusual timeticks value seems to be only occurring when
> sending Traps. I'm a bit confused that the two values are so different.
>

What the Perl SNMP module does is to include the time elapsed since system
startup in a trap if the uptime has not been specified explicitly. If you
want that value to match the sysUptime of the SNMP agent on the same system,
I propose that you query that value before sending a trap.

Bart.

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2

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