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

Reply via email to