Ad Widget

Collapse

Zabbix not accepting parameters - StartPollers, StartPingers, etc.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • clarkritchie
    Member
    • Aug 2013
    • 46

    #1

    Zabbix not accepting parameters - StartPollers, StartPingers, etc.

    I was attempting to tune various parameters in my config files last night, and found that neither my server (v2.0.8) nor my proxy (v2.0.4) would accept custom values on a large number of the parameters.

    For example, I set things like StartPollers=20 or StartPingers=2 (the range on both should be 0-1000) and I'd see errors like this:

    zabbix_server [29561]: wrong value of [StartTrappers] in config file [/etc/zabbix/zabbix_server.conf], line 175
    zabbix_server [29944]: wrong value of [StartPingers] in config file [/etc/zabbix/zabbix_server.conf], line 184


    In fact, I'd see the same errors when I set those parameters to their default values (e.g. StartTrappers=5). The only way I could get the server or proxy to start would be to leave those items commented out entirely.

    What might I be missing?
  • clarkritchie
    Member
    • Aug 2013
    • 46

    #2
    Bump. Anyone? Seems like a defect maybe?

    Comment

    • heaje
      Senior Member
      Zabbix Certified Specialist
      • Sep 2009
      • 325

      #3
      Are you certain that you don't have some hidden characters in the config file that are causing the server to have issues parsing the config? Perhaps windows line endings?

      Comment

      • clarkritchie
        Member
        • Aug 2013
        • 46

        #4
        Absolutely certain. I edited the files with vi.

        Comment

        • tchjts1
          Senior Member
          • May 2008
          • 1605

          #5
          Would you mind posting your actual config for us to look at?
          You can remove any specific identifying data...

          Comment

          • clarkritchie
            Member
            • Aug 2013
            • 46

            #6
            Well hells bells, it seems that Zabbix's parser doesn't care for comments following a parameter.
            • Acceptable: StartTrappers=20
            • Not acceptable: StartTrappers=20 # testing new value here

            Comment

            • tchjts1
              Senior Member
              • May 2008
              • 1605

              #7
              Originally posted by clarkritchie
              Well hells bells, it seems that Zabbix's parser doesn't care for comments following a parameter.
              Now you know why I asked to see the actual config.
              At least you fixed it.

              Comment

              Working...