We're moving to a new support system!

The Nagios Answer Hub is a place where you can get help with technical questions from our experts. There, you can quickly open tickets and join discussion boards.

Request Nagios Answer Hub access here: https://info.nagios.com/answer-hub-access-new-users

After completing the access form, you will be given access to a portal where new tickets can be created. We will keep the old customer forum sections and ticket system available for current cases to be resolved.

Go to the Answer Hub

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.

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.
Posts: 989
Joined: Tue Dec 02, 2014 12:00 pm

Return to Community Support

Who is online

Users browsing this forum: No registered users and 27 guests