-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I had posted a message on this before and never really got anywhere with it. I just re-read all of the replies from last time and none of them really gave me anything to go on (they say look at logs, but none end up being created).
First off, here is the section that starts the Xymon client from within the Xymon server's hobbitlaunch.cfg:
"hobbitclient" runs the Xymon client. The client is installed
automatically
when you install a Xymon server (presumably, you do want to monitor the
Xymon server ?), but there's no need to have two hobbitlaunch instances
running at the same time. So we'll just run it from here.
Note: If you are using another client package, you should disable this
one.
[hobbitclient] ENVFILE /opt/xymon-4.2.3/client/etc/hobbitclient.cfg NEEDS hobbitd CMD /opt/xymon-4.2.3/client/bin/hobbitclient.sh LOGFILE $BBSERVERLOGS/hobbitclient.log INTERVAL 5m
I checked to see where this LOGFILE is supposed to be going: BBSERVERLOGS="/opt/xymon-4.2.3/log"
So I looked in there:
ls -la /opt/xymon-4.2.3/log/ total 3228 drwxr-xr-x 2 xymon daemon 512 Jan 13 15:48 . drwxr-xr-x 9 root root 512 Sep 16 2009 ..
- -rw-r--r-- 1 xymon daemon 1550037 Dec 23 15:47 bb-network.log
- -rw-r--r-- 1 xymon daemon 74080 Jul 26 16:39 bb-retest.log
- -rw-r--r-- 1 xymon daemon 9314 Jan 13 15:48 hobbitlaunch.log
- -rw-r--r-- 1 xymon daemon 5 Jan 13 15:48 hobbitlaunch.pid
No such file. So I checked the hobbitlaunch.log sitting here:
2011-01-13 15:48:06 hobbitlaunch starting 2011-01-13 15:48:06 Loading tasklist configuration from /opt/xymon-4.2.3/server/etc/hobbitlaunch.cfg
That file exists, as I copied the above [hobbitclient] section out of t.The last thing I can think of is that maybe $BBSERVERLOGS is not defined in the context in which it is needed. Beyond that, I'm totally out of ideas. It appears as if this section is completely ignored. On both of my machines, if I don't start the client (by changing to the client directory and doing ./runclient.sh start), it doesn't get started.
Any clues?
- ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Sr. Systems Programmer |$&| |__| | | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/CST-Academic Svcs. - ADMC 450, Newark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk0vaiYACgkQmb+gadEcsb5WSwCeNzzzTOQU5SClMug8YmPC1W7l bJoAn1jmSvfOtVnT3eYa1VGtnztSrTcG =2fSo -----END PGP SIGNATURE-----