We've moved 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

Nagios conditional checks

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

Nagios conditional checks

Postby EdwardSMaTeresa » Mon Mar 21, 2022 1:42 am


Currently I am monitoring my target windows hosts for a bunch of services (CPU, memory, disks, ssl certs, http etc). I'm using nsclient as the client that the nagios server will talk to.

My problem is that I deploy to those hosts three times every 24 hours. The deployment process requires the hosts to reboot. Whenever my hosts reboot I get nagios alerts for each service. This means a large volume of alerts, which makes it difficult to identify real issues.

Ideally I'd like to this:

If the host is down, don't send any alerts for the rest of the services
If the host is rebooting, this means that nsclient is not accessible. I want to only receive one alert (e.g CPU is not accessible) and mute everything else for a few minutes, so the host can finish booting and nsclient becomes available.
Implementing this would have me getting one email per host for each deployment. This is much better than everything turning red and me getting flooded with alerts that aren't worth checking (since they're only getting sent because the nagios client -nsclient- is not available during the reboot).

Got to love using a windows echatspin echatrandom stack...
Last edited by EdwardSMaTeresa on Tue Jul 12, 2022 6:33 am, edited 1 time in total.
Posts: 10
Joined: Mon Feb 14, 2022 6:10 am

Re: Nagios conditional checks

Postby cormansa » Thu Mar 24, 2022 7:05 am

If the downtime (reboot, installation) are planned, you can shedule a downtime from nagios web interface
Posts: 6
Joined: Wed Feb 09, 2022 5:54 am
Location: Belgium

Re: Nagios conditional checks

Postby shilongzop » Sat May 21, 2022 12:37 pm

i was also looking for it
Posts: 1
Joined: Fri May 20, 2022 11:57 am

Return to Community Support

Who is online

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