Can we suppress null alerts

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
shirishlnx
Posts: 17
Joined: Mon Mar 19, 2012 5:10 am

Can we suppress null alerts

Post by shirishlnx »

Hi,

Am getting lots of notification from Nagios as Additional Info:"null" .

Is there any way we can suppress it at Nagios level .

Version : Nagios® Core™ 3.2.3 running on suse 11

--Shirish Shukla
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Can we suppress null alerts

Post by jsmurphy »

Need more information... why are you getting that message? From what? All services, some services, one specific service?
shirishlnx
Posts: 17
Joined: Mon Mar 19, 2012 5:10 am

Re: Can we suppress null alerts

Post by shirishlnx »

We have large setup and because of high load and sometime communication probs we are getting large number of null notifications ..

Am expecting if Nagios have any functionality to stop this specific alert to get notified .

Thanks.
Shirish Shukla
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Can we suppress null alerts

Post by jsmurphy »

Sounds to me like your solution should be to improve the scalability of your Nagios installation (offloading the database, using ramdisk, minimizing intensive checks, ensuring large installation tweaks are enabled and even using DNX if none of the above alleviates your issue).

If you just want to take the quick fix however, you would create a wrapper script for your notification command that before notifying checks for a null value and will suppress it. Nagios doesn't have any inbuilt functionality to rationalise description text, it only cares about the state.
Locked