What the heck is all this about? Anybody can run the hook. You don't have to
do all the backflips you describe below.


On Tue, Jun 12, 2001 at 11:27:47AM -0700, Ian Holsman wrote:
>...
> > If these 2 questions are answered YES. It will create a problem
> > for management applications which are not HTTP-request based
> > and this solution will not work with SNMP.
> > 
> what about this scenario..
> 
> I am running a SNMP agent on the machine
> it has a 'GET' request for a OID.
> IF it is part of the server it would run the hook, otherwise it could grab the data 
>via HTTP
> and convert it to SNMP (ugly, but doable)
> 
> doing it via shared-mem outside of the server is a PITA,
> as    1. the SNMP has to know the structure
>       2. i would need to modify the SNMP agent if I want to monitor
>          something non-standard, or if I have a custom module
> 
> holding a global structure is also a pain
>       1. pointers in shared mem don't work, so I couldn't store pointers
>          to functions to execute to get the info
>       2. storing this is process-memory would be too much of a resource drain
>          as the structure would consume a bit of memory for each process
>       3. summary data couldn't be held, and would have to be generated by the
>          SNMP agent itself

-- 
Greg Stein, http://www.lyra.org/

Reply via email to