Duplicates traps

"Wesley Naves de Faria" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello,
  i´m use net-snmp 5.2.2 on Linux and i configured my snmpd.conf to send traps when some service down or up.

## Process
proc httpd
proc sshd
proc smbd
proc snmpd

##  Send trap when change state
monitor -u srvtrap -r 10 -o prNames -o prErrMessage "procTable" prErrorFlag != 0
monitor -u srvtrap -r 10 -o prNames -o prErrMessage "procTable" prErrorFlag == 0

But, when a service down the snmp send 2 traps identical informing the change status and when a service up the snmp send only 1 trap informing. 

Why this happens ? I need the when a service down send only on trap as when a service up.


-------------
Wesley Naves de Faria
Analista de suporte
FreeBSD/OpenBSD/Linux
AGANP - Agência Goiana de Administração Negócios Públicos
Contato: +55 (0XX62) 201-6582
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.