Icinga change ping check interval from service and http

icingaping

I have Icinga installed on a machine with the basic configuration and we just use the Host Status Detail screen with a big monitor only to know when a machine is down due to network/eletrical problems. But it takes too long to update the ping times (+1min).
I'd like to know how to decrease this ping time to 30 seconds to all machines (just 15 machines) and how to decrease the refresh display time from the webpage.

I did play with some values, mainly interval_length inside icinga.cfg (60 to 30) but with no effect.

Best Answer

interval_length is a global config item, you should not mess around with that.

if you really want to push values more often into the core, you should consider running that script by yourself, say in 30sec interval, pushing its results into the command pipe as passive check result - which is considered a workaround, but changing your host config object to passive checks only will work then. if your script fails somehow, make sure to enable freshness checks then.

that will be changed in icinga2 config format, which will understand different time formats (and seconds as well). but it's too soon to make promises here, though you can test the first tech preview as announced on icinga.org

Related Topic