Hobbitclient problem and Confreport problem

Francesco Duranti fduranti at q8.it
Wed Oct 19 13:14:06 CEST 2005


Hi all...
I'm starting to implement some checks on disks and process and i'm
getting some problems...
I'm running the yesterday snapshot on RHEL3 server and client.

>From what i see i have a problem with the ps -efw on the linux client,
it will display something more then ps -ef but i don't get the entire ps
rows... For example:
ps -ef
qmaild   22356  4850  0 Aug10 ?        00:02:29 /usr/local/bin/tcpserver
-v -R -
ps -efw
qmaild   22356  4850  0 Aug10 ?        00:02:29 /usr/local/bin/tcpserver
-v -R -l cl-mail -x /prodQ8/qmail/tcp/tcp.smtp.cdb-c 100 -
ps -ef --width=1000 
qmaild   22356  4850  0 Aug10 ?        00:02:29 /usr/local/bin/tcpserver
-v -R -l cl-mail -x /prodQ8/qmail/tcp/tcp.smtp.cdb-c 100 -u 49921 -g
41420 0 smtp /prodQ8/qmail/bin/qmail-smtpd
 
Another thing with confreport scripts.
In the hobbit-client.cfg file I have:

HOST=cl-mail
        PROC "%^qmail-send$" 1 1
        PROC "%/prodQ8/qmail/bin/qmail-smtpd" 1 1
        PROC "%/prodQ8/qmail/bin/qmail-qmqpd" 1 1
        DISK "/prodQ8/qmail" 5 10

HOST=itromclwb01
        PROC /usr/sbin/httpd 12 20
        PROC "Xvnccluster :99" 1
        DISK "/prodQ8/services" 20 30

DEFAULT
        # These are the built-in defaults.
        UP      1h
        LOAD    5.0 10.0
        DISK    * 90 95
        MEMPHYS 100 101
        MEMSWAP 50 80
        MEMACT  90 97

Getting the configreport of one of the itromclwb01 i get some strange
thing (it's possible that those are correct...): I don't get the limits
for the filesystems, i get only the default and the procs list is
somewhat unusable/unreadable... 

disk No -/-/- Default limits: Yellow 90% full, Red 95% full
			/prodQ8/services
			/prodQ8/qmail
			/boot
			/prodQ8/cups
			/root
			/prodQ8/squid

procs No -/-/- 
/usr/sbin/httpd (found 17, req. between 12 and 20)\n&green Xvnccluster
:99 (found 1, req. 1 or more)\n\nUID PID PPID C STIME TTY TIME CMD\nroot
1 0 0 Jul21 ? 00:01:00 init\nroot 2 0 0 Jul21 ? 00:00:00
[migration/0]\nroot 3 0 0 Jul21 ? 00:00:00 [migration/1]\nroot 4 0 0
Jul21 ? 00:00:00 [migration/2]\nroot 5 0 0 Jul21 ? 00:00:00
[migration/3]\nroot 6 1 0 Jul21 ? 00:00:00 [keventd]\nroot 7 1 0 Jul21 ?
00:00:00 [ksoftirqd/0]\nroot 8 1 0 Jul21 ? 00:00:00 [ksoftirqd/1]\nroot
9 1 0 Jul21 ? 00:00:00 [ksoftirqd/2]\nroot 10 1 0 Jul21 ? 00:00:00
[ksoftirqd/3]\nroot 13 1 0 Jul21 ? 00:00:00 [bdflush]\nroot 11 1 0 Jul21
? 00:01:32 [kswapd]\nroot 12 1 0 Jul21 ? 00:11:07 [kscand]\nroot 14 1 0
Jul21 ? 00:02:56 [kupdated]\nroot 15 1 0 Jul21 ? 00:00:00
[mdrecoveryd]\nroot 26 1 0 Jul21 ? 00:06:33 [kjournald]\nroot 85 1 0
Jul21 ? 00:00:00 [khubd]\nroot 669 1 0 Jul21 ? 00:00:00
[kjournald]\nroot 3734 1 0 Jul21 ? 00:00:13 syslogd -m 0\nroot 3738 1 0
Jul21 ? 00:00:00 klogd -x\nroot 3749 1 0 Jul21 ? 00:06:18
irqbalance\nrpc 3767 1 0 Jul21 ? 00:50:23 portmap\nrpcuser 3787 1 0
Jul21 ? 00:00:00 rpc.statd\nroot 3799 1 0 Jul21 ? 00:00:14 mdadm
--monitor --scan -f\nroot 3817 1 0 Jul21 ? 00:00:17 /sbin/auditd\nroot
3904 1 0 Jul21 ? 00:09:28 /usr/sbin/snmpd -s -l /dev/null -P
/var/run/snmpd -a\nroot 3914 1 0 Jul21 ? 00:03:05 /usr/sbin/sshd\nroot
3930 1 0 Jul21 ? 00:00:00 xinetd -stayalive -pidfile
/var/run/xinetd.pid\nntp 3947 1 0 Jul21 ? 00:03:42 ntpd -U ntp -p
/var/run/ntpd.pid -g\nroot 4267 1 0 Jul21 ? 00:00:01 gpm -t imps2 -m
/dev/mouse\nroot 4277 1 0 Jul21 ? 00:00:09 crond\nxfs 4309 1 0 Jul21 ?
00:00:00 xfs -droppriv -daemon\nroot 4328 1 0 Jul21 ? 09:48:35 Xvnc :1
-desktop ITROMLX101:1 (root) -httpd /usr/share/vnc/classes -auth
/root/.Xaut\nbea81 4354 1 0 Jul21 ? 07:45:21 Xvnc :2 -desktop
ITROMLX101:2 (bea81) -httpd /usr/share/vnc/classes -auth
/home/bea8\nroot 4356 1 0 Jul21 ? 00:16:05 vncconfig -iconic\nroot 4357
1 0 Jul21 ? 00:00:00 /bin/sh /usr/bin/startkde\nroot 4393 1 0 Jul21 ?
00:00:00 kdeinit: Running... \nroot 4396 1 0 Jul21 ? 00:00:00 kdeinit:
dcopserver --nosid\nroot 4399 1 0 Jul21 ? 00:00:42 kdeinit: klauncher
\nbea81 4402 1 0 Jul21 ? 00:00:00 vncconfig -iconic\nbea81 4403 1 0
Jul21 ? 00:00:00 /bin/sh /usr/bin/startkde\ndaemon 4437 1 0 Jul21 ?
00:00:01 /usr/sbin/atd\nroot 4449 1 0 Jul21 ? 08:01:05 kdeinit: kded
\nroot 4450 1 0 Jul21 ? 00:00:01 /usr/sbin/nsrexecd\nroot 4470 1 0 Jul21
? 00:00:00 rhnsd --interval 240\nroot 4473 4450 0 Jul21 ? 00:00:04
/usr/sbin/nsrexecd\nbea81 4497 1 0 Jul21 ? 00:00:00 kdeinit: Running...
\nbea81 4512 1 0 Jul21 ? 00:00:00 kdeinit: dcopserver --nosid\nbea81
4515 1 0 Jul21 ? 00:00:43 kdeinit: klauncher \nbea81 4525 1 0 Jul21 ?
07:11:15 kdeinit: kded \nroot 4834 1 0 Jul21 tty1 00:00:00
/sbin/mingetty tty1\nroot 4835 1 0 Jul21 tty2 00:00:00 /sbin/mingetty
tty2\nroot 4836 1 0 Jul21 tty3 00:00:00 /sbin/mingetty tty3\nroot 4837 1
0 Jul21 tty4 00:00:00 /sbin/mingetty tty4\nroot 4838 1 0 Jul21 tty5
00:00:00 /sbin/mingetty tty5\nroot 4839 1 0 Jul21 tty6 00:00:00
/sbin/mingetty tty6\nroot 4840 1 0 Jul21 ? 00:00:00 /bin/sh
/command/svscanboot\nroot 4844 4840 0 Jul21 ? 00:01:59 svscan
/service\nroot 4845 4840 0 Jul21 ? 00:01:27 readproctitle service
errors: ...100?tcpserver: status: 1/100?tcpserver: pid 15434 f\nroot
4846 4844 0 Jul21 ? 00:00:00 supervise qmail-qmtpd\nroot 4847 4844 0
Jul21 ? 00:00:00 supervise log\nroot 4848 4844 0 Jul21 ? 00:00:00
supervise qmail-send\nroot 4849 4844 0 Jul21 ? 00:00:00 supervise
log\nroot 4850 4844 0 Jul21 ? 00:00:00 supervise qmail-smtpd\nroot 4851
4844 0 Jul21 ? 00:00:00 supervise log\nroot 4852 4844 0 Jul21 ? 00:00:00
supervise httpd_prod_wli\nroot 4853 4844 0 Jul21 ? 00:28:19 supervise
cupsd\nroot 4854 4844 0 Jul21 ? 00:00:00 supervise httpd_sapdoc\nbea81
4877 4497 0 Jul21 ? 00:36:27 /usr/bin/artsd -F 10 -S 4096 -s 60 -m
artsmessage -l 3 -f\nroot 4878 4393 0 Jul21 ? 00:38:18 /usr/bin/artsd -F
10 -S 4096 -s 60 -m artsmessage -l 3 -f\nroot 4881 1 0 Jul21 ? 00:00:00
kdeinit: knotify \nbea81 4882 1 0 Jul21 ? 00:00:00 kdeinit: knotify
\nroot 4889 4357 0 Jul21 ? 00:01:57 kwrapper ksmserver\nbea81 4890 4403
0 Jul21 ? 00:01:47 kwrapper ksmserver\nroot 4893 1 0 Jul21 ? 00:00:00
kdeinit: ksmserver \nbea81 4894 1 0 Jul21 ? 00:00:00 kdeinit: ksmserver
\nroot 4896 4393 0 Jul21 ? 00:00:00 kdeinit: kwin \nbea81 4897 4497 0
Jul21 ? 00:00:00 kdeinit: kwin \nbea81 4901 1 0 Jul21 ? 00:51:55
kdeinit: kdesktop \nroot 4900 1 0 Jul21 ? 00:51:22 kdeinit: kdesktop
\nbea81 4904 1 0 Jul21 ? 00:52:32 kdeinit: kicker \nroot 4905 1 0 Jul21
? 03:41:01 kdeinit: kicker \nbea81 4906 4497 0 Jul21 ? 00:01:59 kdeinit:
kio_file file /tmp/ksocket-bea81/klauncherbeb23b.slave-socket
/tmp/ksocket-\nroot 4907 4393 0 Jul21 ? 00:01:53 kdeinit: kio_file file
/tmp/ksocket-root/klaunchersbbIxb.slave-socket /tmp/ksocket-r\nbea81
5029 1 0 Jul21 ? 00:00:00 kdeinit: kwrited \nroot 5031 1 0 Jul21 ?
00:00:00 kdeinit: kwrited \nbea81 5041 4497 0 Jul21 ? 00:01:55
pam-panel-icon\nroot 5040 4393 0 Jul21 ? 00:01:58 pam-panel-icon\nbea81
5071 4497 0 Jul21 ? 15:56:48 /usr/bin/python
/usr/bin/rhn-applet-gui\nroot 5070 4393 0 Jul21 ? 16:03:09
/usr/bin/python /usr/bin/rhn-applet-gui\nbea81 5081 4497 0 Jul21 ?
00:09:43 eggcups\nroot 5082 4393 0 Jul21 ? 00:09:45 eggcups\nbea81 5205
1 0 Jul21 ? 00:00:00 kalarmd --login\nroot 5206 1 0 Jul21 ? 00:00:00
kalarmd --login\nroot 5310 5040 0 Jul21 ? 00:01:29
/sbin/pam_timestamp_check -d root\nroot 5311 5041 0 Jul21 ? 00:01:25
/sbin/pam_timestamp_check -d root\nbea81 5354 1 0 Jul21 ? 00:00:04
/usr/libexec/gconfd-2 12\nroot 5356 1 0 Jul21 ? 00:00:04
/usr/libexec/gconfd-2 12\nroot 27087 4393 0 Jul23 ? 00:00:03 kdeinit:
konsole \nroot 27130 27087 0 Jul23 pts/4 00:00:00 /bin/bash\nroot 8993
27130 0 Jul23 pts/4 00:00:00 ssh itromlx10\nroot 21880 1 0 Aug10 ?
00:01:35 [drbd0_receiver]\nroot 21888 1 0 Aug10 ? 00:00:23
[drbd1_receiver]\nroot 21896 1 0 Aug10 ? 00:00:02 [drbd2_receiver]\nroot
21904 1 0 Aug10 ? 00:00:00 [drbd3_receiver]\nroot 22051 1 0 Aug10 ?
02:39:49 heartbeat: heartbeat: master control process\nnobody 22054
22051 0 Aug10 ? 00:00:00 heartbeat: heartbeat: FIFO reader\nnobody 22055
22051 0 Aug10 ? 00:03:54 heartbeat: heartbeat: write: serial
/dev/ttyS0\nnobody 22056 22051 0 Aug10 ? 00:17:22 heartbeat: heartbeat:
read: serial /dev/ttyS0\nnobody 22057 22051 0 Aug10 ? 00:03:47
heartbeat: heartbeat: write: bcast eth0\nnobody 22058 22051 0 Aug10 ?
00:04:35 heartbeat: heartbeat: read: bcast eth0\nnobody 22059 22051 0
Aug10 ? 00:10:40 heartbeat: heartbeat: write: ping_group hosts\nnobody
22060 22051 0 Aug10 ? 00:10:37 heartbeat: heartbeat: read: ping_group
hosts\n1001 22065 22051 0 Aug10 ? 00:06:18
/usr/lib/heartbeat/ipfail\nroot 22320 1 0 Aug10 ? 00:22:22
[kjournald]\nqmails 22352 4848 0 Aug10 ? 00:12:10 qmail-send\nqmaill
22353 4849 0 Aug10 ? 00:06:33 /command/multilog t s16777215 n50
/prodQ8/qmail/log/send\nqmaild 22356 4850 0 Aug10 ? 00:02:30
/usr/local/bin/tcpserver -v -R -l cl-mail -x
/prodQ8/qmail/tcp/tcp.smtp.cdb -c 100 -\nqmaill 22358 4851 0 Aug10 ?
00:01:41 /command/multilog t s16777215 n50 /prodQ8/qmail/log/smtpd\nroot
22360 22352 0 Aug10 ? 00:00:07 qmail-lspawn \ppreline -f
/usr/lib/mail.local -f "${SENDER:-MAILER-DAEMON}" -d "$USER\nqmailr
22361 22352 0 Aug10 ? 00:03:34 qmail-rspawn\nqmailq 22362 22352 0 Aug10
? 00:02:45 qmail-clean\nqmaild 22363 4846 0 Aug10 ? 00:00:41
/usr/local/bin/tcpserver -v -R -l cl-mail -x
/prodQ8/qmail/tcp/tcp.qmtp.cdb -c 100 -\nqmaill 22364 4847 0 Aug10 ?
00:00:00 /command/multilog t s16777215 n50 /prodQ8/qmail/log/qmtpd\nroot
22935 1 0 Aug10 ? 00:00:29 [kjournald]\nroot 22972 1 0 Aug10 ? 00:11:45
ypserv\nroot 23010 1 0 Aug10 ? 00:00:00 rpc.yppasswdd -D
/prodQ8/services/yp/db\nroot 23050 1 0 Aug10 ? 00:00:00
rpc.ypxfrd\n49927 23967 1 0 Aug10 ? 05:20:54 Xvnccluster :99 -desktop
ITROMLX101:99 (vncconsole) -httpd /usr/share/vnc/classes -a\n49927 23974
1 0 Aug10 ? 00:00:00 vncconfig -iconic\n49927 23975 1 0 Aug10 ? 00:00:00
/bin/sh /usr/bin/startkde\n49927 24128 1 0 Aug10 ? 00:00:00 kdeinit:
Running... \n49927 24138 1 0 Aug10 ? 00:00:00 kdeinit: dcopserver
--nosid\n49927 24165 1 0 Aug10 ? 00:00:36 kdeinit: klauncher \n49927
24192 1 0 Aug10 ? 04:27:35 kdeinit: kded \n49927 24296 24128 0 Aug10 ?
00:24:51 /usr/bin/artsd -F 10 -S 4096 -s 60 -m artsmessage -l 3
-f\n49927 24301 1 0 Aug10 ? 00:00:00 kdeinit: knotify \n49927 24302
23975 0 Aug10 ? 00:01:30 kwrapper ksmserver\n49927 24304 1 0 Aug10 ?
00:00:00 kdeinit: ksmserver \n49927 24305 24128 0 Aug10 ? 00:00:00
kdeinit: kwin \n49927 24307 1 0 Aug10 ? 00:40:45 kdeinit: kdesktop
\n49927 24309 1 0 Aug10 ? 00:40:24 kdeinit: kicker \n49927 24314 1 0
Aug10 ? 00:00:00 kdeinit: kwrited \n49927 24315 24128 0 Aug10 ? 00:01:25
kdeinit: kio_file file
/tmp/ksocket-vncconsole/klauncheroRBw8b.slave-socket /tmp/kso\n49927
24316 24128 0 Aug10 ? 00:01:29 pam-panel-icon\n49927 24317 24128 0 Aug10
? 12:26:01 /usr/bin/python /usr/bin/rhn-applet-gui\n49927 24318 24128 0
Aug10 ? 00:07:16 eggcups\nroot 24319 24316 0 Aug10 ? 00:01:14
/sbin/pam_timestamp_check -d root\n49927 24323 1 0 Aug10 ? 00:00:03
/usr/libexec/gconfd-2 12\n49927 24324 1 0 Aug10 ? 00:00:00 kalarmd
--login\n49927 25590 24307 0 Aug10 ? 00:00:00
/usr/bin/kdesktop_lock\nroot 9904 1 0 Aug10 ? 00:05:01 [kjournald]\nroot
9969 1 0 Aug10 ? 00:01:13 /usr/bin/perl
/prodQ8/cups/webmin-1.180/miniserv.pl
/prodQ8/cups/webmin-1.180/etc/mi\nroot 10222 1 0 Aug10 ? 00:00:00
[kjournald]\nroot 15118 1 0 Aug10 ? 00:02:56 [drbd0_worker]\nroot 15119
1 0 Aug10 ? 00:00:50 [drbd1_worker]\nroot 15120 1 0 Aug10 ? 00:00:04
[drbd2_worker]\nroot 15121 1 0 Aug10 ? 00:00:00 [drbd3_worker]\nroot
15716 1 0 Aug10 ? 00:07:12 [drbd0_asender]\nroot 15717 1 0 Aug10 ?
00:01:02 [drbd1_asender]\nroot 15718 1 0 Aug10 ? 00:00:20
[drbd2_asender]\nroot 15719 1 0 Aug10 ? 00:00:16 [drbd3_asender]\nroot
13359 4852 0 Sep19 ? 00:01:01 /usr/sbin/httpd -f
/etc/httpd/conf/httpd_prod_wli.conf -DNO_DETACH\nroot 14755 1 0 Sep19 ?
00:00:01 [rpciod]\nroot 14756 1 0 Sep19 ? 00:00:00 [lockd]\nroot 4375 1
0 Oct03 ? 00:00:00 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf\nroot 19708
3914 0 Oct18 ? 00:00:00 sshd: bb [priv]\nbb 19710 19708 0 Oct18 ?
00:00:00 sshd: bb at pts/3\nbb 19711 19710 0 Oct18 pts/3 00:00:00 -bash\nbb
3540 1 0 Oct18 ? 00:00:00 /home/bb/client/bin/hobbitlaunch
--config=/home/bb/client/etc/clientlaunch.cfg --log\nroot 6167 19711 0
Oct18 pts/3 00:00:00 su\nroot 6171 6167 0 Oct18 pts/3 00:00:00
bash\nroot 12479 6171 0 Oct18 pts/3 00:00:00 su
 

Thanks for the good job...



More information about the Xymon mailing list