Adding the ability to use multiple poller groups for a poller.

This commit is contained in:
Louis Rossouw
2015-06-22 12:37:00 +02:00
parent 35f784cfde
commit 7f3f942e83
4 changed files with 28 additions and 6 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ if (isset($options['g']) && $options['g'] >= 0) {
array_shift($argv);
array_unshift($argv, $cmd);
$poller_group = $options['g'];
} elseif ($config['distributed_poller_group'] > 0 && $config['distributed_poller'] === TRUE) {
} elseif ($config['distributed_poller'] === TRUE) {
$poller_group = $config['distributed_poller_group'];
}