Check_Cluster returns different results UI vs Run Check CMD
Posted: Fri Jan 05, 2018 2:16 pm
Hello Support
I am trying to use check_cluster but I am getting errors in the output
the remote servers I am trying to reach can be reached by server IP. Check my configuration below on the service\command
$USER1$/check_cluster --service -l $ARG1$ -w $ARG2$ -c $ARG3$ -d $ARG4$
$ARG1$ - > "Genoa Email Service"
$ARG2$ - > 1
$ARG3$ - > 1
$ARG4$ - > "$SERVICESTATEID:10.110.2.1:Genoa Email Service$,$SERVICESTATEID:10.110.2.2:Genoa Email Service$"
When checking from Service Management " Run check command" - I get the following output successfull -
[[email protected] ~]$ /usr/local/nagios/libexec/check_cluster --service -l "Genoa Email Service" -w 1 -c 1 -d "$SERVICESTATEID:10.110.2.1:Genoa Email Service$,$SERVICESTATEID:10.110.2.2:Genoa Email Service$"
CLUSTER OK: Genoa Email Service: 2 ok, 0 warning, 0 unknown, 0 critical
When I apply changes and check the webui - I get an error
CLUSTER CRITICAL: Genoa Email Service: 0 ok, 0 warning, 2 unknown, 0 critical
Can someone help me solve this issue please?
Thanks
Imad
I am trying to use check_cluster but I am getting errors in the output
the remote servers I am trying to reach can be reached by server IP. Check my configuration below on the service\command
$USER1$/check_cluster --service -l $ARG1$ -w $ARG2$ -c $ARG3$ -d $ARG4$
$ARG1$ - > "Genoa Email Service"
$ARG2$ - > 1
$ARG3$ - > 1
$ARG4$ - > "$SERVICESTATEID:10.110.2.1:Genoa Email Service$,$SERVICESTATEID:10.110.2.2:Genoa Email Service$"
When checking from Service Management " Run check command" - I get the following output successfull -
[[email protected] ~]$ /usr/local/nagios/libexec/check_cluster --service -l "Genoa Email Service" -w 1 -c 1 -d "$SERVICESTATEID:10.110.2.1:Genoa Email Service$,$SERVICESTATEID:10.110.2.2:Genoa Email Service$"
CLUSTER OK: Genoa Email Service: 2 ok, 0 warning, 0 unknown, 0 critical
When I apply changes and check the webui - I get an error
CLUSTER CRITICAL: Genoa Email Service: 0 ok, 0 warning, 2 unknown, 0 critical
Can someone help me solve this issue please?
Thanks
Imad