Ad Widget

Collapse

Need help with Template App HAProxy by HTTP.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cb0n3y
    Member
    • Feb 2021
    • 32

    #1

    Need help with Template App HAProxy by HTTP.

    Hello everyone ,

    i need to exclude a Backend from being discovered by zabbix. How can do that? I've tried already to set a Filter on the discovery rule:
    Code:
    {#PXNAME}  does not match HAProxy Backend xxxx_xxxx_worker_nodes_backend_5005
    but it doesn't work. Can
    anyone give a hint to solve this? Thank you
  • cb0n3y
    Member
    • Feb 2021
    • 32

    #2
    Hello cyber,

    thank you for your answer. You were right i was writing too much on that filter. I changed like you said "xxxx_xxxx_worker_nodes_backend_5005" and it works. Again, thank you.
    Last edited by cb0n3y; 10-05-2021, 12:06.

    Comment

    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4807

      #3
      You have to set filter exactly match your data... I have not used that template myself, shooting from the hip here... but maybe setting it to
      {#PXNAME} does not match "xxxx_xxxx_worker_nodes_backend_5005"
      might work better...
      Look into the incoming data and see, what are the values used... is it really "HAProxy Backend xxxx_xxxx_worker_nodes_backend_5005" as you wrote, or is it something shorter... I think it is shorter one, as item prototypes also use "HAProxy Backend {#PXNAME}: " in name...

      Comment

      • cyber
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Dec 2006
        • 4807

        #4
        You have to set filter exactly match your data... I have not used that template myself, shooting from the hip here... but maybe setting it to
        {#PXNAME} does not match "xxxx_xxxx_worker_nodes_backend_5005"
        might work better...
        Look into the incoming data and see, what are the values used... is it really "HAProxy Backend xxxx_xxxx_worker_nodes_backend_5005" as you wrote, or is it something shorter... I think it is shorter one, as item prototypes also use "HAProxy Backend {#PXNAME}: " in name...

        Comment

        Working...