Make services dependent upon Host availability?

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
AGray
Posts: 15
Joined: Wed May 29, 2013 1:34 pm

Make services dependent upon Host availability?

Post by AGray »

I have many hosts which I check, but what happens a lot is that my Host will show offline (and I notify via SMTP email) and then all the services send out notification and say stuff like:
Additional Info:
UNKNOWN: Error occurred while running the plugin. Use the verbose flag for more details.

How can I prevent that from happening, but just notify the Host down?
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Make services dependent upon Host availability?

Post by dwhitfield »

I believe you are looking for https://assets.nagios.com/downloads/nag ... ncies.html. There are diagrams and examples in that document for various ways to set things up.

In case you run into trouble, what version of Core are you using? Was it compiled from source or installed from distro repos? What OS/version are you using? cat /etc/*-release should be helpful in getting version #s.

Please let us know if you run into any issues.
Locked