Ad Widget

Collapse

SystemD template

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • lbm
    Member
    • Feb 2020
    • 36

    #1

    SystemD template

    I've imported the systemd table to our zabbix installation, and added the an host to the template for testing.


    The agent is just updated from the "old" agent(1) to agent2.

    I cannot see any items in the new template though, so im quite sure im missing an step, but what ?

    Click image for larger version

Name:	image.png
Views:	130
Size:	59.9 KB
ID:	495083
  • Answer selected by lbm at 03-12-2024, 11:59.
    lbm
    Member
    • Feb 2020
    • 36

    The issue was the tempalte is created as passive, but we run active checks. As soon as I changed the discovery rules to active I got data.
    -- edit --

    So even though the item came up, theres no data. More info here:
    Last edited by lbm; 03-12-2024, 12:18.

    Comment

    • mrnobody
      Member
      • Oct 2024
      • 61

      #2
      Originally posted by lbm
      I've imported the systemd table to our zabbix installation, and added the an host to the template for testing.


      The agent is just updated from the "old" agent(1) to agent2.

      I cannot see any items in the new template though, so im quite sure im missing an step, but what ?

      Click image for larger version  Name:	image.png Views:	5 Size:	59.9 KB ID:	495083
      Probably the configuations files was overwrited.
      Check if process is running, and if both versions are running, make sure only version 2 is up.
      Check if hostname or IP is the same on Zabbix (front end) and in the configuration file. Also, the Zabbix Server hostname or IP must be correct, and accessible.

      If any of this was corrected, you need to restart the process.

      May the command line force be with you
      Last edited by mrnobody; 29-11-2024, 21:40.

      Comment

      • lbm
        Member
        • Feb 2020
        • 36

        #3
        Only version2 is up. The config file was updated as well, and other items are still beeing updated without issues using version2.

        Comment

        • mrnobody
          Member
          • Oct 2024
          • 61

          #4
          Originally posted by lbm
          Only version2 is up. The config file was updated as well, and other items are still beeing updated without issues using version2.
          Ook!
          So, your template does a LLD (Discovery Rules), when it runs, with the results it obtained; your items would be created. If it haven't happened yet, you need to validate why.
          I suggest open in Hosts/Filter by your host, go to Discovered rules, there may have an Red Icon, with mouse hover it, an tolltip with the error mesage you search for will be displayed...

          Comment

          • lbm
            Member
            • Feb 2020
            • 36

            #5
            The issue was the tempalte is created as passive, but we run active checks. As soon as I changed the discovery rules to active I got data.
            -- edit --

            So even though the item came up, theres no data. More info here:
            Last edited by lbm; 03-12-2024, 12:18.

            Comment

            Working...