Re: add a forever process in agent

This is a discussion on Re: add a forever process in agent within the SNMP Users forums, part of the Networking and Network Related category; On Thu, 2005-09-22 at 16:56 +0800, Jim Su wrote: > I need to add a forever process ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-22-2005
Dave Shield
 
Posts: n/a
Default Re: add a forever process in agent

On Thu, 2005-09-22 at 16:56 +0800, Jim Su wrote:

> I need to add a forever process in my agent. This process periodically
> reads one particular directory and generates a list of data. That list is
> to be used by a var_ABCTable() function in my agent when a snmpwalk or
> snmpget request to this table is received.


Will the agent make any other use of this list?
In particular, if the agent doesn't receive any requests for this
table for a day or two, is it necessary to keep regenerating the
list all the time?


If not, then I suggest you look at using the cache helper to
generate this list "on demand".

If this is not possible (either because generating the list takes
too long, or because the data *is* needed for other purposes in
the meantime), then you can use 'snmp_alarm_register'
to specify a routine to run - either as a one-off, or regularly
(until it's explicitly cancelled).


Dave


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:26 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0