Passive check spam

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
jdcassin
Posts: 2
Joined: Thu Oct 02, 2014 4:22 pm

Passive check spam

Post by jdcassin »

Hi everybody!

This is my first time posting something here.
Im having a Nagios problem. Im sending traps from a power Generator to Nagios and then sending notifications. I use passive checks because I use external commands.
Everything is working fine and Nagios understand traps and send notifications, the problem is sometimes Generator sends more than 1 trap in less than 5 seconds and it gets anoying when it keeps sending alerts (if generator sends 1 trap in a minute ill get 1 notification, if generator sends 100 traps a minute, ill get 100 notifications), I want to know if there is a way to tell nagios not to send lots of passive checks notifications. With Active checks everything is fine, the problem is: passive checks.
If anyone can help, Ill appreciate.

Cheers!
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Passive check spam

Post by Box293 »

I think you have defined these services as volatile.

Code: Select all

is_volatile			1
Try setting it to 0 and it should only send 1 notification when 100 traps are received in a short window.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked