[AGENT++] About trap

Fedja Jeleskovic mrawd2 at gmail.com
Fri Apr 22 22:22:35 CEST 2005


How about just creating a timer when the agent start and when it expires
just send your trap. Poling the value all the time just to get the right
interval is a vase of cycles...


Fedja

----- Original Message ----- 
From: "刘乾" <liuqian0909 at 163.com>
To: <agentpp at agentpp.org>
Sent: Wednesday, April 20, 2005 10:54 PM
Subject: [AGENT++] About trap


> Hello,
>
> I want to make my  agent send a  trap when it has been on for 30 minutes .
I add the snmpGroup mib . And I want to send the trap by judging the
variable sysuptime . Am I right? If I fetch  the value of the variable
sysuptime all the time ,it will affect the performance of  the agent. How
can I do?
>
> Could you give me some advice or some examples?
>
> Thanks in advance.
>
> yours,
> LiuQian




More information about the AGENTPP mailing list