Dear, all !
I've got a problem to check the pidfile of a process ..
The pidfile has got the name inclusive his own hostname,
but unfortunatley monit didn't resolve this variable ...
[it-hobbit3] /etc/monit.d # cat check_hobbit
check process hobbit with pidfile
'/usr/lib/hobbit/client/logs/clientlaunch.$HOST.pid'
start program = "/etc/init.d/hobbit-client start"
stop program = "/etc/init.d/hobbit-client stop"
alert [EMAIL PROTECTED]
In my logfile is written
[CEST Aug 28 22:04:39] debug : monit: pidfile
'/usr/lib/hobbit/client/logs/clientlaunch.$HOST.pid' does not exist
What can i do ?
Cheers,
Martin
P.S.: I've used $HOST and $HOSTNAME with the same result ...
______________________________________________________
Martin Flemming
DESY / IT office : Building 2b / 008a
Notkestr. 85 phone : 040 - 8998 - 4667
22603 Hamburg mail : [EMAIL PROTECTED]
______________________________________________________
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general