Ad Widget

Collapse

UserParameter from Server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • technikolor
    Junior Member
    • Dec 2007
    • 9

    #1

    UserParameter from Server

    Is it possible to craft UserParameter items on the server to be pushed out to the agents as opposed to propagating a new agent configuration and restarting each time you wish add/modify custom items?

    Thanks!
  • MrKen
    Senior Member
    • Oct 2008
    • 652

    #2
    Pretty sure that you can't update a client configuration file remotely from the zabbix server.

    However, the zabbix_agent Key system.run[<command>] is quite versatile.

    Try it with zabbix_get from the server, for example:
    ./zabbix_get -s 192.168.x.xxx -k"system.run[cat /etc/samba/smb.conf]"

    But before it will work, you need to enable RemoteCommands in the client config.

    MrKen
    Disclaimer: All of the above is pure speculation.

    Comment

    Working...