Ad Widget

Collapse

setting up userParamters on the official docker zabbix image

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mibrahim
    Junior Member
    • Sep 2019
    • 5

    #1

    setting up userParamters on the official docker zabbix image

    I have been using zabbix for a couple of months now and comfortable with setting up userParamters. however when setting up a userParameter through the zabbix docker image it never seems to work.

    on the container when i test my userParameter it works. it returns correct data. however it does not reflect on the console under the "latest data" section. i have tried this in numerous ways.

    I have active checks set up and its working fine as when i attach a template to my host i get all the data i need. however the user parameter data does not come through after i created an item and trigger to pull data.

    steps:
    1. create userparamter on the container and restart the container e.g. ( UserParameter=testing.key, df -h)
    2. on the console create the host and create an item and link the key to the item
    3. go to latest data and see if data is coming through
    the error:

    Unsupported item key.
    Last edited by mibrahim; 05-09-2019, 16:27.
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    Try in UserParameter write the full path to df.

    Comment

    • mibrahim
      Junior Member
      • Sep 2019
      • 5

      #3
      the df -h command is working as when i am testing it on the machine using "zabbix_agend -t testing.key" the data is returned. so the issue is not with the userParameter being set up wrong but somehow isnt being carried over to the zabbix server when i check in the console

      Comment


      • Hamardaban
        Hamardaban commented
        Editing a comment
        I apologize for the inattention
    • mibrahim
      Junior Member
      • Sep 2019
      • 5

      #4
      not a problem mate, i am begining to think userparameters cannot be set in the zabbix docker image and wondering if anyone has been able to successfully

      Comment

      • mibrahim
        Junior Member
        • Sep 2019
        • 5

        #5
        yes i have checked the logs and active checks are running. however i can see this

        "active check configuration update from [zabbix-server:10051] started to fail (cannot resolve [zabbix-server])"

        Comment

        • mibrahim
          Junior Member
          • Sep 2019
          • 5

          #6
          tbh i am not sure why i am seeing this error as i can see the data is being pulled over to zabbix console in the latest data section. i can see data from the linux OS template. but the userparameter i set up is still returning nothing

          Comment

          Working...