Hi Dirk,

clustered services always display the best result from all nodes. If
your local check always outputs an OK (0) line on all nodes the first
one is taken as result for the clustered service...

Regards,
Marcel
Am Mi., 17. Okt. 2018 um 22:23 Uhr schrieb Dirk Laurenz <[email protected]>:
>
> Hello List,
>
>
>
> i figured out how to configure clustered service but i’m stuck on one detail.
>
> I want to display on the clustered server on which physical node it’s running 
> on, so i wrote a local script simply to echo the hostname.
>
> But check_mk seems to cache it, so it answer always only the contents of node 
> 1
>
>
>
> The script is really simple:
>
>
>
> root@pihole01:~# cat /usr/lib/check_mk_agent/local/check_pihole_host
>
> #!/bin/bash
>
> #
>
> #
>
> #
>
> echo "0 pihole_host - Running on: $(hostname)"
>
>
>
> it’s the same on both nodes…
>
> _______________________________________________
> omd-users mailing list
> [email protected]
> Manage your subscription or unsubscribe
> http://lists.mathias-kettner.de/mailman/listinfo/omd-users
_______________________________________________
omd-users mailing list
[email protected]
Manage your subscription or unsubscribe
http://lists.mathias-kettner.de/mailman/listinfo/omd-users

Reply via email to