Ad Widget

Collapse

Trigger status UP / DOWN / ERROR ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • LeDistordu
    Junior Member
    • Apr 2016
    • 4

    #1

    Trigger status UP / DOWN / ERROR ?

    Hi,

    I'm begginer with Zabbix, i use Haproxy script / template :

    HAProxy Zabbix Discovery and Template. Contribute to anapsix/zabbix-haproxy development by creating an account on GitHub.


    Plugin work very well and now i need use trigger. I need Trigger for backend status : UP / DOWN / ERROR (when the backend no longer exists because it was removed in the configuration of Haproxy)

    I try with this Trigger :

    Code:
    {Template HAProxy:haproxy.stats[{$HAPROXY_SOCK},{#BACKEND_NAME},BACKEND,status].str(DOWN)}=1
    It's OK for UP / DOWN but for this trigger ERROR = DOWN i do not understand why

    Output of ERROR :

    Code:
    ERROR: bad mywebserver/BACKEND
    Last edited by LeDistordu; 12-04-2016, 12:00.
  • LeDistordu
    Junior Member
    • Apr 2016
    • 4

    #2
    up up up

    Comment

    Working...