-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Werner Flamme [07.02.2012 15:18]:
> Thanks Martin, > > of course, this will work :-) The simplest solution is what I think > of last :-) > > But... well, the services are not switched over regularly, but only > in case of havoc :-\ Last time, it was a choking SAN/OCFS2 > connection... > I think I'll define another service 'addrwatch'. It will just be a bash script, watching for the IP address and modifying one file depending on the presence of the address. Then I might use a "check file foo with path /foo/bar -> if size == 8 B then exec "monit start dumbsvc" -> if size == 9 B then exec "monit stop dumbsvc". This might be more reliable than my own actions ;-) Regards, Werner -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8yogwACgkQk33Krq8b42MF9wCfXFqkAxVMZsH4BwQfO/LQAQq7 nN8An05VYXrm9+w02dw+8O3o1kY8yDQI =9DrY -----END PGP SIGNATURE----- -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
