logmatchCount always null

2007-07-25 Thread pingouin osmolateur
Hi I use net-snmp-5.4-1 on rh el 5 and I use logmatch like this in my snmpd.conf logmatch drop /var/log/messages 5 .* monitor -r 5 -o logMatchName -o logMatchRegExCompilation "logmatch table" logMatchCounter != 0 But each time I ask for the logMatchCounter, it's equal to 0. Do you success use

RE : R: Re: help on snmpd.conf and monitor instruction

2007-07-20 Thread pingouin osmolateur
Do you use notificationEvent to send the trap monitored ? here is my configuration to monitor disk load notificationEvent diskTrap dskPath dskErrorMsg dskErrorFlag monitor -r 5 -e diskTrap -o dskPath "dskTable" dskErrorFlag != 0 Best regards AC --- "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> a éc

can't send any trap at real time

2007-07-19 Thread pingouin osmolateur
Hello every body I try to send trap at realtime so I use the following configuration with redhat el5 syslocation earth syscontact [EMAIL PROTECTED] pass .1.3.6.1.4.1.4413.4.1 /usr/bin/ucd5820stat authtrapenable 1 trapcommunity totototo trap2sink 192.168.2.8 createUser myuser MD5 myfirstpass

You must specify a default user name using the agentSecName token

2007-07-17 Thread pingouin osmolateur
Hi I use net-snmp-5.3.1 on a redhat el5 and i have a problem when i want to use snmptrap: I obtain folowwing error in the /var/log/message : Jul 17 17:31:33 x snmpd[2920]: /etc/snmp/snmpd.conf: line 460: Error: You must specify a default user name using the agentSecName token It's like :http