[Xymon] protocols.cfg - configuring yellow alarm - and combo.cfg -

Gonzalo Rodrigo Alvarez (GLOBAL IT) gonzalorodrigo.alvarez at telefonica.com
Mon Feb 20 18:13:28 CET 2017


Hola Sebastian, me pasaba lo mismo que a vos:

Para lograr que el yellow sea interpretado como una alarma debes especificarlo en el  comando de combosatus:

--error-colors=COLOR[,COLOR]
Specify which colors trigger an error status. By default only a "red" status counts as an error color - all other colors, including yellow, will count as "green" when evaluating the combined status. COLOR is "red", "yellow", "blue", "purple" or "clear".

                A simple test - e.g. "Web1.http" - results in the value "1" if the "http" test for server "Web1" is green, yellow or clear. It yields the value "0" if it is red, purple or blue.

Si lo corres a mano:
~/server/bin/xymoncmd ~/server/bin/combostatus --error-colors=red,yellow,purple,clear

Y para que quede permanente en el task.cfg:
[combostatus]
        ENVFILE /home/xymon/server/etc/xymonserver.cfg
        NEEDS xymond
        CMD $XYMONHOME/bin/combostatus --error-colors=red,yellow,purple,clear
        LOGFILE $XYMONSERVERLOGS/combostatus.log
        INTERVAL 5m

Por default los Ășnicos que son considerados alarma son red, purple y blue.

Saludos.



[Firma TGT_GonzaloAlvarez_PNG]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20170220/547f78f5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 4950 bytes
Desc: image001.png
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20170220/547f78f5/attachment.png>


More information about the Xymon mailing list