I’ve been having some issues today with the Fast Ping Checking module. I had a device which was listed as a parent host alerting up and down constantly after enabling the Fast Ping checking across my network.
From looking into this it seems that it doesn’t respect the distributed_poller_group variable in the config.php file. Unlike the poller which just polls devices in it’s group, ping.php checks everything in the hosts database regardless of group.
For now I have bodged the problem by running ping.php -g [group-number] in the cron job.
Is this expected behaviour or is there a variable I’ve not set correctly?
If I just add the following line to ping.php it would work I’m not sure if this is already added somewhere else.
rrdtool_initialize();
$groups = [$config[‘distributed_poller_group’]];
PingCheck::dispatch($groups);
rrdtool_close();