About on-demand check of host
Posted: Tue Jan 15, 2019 7:54 am
I use Nagios Core 4.3.2 with CentOS 7.3, and I am monitoring it with nagios. I would like to set the host's life / death monitoring to be on-demand checking rather than regular monitoring.
In the case of monitored targets that are active checking both host and service, only on-demand check of the host is working normally.
However, in the case of a monitored object that is active checking the host and passively checking the service, setting it as on-demand check of the host does not work well.
The setting difference of both host definitions is only the value of "event_handler_enabled", the former being set to "0" and the latter to "1".
What is the cause of this problem and how can I avoid it?
Also, what should I do if you want to monitor host death monitoring not only on a periodic basis but on the host only for on-demand checking?
Should it be set as follows?
----
check_interval = 0
active_checks_enabled = 1
----
Also, is there anything that the transition of status by passive monitoring does not trigger on-demand check of the host?
In the case of monitored targets that are active checking both host and service, only on-demand check of the host is working normally.
However, in the case of a monitored object that is active checking the host and passively checking the service, setting it as on-demand check of the host does not work well.
The setting difference of both host definitions is only the value of "event_handler_enabled", the former being set to "0" and the latter to "1".
What is the cause of this problem and how can I avoid it?
Also, what should I do if you want to monitor host death monitoring not only on a periodic basis but on the host only for on-demand checking?
Should it be set as follows?
----
check_interval = 0
active_checks_enabled = 1
----
Also, is there anything that the transition of status by passive monitoring does not trigger on-demand check of the host?