Dave,

Sorry - Just realised that I've responded to your private e-mail address 
by mistake and not the net-snmp-users list

Regards, 

Ali


Please consider the environment before printing this email

----- Forwarded by Ali Bruce/UKMAIN/MM1 on 04/10/2011 14:55 -----

From:
Ali Bruce/UKMAIN/MM1
To:
Dave Shield <d.t.shi...@liverpool.ac.uk>@MEXT
Date:
04/10/2011 10:22
Subject:
net-snmp-users


Bart, Dave,

I'm still a bit confused! In this case I am generating my trap from my 
Perl Sub Agent which is registered with the Master Agent via the Agent X 
protocol and responds to SNMP Get, Set and Get Next requests and will also 
be responsible for generating traps. My interpretation of Dave's statement 
below, is that in this situation the Agent should automatically generate 
the correct sysUpTime value :

If you are generating a trap from within the agent, then the SNMP engine 
that
generates the notification is the same engine that responds to GET 
requests.
So the sysUpTime value within the trap ought to match the value returned 
from
querying the agent.

>From Bart's statement below it is suggested that I can directly obtain the 
value of sysUpTime from my SubAgent - How do I obtain this from my Perl 
module?

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.

Regards, 

Ali






Please consider the environment before printing this email



-----------------------------------------------
This email and any attached files contains company confidential information 
which may be legally privileged.  it is intended only for the person(s) or 
entity to which it is addressed and solely for the purposes set forth therein.  
If you are not the intended recipient or have received this email in error 
please notify the sender by return, delete it from your system and destroy any 
local copies.  It is strictly forbidden to use the information in this email 
including any attachment or part thereof including copying, disclosing, 
distributing, amending or using for any other purpose.

In addition the sender excludes all liabilities (whether tortious or common 
law) for damage or breach arising or related to this email including but not 
limited to viruses and libel.

<<image/gif>>

<<image/gif>>

------------------------------------------------------------------------------
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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to