<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18852"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=413110816-11112009><FONT color=#0000ff 
size=2 face=Arial>I've got the same problem. Just had to restart after having it 
working for about 48 hours.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=413110816-11112009><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=413110816-11112009><FONT color=#0000ff 
size=2 face=Arial>I have added devmon (0.3.1-beta1) to the mix only a few 
weeks ago and am running it on ubuntu (desktop 8.10) along with xymon 4.2.3 
(running about 6 months). On a side note, the rrd graphing works quite well for 
connects, cpu, if_load, and memory.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=413110816-11112009><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=413110816-11112009><FONT color=#0000ff 
size=2 face=Arial>to kill it I run "sudo killall devmon" and it goes from purple 
to green again without running anything else.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=413110816-11112009><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=413110816-11112009><FONT color=#0000ff 
size=2 face=Arial>To get devmon running in the first place I've added the 
following to hobbitlaunch.cfg: (I'm not sure this is the "proper" way to handle 
and almost seems to too easy but it starts when I start 
xymon.)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=413110816-11112009><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=413110816-11112009><FONT color=#0000ff 
size=2 face="Courier New">hobbitlaunch.cfg</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=413110816-11112009><FONT color=#0000ff 
size=2 face="Courier New">...</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=413110816-11112009><FONT color=#0000ff 
size=2 face="Courier New">[devmon]<BR> CMD 
$BBHOME/ext/devmon/devmon</FONT></SPAN></DIV>
<DIV><FONT color=#0000ff size=2 face="Courier New"></FONT> </DIV>
<DIV dir=ltr align=left><SPAN class=413110816-11112009><FONT color=#0000ff 
size=2 face="Courier New">[devmonreload]<BR> CMD $BBHOME/ext/devmon/devmon 
--readbbhosts<BR> INTERVAL 5m</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=413110816-11112009><FONT color=#0000ff 
size=2 face="Courier New">...<BR></DIV></FONT></SPAN>
<DIV dir=ltr align=left><SPAN class=413110816-11112009><FONT color=#0000ff 
size=2 face="Courier New"><FONT face=Arial>I've seen others post that they have 
cron jobs daily or even more often to restart devmon but I wish that wasn't 
required.</FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=413110816-11112009><FONT color=#0000ff 
size=2 face="Courier New"><FONT 
face=Arial><BR>Greg</FONT></DIV></FONT></SPAN><FONT color=#0000ff size=2 
face=Arial></FONT><BR>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> thorsten.erdmann@daimler.com 
[mailto:thorsten.erdmann@daimler.com] <BR><B>Sent:</B> Wednesday, November 11, 
2009 8:58 AM<BR><B>To:</B> hobbit@hswn.dk<BR><B>Subject:</B> [hobbit] DEVMON 
stops working every now and then<BR></FONT><BR></DIV>
<DIV></DIV><BR><FONT size=2 face=sans-serif>Hello</FONT><BR><BR><FONT size=2 
face=sans-serif>some time ago I already talked about devmon stops working when a 
monitored device ist not responding. Now I saw it has nothing to do with non 
responsive devices.</FONT><BR><FONT size=2 face=sans-serif>Devmon stops working 
at irregular intervals. I set Devmon to verbose and looked at the devmon log. I 
saw that there are simply no more messages when it stops working (see below). No 
error messages - nothing. None in the devmon log nor in the 
syslog.</FONT><BR><BR><FONT size=2 face=sans-serif>If I do a "ps -ef" I see all 
devmon processes running:</FONT><BR><BR><FONT size=2 
face=sans-serif>[root@s068a300 devmon]# ps -ef |grep devmon</FONT><BR><FONT 
size=2 face=sans-serif>hobbit   10211     1  0 Nov09 ? 
       00:10:07 devmon[master]</FONT><BR><FONT size=2 
face=sans-serif>hobbit   10214 10211  0 Nov09 ?       
 00:00:22 devmon</FONT><BR><FONT size=2 face=sans-serif>hobbit   10215 
10211  0 Nov09 ?        00:00:21 devmon</FONT><BR><FONT 
size=2 face=sans-serif>hobbit   10217 10211  0 Nov09 ?     
   00:00:22 devmon</FONT><BR><FONT size=2 face=sans-serif>hobbit 
  10218 10211  0 Nov09 ?        00:01:52 
devmon</FONT><BR><FONT size=2 face=sans-serif>hobbit   10219 10211  0 
Nov09 ?        00:00:21 devmon</FONT><BR><FONT size=2 
face=sans-serif>hobbit   10220 10211  0 Nov09 ?       
 00:01:51 devmon</FONT><BR><FONT size=2 face=sans-serif>hobbit   10221 
10211  0 Nov09 ?        00:01:52 devmon</FONT><BR><FONT 
size=2 face=sans-serif>hobbit   10222 10211  0 Nov09 ?     
   00:00:00 devmon</FONT><BR><FONT size=2 face=sans-serif>hobbit 
  10223 10211  0 Nov09 ?        00:00:00 
devmon</FONT><BR><FONT size=2 face=sans-serif>root     20447 
 3611  0 14:47 pts/1    00:00:00 grep 
devmon</FONT><BR><BR><FONT size=2 face=sans-serif>Any idea how I can find out 
why devmon stops working and what the processes do when they are stuck. If I 
send a SIGTERM to the devmon master process, it stops all other processe, so it 
looks it is responding to signals as it should.</FONT><BR><BR><FONT size=2 
face=sans-serif>BTW.: has anyone a devmon startup/shutdown script which works on 
SuSE EL.</FONT><BR><BR><FONT size=2 face=sans-serif>Thorsten 
Erdmann<BR></FONT><BR><FONT size=2 face=sans-serif>Attachement:</FONT><BR><FONT 
size=2 face=sans-serif>Here are the last few lines of the devmon 
log</FONT><BR><BR><FONT size=2 face=sans-serif>[09-11-10@10:52:21] Performing 
test logic</FONT><BR><FONT size=2 face=sans-serif>[09-11-10@10:52:21] Done with 
test logic</FONT><BR><FONT size=2 face=sans-serif>[09-11-10@10:52:21] Sending 
messages to display server</FONT><BR><FONT size=2 
face=sans-serif>[09-11-10@10:52:21] Done sending messages</FONT><BR><FONT size=2 
face=sans-serif>[09-11-10@10:52:21] Sleeping for 59 seconds.</FONT><BR><FONT 
size=2 face=sans-serif>[09-11-10@10:53:20] Starting snmp queries</FONT><BR><FONT 
size=2 face=sans-serif>[09-11-10@10:53:20] Getting device status from hobbit at 
localhost:1984</FONT><BR><FONT size=2 face=sans-serif>[09-11-10@10:53:20] 
Querying u068usv020a1 for tests 
battery,powerin,power,diag,temperature,msgs</FONT><BR><FONT size=2 
face=sans-serif>[09-11-10@10:53:20] Querying u068usv020a2 for tests 
battery,powerin,power,diag,temperature,msgs</FONT><BR><FONT size=2 
face=sans-serif>[09-11-10@10:53:20] Querying u068usv020b1 for tests 
battery,powerin,power,diag,temperature,msgs</FONT><BR><FONT size=2 
face=sans-serif>[09-11-10@10:53:20] Querying u068usv020b2 for tests 
battery,powerin,power,diag,temperature,msgs</FONT><BR><FONT size=2 
face=sans-serif>[09-11-10@10:53:20] Querying u068usv110111 for tests 
power,temperature</FONT><BR><FONT size=2 face=sans-serif>[09-11-10@10:53:20] 
Querying u068usvnw1111 for tests power,temperature</FONT><BR><FONT size=2 
face=sans-serif>[09-11-10@10:53:20] Querying u068usvnw1112 for tests 
power,temperature</FONT><BR><FONT size=2 face=sans-serif>[09-11-10@10:53:20] 
Querying u068usvnw1211 for tests power,temperature</FONT><BR><FONT size=2 
face=sans-serif>[09-11-10@10:53:21] Performing test logic</FONT><BR><FONT size=2 
face=sans-serif>[09-11-10@10:53:21] Done with test logic</FONT><BR><FONT size=2 
face=sans-serif>[09-11-10@10:53:21] Sending messages to display 
server</FONT><BR><FONT size=2 face=sans-serif>[09-11-10@10:53:21] Done sending 
messages</FONT><BR><FONT size=2 face=sans-serif>[09-11-10@10:53:21] Sleeping for 
59 seconds.</FONT><BR><FONT size=2 face=sans-serif>[09-11-10@10:54:20] Starting 
snmp queries</FONT><BR><FONT size=2 face=sans-serif>[09-11-10@10:54:20] Getting 
device status from hobbit at localhost:1984</FONT><BR><FONT size=2 
face=sans-serif>[09-11-10@10:54:20] Querying u068usv020a1 for tests 
battery,powerin,power,diag,temperature,msgs</FONT><BR><FONT size=2 
face=sans-serif>[09-11-10@10:54:21] Querying u068usv020a2 for tests 
battery,powerin,power,diag,temperature,msgs</FONT><BR><FONT size=2 
face=sans-serif>[09-11-10@10:54:21] Querying u068usv020b1 for tests 
battery,powerin,power,diag,temperature,msgs</FONT><BR><FONT size=2 
face=sans-serif>[09-11-10@10:54:21] Querying u068usv020b2 for tests 
battery,powerin,power,diag,temperature,msgs</FONT><BR><FONT size=2 
face=sans-serif>[09-11-10@10:54:21] Querying u068usv110111 for tests 
power,temperature</FONT><BR><FONT size=2 face=sans-serif>[09-11-10@10:54:21] 
Querying u068usvnw1111 for tests power,temperature</FONT><BR><FONT size=2 
face=sans-serif>[09-11-10@10:54:21] Querying u068usvnw1112 for tests 
power,temperature</FONT><BR><FONT size=2 face=sans-serif>[09-11-10@10:54:21] 
Querying u068usvnw1211 for tests power,temperature</FONT><FONT 
face=sans-serif><FONT color=#808080 size=-1 
face="sans-serif, Arial, Helvetica"><BR>If you are not the intended addressee, 
please inform us immediately that you have received this e-mail in error, and 
delete it. We thank you for your cooperation. 
<BR><BR></FONT></FONT></BODY></HTML>