Xymon Mailing List Archive search

Monitoring multiple Linux Processes

list Steve Mbs Newton
Wed, 2 Feb 2011 08:28:37 -0500
Message-Id: <user-945d5422fd1a@xymon.invalid>

This is what I see when I list the host servers:

HOST=Hostname1,Hostname2,Hostname3,Hostname4,Hostname5,Hostname6
       PROC netman
       PROC batchman
       PROC jobman

Results:

green netman (found 1, req. 1 or more)
green batchman (found 1, req. 1 or more)
green jobman (found 1, req. 1 or more)

This is what I see when I use PAGE/SUBPAGE

PAGE=infrastructure/noc
       PROC batchman
       PROC jobman
       PROC netman

Results:

green batchman (found 1, req. 1 or more)

From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
Sent: Tuesday, February 01, 2011 4:09 PM
To: xymon at xymon.com
Subject: Re: [xymon] Monitoring multiple Linux Processes

What he is asking for is if there is one proc column for each proc.  There is not.

The proc column for the host includes EVERY ps.  If any one ps goes down the color changes for that one column (proc).  You would need to make a script to monitor a ps and create another column.

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

On Tue, Feb 1, 2011 at 4:04 PM, Henrik Størner <user-ce4a2c883f75@xymon.invalid<mailto:user-ce4a2c883f75@xymon.invalid>> wrote:
In <user-f2c3b6b76d3f@xymon.invalid> "Newton, Steve (MBS)" <user-0f7bfdde23c1@xymon.invalid> writes:
               I'm trying to monitor multiple processes on Linux servers.
I would like to use Page/subpage like described in the
Hobbit-clients.cfg file, but it will only show one processes on the page for
each server. Here is a what I have in the file.
PAGE=infrastructure/noc
      PROC batchman
      PROC jobman
      PROC netman
Infrastructure is the page
Noc is the subpage.
XYMON only finds the first PROC.
I'm not sure what you mean by that:

* Does it only check for the first of those processes, so you have
 only one red/green "dot" on the detailed "procs" status display?
 There should be one red/green dot for each of the processes
 listed, e.g. like that on the demo site - see
 http://www.xymon.com/xymon-cgi/svcstatus.sh?HOST=voodoo.hswn.dk&SERVICE=procs

* Or does it check all of the processes, but only on the first
 host on the page ?


Regards,
Henrik