[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Variable for pidfile

From: Martin Flemming
Subject: Variable for pidfile
Date: Tue, 28 Aug 2007 22:09:09 +0200 (CEST)

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 
  start program = "/etc/init.d/hobbit-client start"
  stop  program = "/etc/init.d/hobbit-client stop"
  alert address@hidden

In my logfile is written

[CEST Aug 28 22:04:39] debug    : monit: pidfile 
'/usr/lib/hobbit/client/logs/clientlaunch.$' does not exist

What can i do ?



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   : address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]