Xymon Mailing List Archive search

Restarting failed processes on the client

list Thomas Kaehn
Wed, 11 Jul 2007 14:01:13 +0200
Message-Id: <user-739423780a15@xymon.invalid>

Hi,

it is possible to monitor processes using PROC statements
in hobbit-clients.cfg.

But is there also a proper way in Hobbit to take action on failed
processes? Let's say calling "sudo /etc/init.d/ssh start" in case no
sshd processes are found? Ideally configurable on the server (e.g. PROC
sshd ACTION=/etc/init.d/ssh start), so that the configuration which
processes to monitor and which process to restart does not need to be
specified twice.

Ciao,
Thomas
-- 
Thomas Kähn                   WESTEND GmbH  |  Internet-Business-Provider
Technik                       CISCO Systems Partner - Authorized Reseller
                              Im Süsterfeld 6          Tel 0241/701333-18
user-02a72cb3f725@xymon.invalid                D-52072 Aachen              Fax 0241/911879
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Die Gesellschaft ist eingetragen im Handelsregister Aachen unter HRB 7608
Geschäftsführer:           Thomas Neugebauer, Thomas Heller, Michael Kolb