Ad Widget

Collapse

Unable to launch scripts based on actions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • greenwulf
    Junior Member
    • Feb 2026
    • 5

    #1

    Unable to launch scripts based on actions

    Click image for larger version

Name:	image.png
Views:	27
Size:	19.5 KB
ID:	512330
    Hello,

    We are using Zabbix 7.0 LTS and we separated our proxy groups in two groups. Each group is using its own VMWare AVI load balancer

    I have created a script and an action to restart a windows service when a trigger detects that this service is down.
    The action performs as it should, but unfortunately, when I check, I can see that the script could not be run because the host sounds to not be associated to a proxy.
    I was hoping this issue is LB related, but even if I change the Agent config file Server and ServerActive values to use the proxies names (comma separated) instead of the load balancer DNS name, I get the same error

    I also checked in the Zabbix UI, the host appears with as a proxy assigned

    Of course, I tried to associate the host to a specific proxy instead of using host group, and in this case, the scripts works like a charm. But this is definitely not what we want to use

    Did someone else face this issue ? Any clue of what I could check or investigate to get it working with proxy groups ?
  • greenwulf
    Junior Member
    • Feb 2026
    • 5

    #2
    hello
    Other option that could be investgated is to run the commands from the server instead of proxy groups
    What should I take in consideration if I want to use it and not disturb the performances (we monitor approximatif 4000 hosts)

    Comment

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

      #3
      Originally posted by greenwulf
      Click image for larger version

Name:	image.png
Views:	27
Size:	19.5 KB
ID:	512330
      Hello,

      We are using Zabbix 7.0 LTS and we separated our proxy groups in two groups. Each group is using its own VMWare AVI load balancer

      I have created a script and an action to restart a windows service when a trigger detects that this service is down.
      The action performs as it should, but unfortunately, when I check, I can see that the script could not be run because the host sounds to not be associated to a proxy.
      I was hoping this issue is LB related, but even if I change the Agent config file Server and ServerActive values to use the proxies names (comma separated) instead of the load balancer DNS name, I get the same error

      I also checked in the Zabbix UI, the host appears with as a proxy assigned

      Of course, I tried to associate the host to a specific proxy instead of using host group, and in this case, the scripts works like a charm. But this is definitely not what we want to use

      Did someone else face this issue ? Any clue of what I could check or investigate to get it working with proxy groups ?
      You should not use any LB in front of your proxies... Built-in HA for proxies manages itself, by spreading load among the proxy group... If you add a LB in front of it they cannot understand any more, who should receive data for specific host and which one does not... And thus, cannot decide which one monitors the host...
      Server and ServerActive parameters... for Server you can leave proxy list as comma separated, as it is just an ACL, list of hosts that can connect and ask for values... ServerActive should contain proxy group members list separated by semicolon (

      Comment

      Working...