How can I have some hosts not show up in the alerts without making the services inactive?
We typically get a list of Windows hosts that need to be added to monitoring - we add them, but typically the firewall rules aren't in place to allow access to port 12489 until the host goes live.
So, those hosts are alerting for a few days (or if a project gets delayed, weeks). What is the best way of moving those hosts out of the monitoring dashboards without making the checks inactive?
Our initial way of thinking was to create a service group of pending and move the services to that service group, but the services are still alerting on the main dashboard.
Getting hosts to not show up on the dashboard
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Getting hosts to not show up on the dashboard
You could create service dependencies. Create a service that checks the NSClient++ version. If this service is down then all of the other services will not execute / notify.
If you have XI 5 then you can use the new nagios directive called host_down_disable_service_checks.
http://sites.box293.com/nagios/guides/c ... -intervals
With all of these options, once the host is down then these services will appear under the tactical overview as known on problem hosts. Because the serivces are still checking / failing while the host max_retries are preformed, you will still some failed service objects that won't alert, but will have a critical status.
Does that info help?
If you have XI 5 then you can use the new nagios directive called host_down_disable_service_checks.
- It’s best described as automatic service dependencies on their own hosts.
System wide setting, this applies across the board, it is not granular.
Define in /usr/local/nagios/etc/nagios.cfg
host_down_disable_service_checks=1
Can also be defined via CCM > Advanced > Nagios Core Main Config
Restart nagios monitoring engine or Apply Configuration for setting to take effect
Can reduce the load on the XI host as plugins will not be executed if this host is down.
Keep in mind that if the host is down then any defined service dependencies will be ignored.
http://sites.box293.com/nagios/guides/c ... -intervals
With all of these options, once the host is down then these services will appear under the tactical overview as known on problem hosts. Because the serivces are still checking / failing while the host max_retries are preformed, you will still some failed service objects that won't alert, but will have a critical status.
Does that info help?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Getting hosts to not show up on the dashboard
That helps!
We haven't migrated to XI v5 yet, but plan on doing so in the February time frame (this is our busy time of the year).
Thanks!
We haven't migrated to XI v5 yet, but plan on doing so in the February time frame (this is our busy time of the year).
Thanks!
Re: Getting hosts to not show up on the dashboard
Sounds good. I will leave this thread open for now, feel free to post back in a couple months when you migrate to XI 5!
Former Nagios Employee