Xymon Mailing List Archive search

clear status when ping is ko

3 messages in this thread

list Germain Malherbe · Thu, 6 Mar 2014 12:09:49 +0100 ·
Hi All

For several reasons, xymonnet is disabled on my Xymon.
Another script to check ping connectivity has been coded.

This morning, a host has shutdown and the "ping" test has turned red.
30 minutes later, the other local tests for this host have turned clear.

I thought it was xymonnet which generate these clear.
I can see "Checked with ping:   Yes" in the "info" test

Is a ping test exists (even if xymonnet is disabled) and, if ko, sends clear status (instead of purple status) for other tests executed on server ?

Best Regards

--
Germain Malherbe

Orange - DSI France/Digital Factory/Hebex
Bagnolet
+33 1 58 96 62 51 / +33 6 87 66 99 43
user-aa19f82329eb@xymon.invalid


Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.
list Henrik Størner · Thu, 06 Mar 2014 12:40:52 +0100 ·
quoted from Germain Malherbe
 
Den 2014-03-06 12:09, user-aa19f82329eb@xymon.invalid skrev: 
For
several reasons, xymonnet is disabled on my Xymon. 

Another script
to check ping connectivity has been coded. 

This morning, a host
has shutdown and the "ping" test has turned red. 

30 minutes later,
the other local tests for this host have turned clear. 

I thought
it was xymonnet which generate these clear. 

I can see "Checked
with ping: Yes" in the "info" test 

Is a ping test exists (even if
xymonnet is disabled) and, if ko, sends clear status (instead of purple
status) for other tests executed on server ?
When a test is not
updated, it will usually go purple - this happens inside the Xymon
server (xymond). But if a ping status has been registered - regardless
of how this happened - then xymond will first check if the ping-status
is red, yellow or blue - in that case, then the stale test will go clear
instead of purple. 
This is different from the old Big Brother system.


xymonnet does not generate a 'clear' status, except when 1) it has run
the ping test and it failed, and 2) another network test fails. In that
case, the second network test will be 'clear' instead of red. See the
'noclear' description in the hosts.cfg man-page.

The 'Checked with
ping' info only tests for a "noconn" setting on the host, it cannot tell
if you have disabled xymonnet entirely. 
Regards, Henrik
list Germain Malherbe · Thu, 6 Mar 2014 16:16:19 +0100 ·
Thanks for your response.
Now, I understand better the utility of variable PINGCOLUMN !

Germain
quoted from Henrik Størner

De : Xymon [mailto:xymon-bounces at xymon.com] De la part de Henrik Størner
Envoyé : jeudi 6 mars 2014 12:41
À : xymon at xymon.com
Objet : Re: [Xymon] clear status when ping is ko


Den 2014-03-06 12:09, user-aa19f82329eb@xymon.invalid<mailto:user-aa19f82329eb@xymon.invalid> skrev:
For several reasons, xymonnet is disabled on my Xymon.
Another script to check ping connectivity has been coded.

This morning, a host has shutdown and the “ping” test has turned red.
30 minutes later, the other local tests for this host have turned clear.

I thought it was xymonnet which generate these clear.
I can see “Checked with ping:   Yes” in the “info” test

Is a ping test exists (even if xymonnet is disabled) and, if ko, sends clear status (instead of purple status) for other tests executed on server ?


When a test is not updated, it will usually go purple - this happens inside the Xymon server (xymond). But if a ping status has been registered - regardless of how this happened - then xymond will first check if the ping-status is red, yellow or blue - in that case, then the stale test will go clear instead of purple.

This is different from the old Big Brother system.
xymonnet does not generate a 'clear' status, except when 1) it has run the ping test and it failed, and 2) another network test fails. In that case, the second network test will be 'clear' instead of red. See the 'noclear' description in the hosts.cfg man-page.
The 'Checked with ping' info only tests for a "noconn" setting on the host, it cannot tell if you have disabled xymonnet entirely.


Regards,
Henrik


Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.