Xymon 4.3.5 restart for adding host
list David Raymond
Hi, On every change I do in hosts.cfg, I need to restart xymon service. This cause me lot of work, cause all my test (blue) came back in red... and send alerts. Someone have same as me ? David Raymond
list Tim McCloskey
I don't seem to have that issue. When I add hosts, no restart is required. It many not be true for newer versions but I recall the only thing needing a restart was an edit to the (hobbit|xymon)server.cfg. If you are deleting the tmp files (*.chk) I can see the maint alerts change from blue to red. Others, wiser and running more current versions will chime in, but waht happens if you just add a new host to the host.cfg file and wait some 7 minutes without restarting? Does it show up? Good Luck, Tim
▸
From: xymon-bounces at xymon.com [xymon-bounces at xymon.com] On Behalf Of Raymond, David [user-b68bb8c94f8b@xymon.invalid]
Sent: Friday, October 21, 2011 8:40 AM
To: xymon at xymon.com
Subject: [Xymon] Xymon 4.3.5 restart for adding host
Hi,
On every change I do in hosts.cfg, I need to restart xymon service.
This cause me lot of work, cause all my test (blue) came back in red… and send alerts.
Someone have same as me ?
David Raymond
list Ryan Novosielski
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
▸
On 10/21/2011 11:40 AM, Raymond, David wrote:Hi, On every change I do in hosts.cfg, I need to restart xymon service. This cause me lot of work, cause all my test (blue) came back in red? and send alerts. Someone have same as me ?
How long have you waited before to verify that it will not pick these changes up on its own? My recollection is that these changes are picked up without a restart. However, I don't know why you're seeing all of that activity from a simple restart -- it only takes about 20 seconds to restart. - -- - ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Sr. Systems Programmer |$&| |__| | | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 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/ iEYEARECAAYFAk6hmqAACgkQmb+gadEcsb6PRgCeJ2s2nUEu5OUcuJNI293hERUL sa0An0xDqV9uaGzg9dSp7APefdk1h1Cq =HXco -----END PGP SIGNATURE-----
list Henrik Størner
▸
On 21-10-2011 17:40, Raymond, David wrote:
On every change I do in hosts.cfg, I need to restart xymon service.
No you dont. Either wait 10 minutes for xymond to reload the hosts.cfg file, or do a "kill -HUP" of the xymond process.
▸
This cause me lot of work, cause all my test (blue) came back in red… and send alerts.
Should not happen on a restart, unless you delete the xymond* files in the tmp/ directory. Regards, Henrik
list Malcolm Hunter
▸
----- Original Message ----- From: Raymond, David Sent: 10/21/11 04:40 PM To: xymon at xymon.com Subject: [Xymon] Xymon 4.3.5 restart for adding host Hi, On every change I do in hosts.cfg, I need to restart xymon service. This cause me lot of work, cause all my test (blue) came back in red... and send alerts.
How long are you waiting after making changes to hosts.cfg? It may take a couple of minutes, especially if you are adding new hosts. Malcolm -- BBWin Development - The Windows client for Big Brother and Xymon http://bbwin.sourceforge.net http://xymon.sourceforge.net
list David Raymond
Yesterday I add one host and this morning still with "-" at each column, event conn. I do /usr/lib/xymon/server/bin/xymon.sh start and all come up. David Raymond
▸
-----Original Message-----
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Henrik Størner
Sent: Friday, October 21, 2011 12:18
To: xymon at xymon.com
Subject: Re: [Xymon] Xymon 4.3.5 restart for adding host
On 21-10-2011 17:40, Raymond, David wrote:On every change I do in hosts.cfg, I need to restart xymon service.
No you dont. Either wait 10 minutes for xymond to reload the hosts.cfg file, or do a "kill -HUP" of the xymond process.
This cause me lot of work, cause all my test (blue) came back in red... and send alerts.
Should not happen on a restart, unless you delete the xymond* files in the tmp/ directory. Regards, Henrik