Xymon Mailing List Archive search

hobbit procs monitoring not work for me.

4 messages in this thread

list Robert P McGraw · Tue, 1 Apr 2008 15:41:31 -0400 ·
Linux peano.math.purdue.edu 2.6.9-67.0.1.ELsmp #1 SMP Fri Nov 30 11:57:43
EST 2007 x86_64 x86_64 x86_64 GNU/Linux running HOBBIT V4.2.0

This is my first linux hobbit configuration and for the most part things
seem to be working ok. 

One problem that I am having is that "procs" does not seem to be monitoring
my list of PROCS listed in hobbit-client.cfg. Below is the Linux host that
is listed in hobbit-client.cfg.  

HOST=hostx.math.purdue.edu
        UP 30m
        LOAD 6.0 10.0
        DISK    * 90 95
        PROC in.telnetd 0 0
        PROC dhcpd 1 1
        PROC sendmail 0 0
        PROC sshd 1 -1
        PROC syslogd  1 1

If I click on the "procs" icon for hostx I do get the ps listing as follows
and I also get "Process NOT ok".

	Tue Apr 1 15:29:21 EDT 2008 - Processes NOT ok

	clear No process checks defined

	PID  PPID USER      STARTED S PRI %CPU     TIME %MEM  RSZ   VSZ CMD
   	1     0 root       Mar 11 S  23  0.0 00:00:04  0.0  548  4756 init
[5]                                          
    	2     1 root       Mar 11 S 139  0.0 00:00:00  0.0    0     0
[migration/0]
  	3     1 root       Mar 11 S   5  0.0 00:00:00  0.0    0     0
[ksoftirqd/0]
	4     1 root       Mar 11 S 139  0.0 00:00:00  0.0    0     0
[migration/1]
   	5     1 root       Mar 11 S   5  0.0 00:00:00  0.0    0     0
[ksoftirqd/1]
     6     1 root       Mar 11 S 139  0.0 00:00:00  0.0    0     0
[migration/2]
     7     1 root       Mar 11 S   5  0.0 00:00:00  0.0    0     0
[ksoftirqd/2]

Since I seem to be getting the ps I assume that the server is getting the
necessary data to monitor the listed PROCS.

Any ideas why the monitoring is not working? Any suggestions on how I can
track down the problem?

Thanks


Robert


Robert P. McGraw, Jr.
Manager, Computer System                 EMAIL: user-33cf07af04dd@xymon.invalid
Purdue University                         ROOM: MATH-807
Department of Mathematics                PHONE: (XXX) XXX-XXXX
XXX N. University Street                                               
West Lafayette, IN XXXXX-XXXX
list Steve Holmes · Tue, 1 Apr 2008 15:59:08 -0400 ·
Robert,I'm not sure this will make any difference at all on your PROC
problem, but assuming your DISK line means "all disks" you might need a %
before the *. Or you might just want to take the DISK line out since 90/95
is the default for all disks unless told otherwise.

Steve.
ITaP/TLT/Unix Systems Adminsitration
quoted from Robert P McGraw

On Tue, Apr 1, 2008 at 3:41 PM, McGraw, Robert P <user-33cf07af04dd@xymon.invalid> wrote:
Linux peano.math.purdue.edu 2.6.9-67.0.1.ELsmp #1 SMP Fri Nov 30 11:57:43
EST 2007 x86_64 x86_64 x86_64 GNU/Linux running HOBBIT V4.2.0

This is my first linux hobbit configuration and for the most part things
seem to be working ok.

One problem that I am having is that "procs" does not seem to be
monitoring
my list of PROCS listed in hobbit-client.cfg. Below is the Linux host that
is listed in hobbit-client.cfg.

HOST=hostx.math.purdue.edu
       UP 30m
       LOAD 6.0 10.0
       DISK    * 90 95
       PROC in.telnetd 0 0
       PROC dhcpd 1 1
       PROC sendmail 0 0
       PROC sshd 1 -1
       PROC syslogd  1 1

If I click on the "procs" icon for hostx I do get the ps listing as
follows
and I also get "Process NOT ok".

       Tue Apr 1 15:29:21 EDT 2008 - Processes NOT ok

       clear No process checks defined

       PID  PPID USER      STARTED S PRI %CPU     TIME %MEM  RSZ   VSZ CMD
       1     0 root       Mar 11 S  23  0.0 00:00:04  0.0  548  4756 init
[5]
       2     1 root       Mar 11 S 139  0.0 00:00:00  0.0    0     0
[migration/0]
       3     1 root       Mar 11 S   5  0.0 00:00:00  0.0    0     0
[ksoftirqd/0]
       4     1 root       Mar 11 S 139  0.0 00:00:00  0.0    0     0
[migration/1]
       5     1 root       Mar 11 S   5  0.0 00:00:00  0.0    0     0
[ksoftirqd/1]
    6     1 root       Mar 11 S 139  0.0 00:00:00  0.0    0     0
[migration/2]
    7     1 root       Mar 11 S   5  0.0 00:00:00  0.0    0     0
[ksoftirqd/2]

Since I seem to be getting the ps I assume that the server is getting the
necessary data to monitor the listed PROCS.

Any ideas why the monitoring is not working? Any suggestions on how I can
track down the problem?

Thanks
Robert

list Josh Luthman · Tue, 1 Apr 2008 16:20:10 -0400 ·
Is the default statement above that specific host's configuration?
quoted from Steve Holmes


On 4/1/08, McGraw, Robert P <user-33cf07af04dd@xymon.invalid> wrote:
Linux peano.math.purdue.edu 2.6.9-67.0.1.ELsmp #1 SMP Fri Nov 30 11:57:43
EST 2007 x86_64 x86_64 x86_64 GNU/Linux running HOBBIT V4.2.0

This is my first linux hobbit configuration and for the most part things
seem to be working ok.

One problem that I am having is that "procs" does not seem to be monitoring
my list of PROCS listed in hobbit-client.cfg. Below is the Linux host that
is listed in hobbit-client.cfg.

HOST=hostx.math.purdue.edu
        UP 30m
        LOAD 6.0 10.0
        DISK    * 90 95
        PROC in.telnetd 0 0
        PROC dhcpd 1 1
        PROC sendmail 0 0
        PROC sshd 1 -1
        PROC syslogd  1 1

If I click on the "procs" icon for hostx I do get the ps listing as follows
and I also get "Process NOT ok".

	Tue Apr 1 15:29:21 EDT 2008 - Processes NOT ok

	clear No process checks defined

	PID  PPID USER      STARTED S PRI %CPU     TIME %MEM  RSZ   VSZ CMD
   	1     0 root       Mar 11 S  23  0.0 00:00:04  0.0  548  4756 init
[5]
    	2     1 root       Mar 11 S 139  0.0 00:00:00  0.0    0     0
[migration/0]
  	3     1 root       Mar 11 S   5  0.0 00:00:00  0.0    0     0
[ksoftirqd/0]
	4     1 root       Mar 11 S 139  0.0 00:00:00  0.0    0     0
[migration/1]
   	5     1 root       Mar 11 S   5  0.0 00:00:00  0.0    0     0
[ksoftirqd/1]
     6     1 root       Mar 11 S 139  0.0 00:00:00  0.0    0     0
[migration/2]
     7     1 root       Mar 11 S   5  0.0 00:00:00  0.0    0     0
[ksoftirqd/2]

Since I seem to be getting the ps I assume that the server is getting the
necessary data to monitor the listed PROCS.

Any ideas why the monitoring is not working? Any suggestions on how I can
track down the problem?

Thanks


Robert


Robert P. McGraw, Jr.
Manager, Computer System                 EMAIL: user-33cf07af04dd@xymon.invalid
Purdue University                         ROOM: MATH-807
Department of Mathematics                PHONE: (XXX) XXX-XXXX
XXX N. University Street
West Lafayette, IN XXXXX-XXXX

-- 

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

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Robert P McGraw · Tue, 1 Apr 2008 17:52:33 -0400 ·
I see the errors of my ways. It had to do with my misunderstanding of client
and server when I ran the configure.client script. I was answering client
when I should have been answering server, the default. 

When I noticed the 127.0.0.1 at the beginning of the tmp/msg file I realized
I had done something wrong. 

Once I resolve this problem it is working great.

Thanks to all who responded.

Robert
quoted from Josh Luthman

-----Original Message-----
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
Sent: Tuesday, April 01, 2008 4:20 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] hobbit procs monitoring not work for me.


Is the default statement above that specific host's configuration?


On 4/1/08, McGraw, Robert P <user-33cf07af04dd@xymon.invalid> wrote:
Linux peano.math.purdue.edu 2.6.9-67.0.1.ELsmp #1 SMP Fri Nov 30
11:57:43
EST 2007 x86_64 x86_64 x86_64 GNU/Linux running HOBBIT V4.2.0

This is my first linux hobbit configuration and for the most part things
seem to be working ok.

One problem that I am having is that "procs" does not seem to be
monitoring
my list of PROCS listed in hobbit-client.cfg. Below is the Linux host
that
is listed in hobbit-client.cfg.

HOST=hostx.math.purdue.edu
        UP 30m
        LOAD 6.0 10.0
        DISK    * 90 95
        PROC in.telnetd 0 0
        PROC dhcpd 1 1
        PROC sendmail 0 0
        PROC sshd 1 -1
        PROC syslogd  1 1

If I click on the "procs" icon for hostx I do get the ps listing as
follows
and I also get "Process NOT ok".

	Tue Apr 1 15:29:21 EDT 2008 - Processes NOT ok

	clear No process checks defined

	PID  PPID USER      STARTED S PRI %CPU     TIME %MEM  RSZ   VSZ CMD
   	1     0 root       Mar 11 S  23  0.0 00:00:04  0.0  548  4756
init
[5]
    	2     1 root       Mar 11 S 139  0.0 00:00:00  0.0    0
0
[migration/0]
  	3     1 root       Mar 11 S   5  0.0 00:00:00  0.0    0     0
[ksoftirqd/0]
	4     1 root       Mar 11 S 139  0.0 00:00:00  0.0    0     0
[migration/1]
   	5     1 root       Mar 11 S   5  0.0 00:00:00  0.0    0     0
[ksoftirqd/1]
     6     1 root       Mar 11 S 139  0.0 00:00:00  0.0    0     0
[migration/2]
     7     1 root       Mar 11 S   5  0.0 00:00:00  0.0    0     0
[ksoftirqd/2]

Since I seem to be getting the ps I assume that the server is getting
the
necessary data to monitor the listed PROCS.

Any ideas why the monitoring is not working? Any suggestions on how I
can
track down the problem?

Thanks


Robert


Robert P. McGraw, Jr.
Manager, Computer System                 EMAIL: user-33cf07af04dd@xymon.invalid
Purdue University                         ROOM: MATH-807
Department of Mathematics                PHONE: (XXX) XXX-XXXX
XXX N. University Street
West Lafayette, IN XXXXX-XXXX

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

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer