Ad Widget

Collapse

Problem in Zabbix5 with agent5 and Template OS Linux by Zabbix agent active

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TrapoSAMA
    Junior Member
    • Aug 2020
    • 16

    #1

    Problem in Zabbix5 with agent5 and Template OS Linux by Zabbix agent active

    Hi all!

    I have some VM linux machine working fine! but other dont work with Template OS Linux by Zabbix agent active only with Template OS Linux by Zabbix agent and dont why or who. Some tips for checks or debug?

    All of them work fine with the previous
    Template OS Linux

    Thx.
  • isaqueprofeta
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Aug 2020
    • 154

    #2
    1) Firewall ports are ok you?
    • In zabbix-server: telnet zabbix-agent-ip 10050
    • In zabbix-agent: telnet zabbix-server-ip 10051
    2) ServerActive configuration in the agent has the right parameters (needs the IP from Zabbix-server)?

    Comment

    • TrapoSAMA
      Junior Member
      • Aug 2020
      • 16

      #3
      Hi!

      all linux have the same conf and put the custom conf in /etc/zabbix/zabbix_agentd.d/agent.conf
      i try with and without firewall activated, ports are open and working but template active dont work . Is possible check why fail if the ports are open and conf is fine?

      i try delete host an recreate, reinstall agent with conf and the same result.

      Thx

      Comment

      • isaqueprofeta
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Aug 2020
        • 154

        #4
        Agent Logs probably in /var/log/zabbix/zabbix_agentd.log if it's not enough you can try to go for a higher DebugLevel in agent configuration.

        And look out for zabbix_sender and configure a trapper test item, then you can fire it from host to server to test the communication.

        Comment

        • TrapoSAMA
          Junior Member
          • Aug 2020
          • 16

          #5
          Hi!

          i try using zabbix_sender and work i think:

          zabbix_sender -c /etc/zabbix/zabbix_agentd.conf -k mysql.queries -o 342.45
          Response from "zabbix.domain.com:10051": "processed: 0; failed: 1; total: 1; seconds spent: 0.000025"
          sent: 1; skipped: 0; total: 1

          echo "- hw.serial.number 1287872261 SQ4321ASDF" | zabbix_sender -c /etc/zabbix/zabbix_agentd.conf -T -i -
          Response from "zabbix.domain.com:10051": "processed: 0; failed: 1; total: 1; seconds spent: 0.000029"
          sent: 1; skipped: 0; total: 1

          I check in both linux VM (with active template and without active template) and the same result

          port open and working in both VM, check with telnet.

          Thx

          Comment

          • isaqueprofeta
            Senior Member
            Zabbix Certified SpecialistZabbix Certified Professional
            • Aug 2020
            • 154

            #6
            zabbix_sender -c /etc/zabbix/zabbix_agentd.conf -k mysql.queries -o 342.45
            Response from "zabbix.domain.com:10051": "processed: 0; failed: 1; total: 1; seconds spent: 0.000025"
            sent: 1; skipped: 0; total: 1

            echo "- hw.serial.number 1287872261 SQ4321ASDF" | zabbix_sender -c /etc/zabbix/zabbix_agentd.conf -T -i -
            Response from "zabbix.domain.com:10051": "processed: 0; failed: 1; total: 1; seconds spent: 0.000029"
            sent: 1; skipped: 0; total: 1
            It did not work. Failed = 1, now do the same sender and put a -vv in it to see the errors.

            How about DebugLevel=5 + AgentLogs? Any news?

            Comment

            • TrapoSAMA
              Junior Member
              • Aug 2020
              • 16

              #7
              lol!

              using sender method is more complex, failed with both linux. Activating debuglevel in one linux and change from normal template to active. What need search in log?

              Thx

              Comment

              • isaqueprofeta
                Senior Member
                Zabbix Certified SpecialistZabbix Certified Professional
                • Aug 2020
                • 154

                #8
                Originally posted by TrapoSAMA
                lol!

                using sender method is more complex, failed with both linux. Activating debuglevel in one linux and change from normal template to active. What need search in log?

                Thx
                Errors and strange things (not the netflix series...)

                Comment


                • TrapoSAMA
                  TrapoSAMA commented
                  Editing a comment
                  lol! i have a window server with tha same issue, today detect this xD
              Working...