Is there a way to not report any of services running on a ho

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
covid19
Posts: 8
Joined: Mon May 18, 2020 5:14 am

Is there a way to not report any of services running on a ho

Post by covid19 »

hi,

Is there a way to not report any of services running on a host, while the host is down?

Thanks
pramod
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: Is there a way to not report any of services running on

Post by gormank »

Have a look at nagios.cfg. There should be a setting that tells things not to check services when a host is unreachable.
covid19
Posts: 8
Joined: Mon May 18, 2020 5:14 am

Re: Is there a way to not report any of services running on

Post by covid19 »

hello gormank ,

Thanks for your feedback.. as i i have already seen nagios.cfg but i could not understand which specific option to be use for this suppression.
there will great help if you suggest any particulate option in nagios.cfg. ?
Thanks
pramod
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Is there a way to not report any of services running on

Post by benjaminsmith »

HI,

I believe this is the setting you'd like to change.

Format: host_down_disable_service_checks=<0/1>
Example: host_down_disable_service_checks=1
This option will disable all service checks if the host is not in an UP state. While desirable in some environments, enabling this value can distort report values as the expected quantity of checks will not have been performed
https://assets.nagios.com/downloads/nag ... gmain.html
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
covid19
Posts: 8
Joined: Mon May 18, 2020 5:14 am

Re: Is there a way to not report any of services running on

Post by covid19 »

Thanks benjaminsmith,

we have done the changes.. but not yet test. will keep you update if its work.

thanks
Locked