Ad Widget

Collapse

Linux Active Agent 2 not sends Generic Data but other yes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jangar
    Junior Member
    • Aug 2020
    • 12

    #1

    Linux Active Agent 2 not sends Generic Data but other yes

    Hi, i have 2 Active Agent 2 for 2 VM linux (Ubuntu 22.04 LTS and OL 9) configured to monitor

    UB: apache, php-fpm
    OL: mysql

    but only data sended by agent is (MySQL, Apache, etc) but generic (CPU, Memory, etc) no
    Click image for larger version  Name:	image.png Views:	0 Size:	74.7 KB ID:	501265 Click image for larger version  Name:	image.png Views:	0 Size:	90.6 KB ID:	501266
    Last edited by jangar; 01-04-2025, 15:42.
  • mrnobody
    Member
    • Oct 2024
    • 61

    #2
    Hi, some items dalay more than others to be show in Front End.
    Can click over the item, open Configuration and use Test button to know if it's working or have an error. If you get an error of permissions, need to solve it on O.S level.

    Comment

    • jangar
      Junior Member
      • Aug 2020
      • 12

      #3
      Hi,

      Test Button appears is disabled
      Click image for larger version

Name:	image.png
Views:	138
Size:	52.4 KB
ID:	501271

      Comment

      • mrnobody
        Member
        • Oct 2024
        • 61

        #4
        You're using Zabbix Agent (Active) item. So it just can't be tested, 'cuz it's a Client>Server connection, need to check Client (Agent side) log file to understand why. FrontEnd simply can't enable Test button.

        Other item types can be tested this way, even Zabbix Agent (Passive) check (Server>Client connection), basicaly every type of item that can be "controlled" in Server/Proxy (Server side), can be tested...

        Comment

        • jangar
          Junior Member
          • Aug 2020
          • 12

          #5
          Hi,

          log is that, only strange thing is "active checks on start enabled: false" for any plugin. The client/server comunication is ok, becouse all data are coming

          Code:
          2025/04/01 17:29:19.480315 Starting Zabbix Agent 2 (6.0.39)
          2025/04/01 17:29:19.481380 OpenSSL library (OpenSSL 3.0.2 15 Mar 2022) initialized
          2025/04/01 17:29:19.481448 using configuration file: /etc/zabbix/zabbix_agent2.conf
          2025/04/01 17:29:19.481514 using plugin 'Agent' (built-in) providing following interfaces: exporter, maximum capacity: 100, active checks on start enabled: false
          2025/04/01 17:29:19.481531 using plugin 'Cpu' (built-in) providing following interfaces: exporter, collector, runner, maximum capacity: 100, active checks on start enabled: false
          2025/04/01 17:29:19.481820 lowering the plugin ZabbixSync capacity to hard limit 1 as the configured capacity 100 exceeds limits
          2025/04/01 17:29:19.481826 using plugin 'ZabbixSync' (built-in) providing following interfaces: exporter, maximum capacity: 1, active checks on start enabled: false
          2025/04/01 17:29:19.482371 Plugin communication protocol version is 6.0.13
          2025/04/01 17:29:19.482393 Zabbix Agent2 hostname: [XXXXX]

          Comment


          • mrnobody
            mrnobody commented
            Editing a comment
            Should have lines of sent information from Agent to Server/Proxy, or fail attempts (If all configuration is right, and your network isen't blocking anything).

            One other debug you can do, is; use zabbix-sender, with an command like:
            zabbix_sender -z SERVERorPRXAddress -s "Test" -k key.name -o "Value"

            Must match key.name and type of value, it will returns more detailed information by this communication you're trying to do.

          • mrnobody
            mrnobody commented
            Editing a comment
            Some tests from agent, to see if ports are open

            telnet localhost 10050 (Must stablish connection to itself)

            netstat -tunpl | grep zabbix (Must show stablished connections)

            Try from server/proxy to Agent

            telnet AgentAddress 10050 (Must stablish connection to Client (Agent))
            Last edited by mrnobody; 01-04-2025, 19:13.
        Working...