Ad Widget

Collapse

Any way to change the config(zabbix_agentd)file of my agents using the Zabbix server?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Drilon
    Junior Member
    • Mar 2020
    • 1

    #1

    Any way to change the config(zabbix_agentd)file of my agents using the Zabbix server?

    I understand that if I want to get some custom data from my agents I have to use UserParameters and I've been successful when working with these.

    This is an example of me executing a powershell command on my windows agent to retrieve the date. I've made this just for test purposes.
    Code:
    UserParameter=get.date,C:\Windows\System32\Win dowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass Get-Date


    However to make this possible I need to access my windows machine and find the zabbit_agentd file make a user parameter, this is a lot of work considering that I have about 100 virtual machines that I want to configure which means that i would have to log in to each machine every time and do the same thing for all of them.
    Is there a way I could configure my windows agent hosts using the Zabbix server?
    I was thinking maybe there is a way to make a script in Zabbix server itself using external commands perhaps to get access to the Zabbix agents that are currently being monitored and push some changes into them.
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    Originally posted by Drilon
    Is there a way I could configure my windows agent hosts using the Zabbix server?
    What you're talking about is a configuration management system. In my opinion, Zabbix should stick to monitoring, and you should use some other solution for configuration management. There are many, many choices for configuration management, including some directly from Microsoft if you only need to worry about Windows systems.

    Comment

    Working...