Re: Trying to get snmp alert from Net-SNMP 5.4.1
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 24/01/2008, [email protected] <[email protected]> wrote: > We are trying to get an SNMP alert from a logMatch entry we have in our > snmpd.conf file. We are running on solaris 10 utilizing Net-SNMP version > 5.4.1. Try running the agent using snmpd -f -Le -Ddisman That should give you some debugging output about the internal queries, etc > Here is a copy of our snmpd.conf file. > trapsink 172.24.3.48 public 162 > trapsink tnoca2 > trap2sink tnoca2 > informsink tnoca2 Do you really want *three* copies of every notification sent to the host 'tnoca2' ? (As well as the trap sent to 172.24.3.48) > createUser _internal MD5 "the first sign of madness" > iquerySecName _internal > rouser _internal > > defaultMonitors yes > monitor -o logMatchName -o logMatchErrorFlag "logMatchTable" logMatchErrorFlag != 0 > logmatch test /apps/net-snmp/share/snmp/snmpd.conf 60 Com* > logmatch Secondtest /etc/hosts 10 lu* > logmatch Thirdtest /var/adm/messages 60 failed That looks OK to me. What does walking the logMatchTable display? Dave ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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