Repeat: Client test problems on Xymon server 4.2.3
-----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-----
Perhaps the salient point here is "That file exists, as I copied the above [hobbitclient] section out of t."
To where? Where are you trying to invoke the client from?
-----Original Message----- From: Ryan Novosielski [mailto:novosirj at umdnj.edu] Sent: 13 January 2011 21:10 To: xymon at xymon.com Subject: [xymon] Repeat: Client test problems on Xymon server 4.2.3
-----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-----
The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited. If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither the RWE Group of Companies nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any).
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Sorry that wasn't clearer. I was/am trying to invoke the client as part of the server, so it is in hobbitlaunch.cfg -- the mention of "copying" was about having copied it to this e-mail for people to look at.
Henrik appears to have proposed the solution. I shall report if it works.
On 1/14/2011 3:59 AM, Chris.Morris at rwe.com wrote:
Perhaps the salient point here is "That file exists, as I copied the above [hobbitclient] section out of t."
To where? Where are you trying to invoke the client from?
-----Original Message----- From: Ryan Novosielski [mailto:novosirj at umdnj.edu] Sent: 13 January 2011 21:10 To: xymon at xymon.com Subject: [xymon] Repeat: Client test problems on Xymon server 4.2.3
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?
The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited. If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither the RWE Group of Companies nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any).
To unsubscribe from the xymon list, send an e-mail to xymon-unsubscribe at xymon.com
- ---- _ _ _ _ ___ _ _ _ |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 v2.0.14 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk0weHgACgkQmb+gadEcsb5DvgCg1uBT2OIUwK1JNqG65CcwEnZK /iwAn3qopdf31xzQBzb/7wL6Z7MQb9WB =YeIk -----END PGP SIGNATURE-----
In <4D2F6A27.9000803 at umdnj.edu> Ryan Novosielski <novosirj at umdnj.edu> writes:
[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.
The "NEEDS hobbitd" line means that the "hobbitd" task must be started, before "hobbitclient" will run. Since there is no "hobbitd.log" in that directory either, I assume you have disabled the "hobbitd" task. Perhaps this is a server that only runs network tests ?
Anyway, remove the "NEEDS hobbitd" line, and it should start up just fine.
Regards, Henrik
Ah! Yes it is. It did not occur to me that the network test machines didn't run hobbitd. I will give that a try.
Note that I can't get the machine that DOES run hobbitd to work right in this regard either, but I'll ask another question about that if need be.
-- Sent from my Palm Pre On Jan 14, 2011 6:58, Henrik Størner <henrik at hswn.dk> wrote:
In <4D2F6A27.9000803 at umdnj.edu> Ryan Novosielski <novosirj at umdnj.edu> writes:
>[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.
The "NEEDS hobbitd" line means that the "hobbitd" task must be started,
before "hobbitclient" will run. Since there is no "hobbitd.log" in
that directory either, I assume you have disabled the "hobbitd" task.
Perhaps this is a server that only runs network tests ?
Anyway, remove the "NEEDS hobbitd" line, and it should start up
just fine.
Regards,
Henrik
To unsubscribe from the xymon list, send an e-mail to
xymon-unsubscribe at xymon.com
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
This did the trick. THANKS!
On 1/14/2011 9:55 AM, Ryan Novosielski wrote:
Ah! Yes it is. It did not occur to me that the network test machines didn't run hobbitd. I will give that a try.
Note that I can't get the machine that DOES run hobbitd to work right in this regard either, but I'll ask another question about that if need be.
-- Sent from my Palm Pre
On Jan 14, 2011 6:58, Henrik Størner <henrik at hswn.dk> wrote:
In <4D2F6A27.9000803 at umdnj.edu> Ryan Novosielski <novosirj at umdnj.edu> writes:
[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.
The "NEEDS hobbitd" line means that the "hobbitd" task must be started, before "hobbitclient" will run. Since there is no "hobbitd.log" in that directory either, I assume you have disabled the "hobbitd" task. Perhaps this is a server that only runs network tests ?
Anyway, remove the "NEEDS hobbitd" line, and it should start up just fine.
Regards, Henrik
To unsubscribe from the xymon list, send an e-mail to xymon-unsubscribe at xymon.com
- ---- _ _ _ _ ___ _ _ _ |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 v2.0.14 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk0wh1YACgkQmb+gadEcsb7qpwCfUOMlwq+29xJlrgMWwQgEoByP A4YAoLLVlGKoctPQsGd0M+dp+6GHyh7g =F2tn -----END PGP SIGNATURE-----
participants (3)
-
Chris.Morris@rwe.com
-
henrik@hswn.dk
-
novosirj@umdnj.edu