Hi All,
Can anyone help me out with this?
Thanks,
Leigh
From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: file monitoringDate: Thu, 18 Oct
2007 23:21:05 +0100
Hi All,I've been trying to get SNMP file monitoring implemented, but I've been
unsuccessful so far. The ideal situation is that once a file size is larger
than the specified threshold, a SNMP trap is sent to the monitoring software
(OpsView in this case). Currently the pertinent sections if my snmpd.conf file
are:<begin snmpd.conf>agentSecName internalrouser internaldefaultMonitors
yesfile "/var/lib/mysql/Syslog/SystemEvents.MYD" 657000</end snmpd.conf>Is
there anything else I need to include to enable an SNMP trap to be sent? Even
though the file size is beyond the specified "657000", when I do an "snmpget"
on the value, it returns a "0":[EMAIL PROTECTED] ~]$ snmpget -v 2c -c public
localhost 1.3.6.1.4.1.2021.15.1.3.1UCD-SNMP-MIB::fileSize.1 = INTEGER: 0
kBSince I've only configured one file to monitor, doing an snmpget for a second
file returns:[EMAIL PROTECTED] ~]$ snmpget -v 2c -c public localhost
1.3.6.1.4.1.2021.15.1.3.2UCD-SNMP-MIB::fileSize.2 = No Such Instance currently
exists at this OIDso I think I'm on the right track. If anyone has any ideas
or suggestions regarding my configuration, it would be much
appreciated.Regards,Leigh
Play Movie Mash-up and win BIG prizes!
_________________________________________________________________
100’s of Music vouchers to be won with MSN Music
https://www.musicmashup.co.uk
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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