Re: Monitoring services in cluster setup- Linux servers
Posted: Mon Jan 25, 2021 5:40 pm
Hi,
That is looking pretty good, but the last argument should have the format as follows.
The hostname and the service description in $ARG4$ need to be exact (case sensitive). The other thing to note is that this command will not work directly from the CLI due to the on-demand macros.
With a 1 in $ARG3$, you will get an alert if 2 or more services in the cluster are in a non-OK state. Let us know if you get working.
--Benjamin
That is looking pretty good, but the last argument should have the format as follows.
Code: Select all
ARG4$: $SERVICESTATEID:yourhost1:PING$,$SERVICESTATEID:yourhost2:PING$,$SERVICESTATEID:yourhost3:PING$, $SERVICESTATEID:yourhost4:PING$
With a 1 in $ARG3$, you will get an alert if 2 or more services in the cluster are in a non-OK state. Let us know if you get working.
--Benjamin