protocols.cfg - configuring yellow alarm - and combo.cfg -
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]
participants (1)
-
gonzalorodrigo.alvarez@telefonica.com