At 02:50 PM 06/07/2001, Greg Stein wrote:
>On Thu, Jun 07, 2001 at 09:43:24AM -0700, Ian Holsman wrote:
>>I was wondering if it would be usefull if there was some kind of
>>'status' hook which modules could implement to tell management apps
>>(mod_snmp/mod_status) what is going on inside of them.
>>
>>it would return an array name/value pairs, which the management
>>module could convert into a fancy table layout on the status page,
>>or a group of SNMP OID's this would allow a module designer not to
>>mess with mod_status, and maybe a way of getting the scoreboard
>>code out of mod_status
>
>The current design is for mod_status to *pull* the information when
>it is needed. Considering that pulling is *much* less frequent than
>status changes, this is much more efficient for the system. (a
>status hook is a *push*)n
It could be implemented as something that mod_status calls when it
needs the status. If it's done in the core, then any management app
could use it.
Something like ap_get_server_status(char **data, int *data_size);
which calls a server_status hook that modules that care about this
stuff can implement.
--
Greg Marr
[EMAIL PROTECTED]
"We thought you were dead."
"I was, but I'm better now." - Sheridan, "The Summoning"