Re: Hooks for implementation of audit log of system configuration changes?

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 16 April 2010 11:13, Omer Zak <[email protected]> wrote:
> Is there any standard mechanism to implement the functionality we need
> for audit logging?

Probably the simplest approach would be to insert a custom handler
into the handler chain, immediately before the final MIB-specific handler.

This could then invoke the MIB handler with an equivalent GET request,
save the results, and re-invoke the MIB handler with the appropriate SET
requests (remembering that this is a multi-pass procedure), and check
the return values.
   You could even issue another GET request following the final pass,
to check that the assignment has been applied successfully.

Have a look at the cache helper, which is probably the closest to
this in the existing code.

Dave

------------------------------------------------------------------------------
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.