Xymon Mailing List Archive search

"procs" checks are not working

4 messages in this thread

list Cayo de Moraes · Thu, 18 Jun 2009 09:19:17 +0200 ·
Well, after reading the Man Pages of the "hobbit-clients.cfg" I tried to
monitor some process in a Linux-Client.

I defined it in the hobbitclients.cfg some processes to check but i always
get a clear status wich the following message:
"Processes NOT ok"
I've been searching in the mailing list for a while, but i couldnt find a
solid solution to this problem. I saw something about the msg file in the
/hobbit/client/tmp/ path, but i couldnt follow that...

Do i have to do something else after puting the "PROC cron", etc.... into
the hobbitclients.cfg?


Thanks,
Cayo


ps: with my old BB-Clients it works perfectly.
list Wouter Schoot · Thu, 18 Jun 2009 09:29:23 +0200 ·
quoted from Cayo de Moraes
Cayo de Moraes wrote:
Well, after reading the Man Pages of the "hobbit-clients.cfg" I tried to monitor some process in a Linux-Client.

I defined it in the hobbitclients.cfg some processes to check but i always get a clear status wich the following message:


      "Processes NOT ok"


I've been searching in the mailing list for a while, but i couldnt find a solid solution to this problem. I saw something about the msg file in the /hobbit/client/tmp/ path, but i couldnt follow that...
  Thu Jun 18 09:28:26 CEST 2009 - Processes OK

green apache2 (found 3, req. 1 or more)
green bitlbee (found 2, req. 1 or more)
green clamd (found 1, req. 1 or more)
green cron (found 1, req. 1 or more)
green dovecot (found 2, req. 1 or more)
green exim4 (found 2, req. 1 or more)
green maradns (found 6, req. 1 or more)
green mysqld (found 3, req. 1 or more)
green ngircd (found 1, req. 1 or more)
green ntpd (found 1, req. 1 or more)
green sshd (found 3, req. 1 or more)
green zoneserver (found 4, req. 1 or more)


Using this in hobbit-clients.cfg:
HOST=tosca.sevenrooms.net
         PROC apache2
         PROC bitlbee
         PROC clamd
         PROC cron
         PROC dovecot
         PROC exim4
         PROC maradns
         PROC mysqld
         PROC ngircd
         PROC ntpd
         PROC sshd
         PROC zoneserver

Hope the example helps.

Wouter
list Cayo de Moraes · Thu, 18 Jun 2009 12:00:38 +0200 ·
ok thanks! ist working now!


Wouder, do you know what I have to do to hide the other (non monitored)
processes?

thanks again!


2009/6/18 Wouter Schoot <user-845758e8652b@xymon.invalid>
quoted from Cayo de Moraes
Cayo de Moraes wrote:
Well, after reading the Man Pages of the "hobbit-clients.cfg" I tried to
monitor some process in a Linux-Client.

I defined it in the hobbitclients.cfg some processes to check but i always
get a clear status wich the following message:


     "Processes NOT ok"


I've been searching in the mailing list for a while, but i couldnt find a
solid solution to this problem. I saw something about the msg file in the
/hobbit/client/tmp/ path, but i couldnt follow that...
 Thu Jun 18 09:28:26 CEST 2009 - Processes OK

green apache2 (found 3, req. 1 or more)
green bitlbee (found 2, req. 1 or more)
green clamd (found 1, req. 1 or more)
green cron (found 1, req. 1 or more)
green dovecot (found 2, req. 1 or more)
green exim4 (found 2, req. 1 or more)
green maradns (found 6, req. 1 or more)
green mysqld (found 3, req. 1 or more)
green ngircd (found 1, req. 1 or more)
green ntpd (found 1, req. 1 or more)
green sshd (found 3, req. 1 or more)
green zoneserver (found 4, req. 1 or more)


Using this in hobbit-clients.cfg:
HOST=tosca.sevenrooms.net
       PROC apache2
       PROC bitlbee
       PROC clamd
       PROC cron
       PROC dovecot
       PROC exim4
       PROC maradns
       PROC mysqld
       PROC ngircd
       PROC ntpd
       PROC sshd
       PROC zoneserver

Hope the example helps.

Wouter

list Wouter Schoot · Thu, 18 Jun 2009 12:13:24 +0200 ·
quoted from Cayo de Moraes
Cayo de Moraes wrote:
Wouder, do you know what I have to do to hide the other (non monitored) processes?
Sorry, no clue. I do know there's HIDEHTTP which does what you want for the HTTP tests. I couldn't find HIDEPROC however, but I'm running 4.2 so it might have been added later on, but I doubt it.

Wouter