Ad Widget

Collapse

Zabbix Agent not starting with UserParameter in Config

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fognar
    Junior Member
    • Dec 2018
    • 13

    #1

    Zabbix Agent not starting with UserParameter in Config

    I tried adding a new user parameter to the config file on one of my servers today, but the service is refusing to start with the user parameter in the config and I am not sure why. When I comment the line out in my config it the agent starts just fine so I know that it has something to do with the way it is written. Here is a full copy of the line that is causing the issue

    Code:
    Userparameter=speedtest[*], grep $1 /etc/zabbix/bin/speedtest.txt | cut -d ' ' -f 2
    Any help is appreciated.
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Please try change from 'Userparameter' to 'UserParameter'.

    Comment

    • fognar
      Junior Member
      • Dec 2018
      • 13

      #3
      Wow, can't believe that I didn't see that. Sure enough, changing that allowed the agent to start with that parameter. Thanks for the help.

      Comment

      Working...