Ad Widget

Collapse

Remote commands via Proxies

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AntonMay
    Junior Member
    • Feb 2023
    • 7

    #1

    Remote commands via Proxies

    Good day

    So this is another remote commands issues, after reading all the posts and the documentation.

    All versions, agent, proxy and zabbix servers (in HA) are 6.2.

    I have two (2) proxies. I'm are trying to run remote commands to the proxies to execute. The commands are simple ping and traceroute commands to network devices.

    I have enabled the remote command on the agent on the proxies and logging.

    Click image for larger version

Name:	image.png
Views:	297
Size:	133.0 KB
ID:	459325​

    After reading the documentation I saw that remote commands can only be done by passive agents. - https://www.zabbix.com/documentation...remote_command

    Passive checks are enabled and ServerActive=0 in the zabbix_agent.conf

    The scripts are set to manual, so that the NOC's can execute the command.​

    Click image for larger version

Name:	image.png
Views:	242
Size:	49.7 KB
ID:	459326

    But when trying to run the script to ping a network device the error "remote commands are not enable" pops up.

    Click image for larger version

Name:	image.png
Views:	244
Size:	45.5 KB
ID:	459327

    ​​Is there anything that I'm missing?
Working...