[ Sorry for the delay in responding to this ] > I just happened to notice 'logmatch' listed in the MIB; I'm intrigued > (if it does what I think), but there's no doc - can anyone shed some > light on it, short of me just grubbing through the code?
You're quite correct - there doesn't seem to be any documentation for this (other than the definitions in the MIB file). If you were able to offer something suitable, that would be extremely useful. The code to implement this is in the file 'agent/mibgroup/ucd-snmp/logmatch.c', and there appears to be an snmpd.conf directive: logmatch {name} {path} {cycletime} {regex} My guess is that: name = an identifying token (probably arbitrary) path = the full filename of the logfile cycletime = how frequently to check the file for potentially matching entries regex = the pattern to monitor the log for But you'd probably have to do some experimentation to determine exactly how this works in practise. If you do manage to come up with something suitable, please do let us have a copy so that we can update the documentation. Dave ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ 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