Disable Notifications for New Hosts Until State Change

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

Disable Notifications for New Hosts Until State Change

Postby mr_samuel » Thu Dec 02, 2021 5:24 pm

I have a rather large environment that I monitor so I've automated my Nagios server to be updated and re-compiled daily to pickup new host changes in our DNS. It works very well; however, any new DNS entries for new devices that are not yet plugged into the network (actively pinging) send "host down" alerts, for obvious reasons.

I'm trying to think of a way to disable notifications on new hosts until they change to an "up" state. So then Nagios could still update daily, add those new hosts, but stay silent until there's a state change. I wouldn't mind even getting an alert saying a host has come online, it's just the initial host down alert I'm trying to do away with.

If anyone has done something like this and can share your experience that would help me out a lot.

Thx!
mr_samuel
 
Posts: 1
Joined: Thu Dec 02, 2021 5:11 pm

Re: Disable Notifications for New Hosts Until State Change

Postby gormank » Fri Dec 03, 2021 3:54 pm

You might add a step to not add hosts until they're reachable, or add them as inactive and only activate them until reachable. Or, you might want to create a file with a list of unreachable hosts that are waiting to be added so you don't lose track of them.
gormank
 
Posts: 932
Joined: Tue Dec 02, 2014 12:00 pm


Return to Community Support

Who is online

Users browsing this forum: Google [Bot] and 24 guests