Ad Widget

Collapse

Zabbix Agent 6.4 using node_exporter with port 9100 ? not 10050 ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hai.dao
    Junior Member
    • Jun 2022
    • 19

    #1

    Zabbix Agent 6.4 using node_exporter with port 9100 ? not 10050 ?

    Dear All,
    i'm using zabbix version 6.4.4 and i would like to monitoring linux server with template OS linux by prom.
    i have another zabbix server 5.0 and monitoring normally but in new version (6.4.4) i can not monitoring
    So i have 2 question:
    • Monitoring Linux server template need to install node_exporter like prometheus ?

    Click image for larger version  Name:	image.png Views:	0 Size:	17.7 KB ID:	468394

    After add template for host, i have this issue: port 9100 after 0 ms: Connection refused.
    I mean, how can to use prom template ? we must to install node_exporter & open port 9100 ?
    Thanks​
    Last edited by hai.dao; 07-08-2023, 06:35.
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    What have you installed on the server you want to monitor? Are you a Zabbix agent? Or is it node_exporter?
    If you want to install Zabbix agent and monitor it, the template you use is different.
    If you want to monitor using Prometheus' node_exporter, install node_exporter. Zabbix agent installation is not required.​

    Comment

    • hai.dao
      Junior Member
      • Jun 2022
      • 19

      #3
      Originally posted by Atsushi
      What have you installed on the server you want to monitor? Are you a Zabbix agent? Or is it node_exporter?
      If you want to install Zabbix agent and monitor it, the template you use is different.
      If you want to monitor using Prometheus' node_exporter, install node_exporter. Zabbix agent installation is not required.​
      Hello, Good Day.
      i can use zabbix agent already, so can i ask more about node_exporter: how can to install node_exporter ?

      Comment

      • Atsushi
        Senior Member
        • Aug 2013
        • 2028

        #4
        Please read manuals.
        Prometheus project documentation for Monitoring Linux host metrics with the Node Exporter

        Downloads for the latest releases of the Prometheus monitoring system and its major ecosystem components.

        Exporter for machine metrics. Contribute to prometheus/node_exporter development by creating an account on GitHub.

        Comment

        • hai.dao
          Junior Member
          • Jun 2022
          • 19

          #5
          Originally posted by Atsushi
          Please read manuals.
          Prometheus project documentation for Monitoring Linux host metrics with the Node Exporter

          Downloads for the latest releases of the Prometheus monitoring system and its major ecosystem components.

          https://github.com/prometheus/node_exporter/releases
          Thanks for reply.
          i have another issue about zabbix agent 2 , can i ask here or create new post ?
          in my oracle linux 6 server , i installed zabbix agent 6.4.4 & it's running normally but when installed zabbix agent 2 , i can not start it.
          I try to disable zabbix agent to give port 10050 for zabbix agent 2 but it's still can not running.

          when check logs: cannot start agent: listen unix /run/zabbix/agent.sock: bind: no such file or directory
          Zabbix Agent 2 stopped. (6.4.4)
          Many Thanks

          Comment

          • Atsushi
            Senior Member
            • Aug 2013
            • 2028

            #6
            Make sure the directory /run/zabbix exists on the server where you want to run Zabbix agent 2. If not, please create one.

            Code:
            # ls -ld /run/zabbix/
            drwxr-xr-x 2 zabbix zabbix 240 7月 28 15:42 /run/zabbix/
            #
            It should be created automatically if you are using the package and installed successfully, so you usually don't need to create it manually.

            Comment

            • hai.dao
              Junior Member
              • Jun 2022
              • 19

              #7
              Hello,
              I can run zabbix agent but can not with agent 2 :
              Click image for larger version

Name:	image.png
Views:	532
Size:	4.8 KB
ID:	468612
              in my server have dir /var/run/zabbix already but i think my issue is zabbix agent 2 can not create file .pid automatically.
              i install zabbix agent 2 as below with rpm command :
              Click image for larger version

Name:	image.png
Views:	517
Size:	5.3 KB
ID:	468613

              Comment

              Working...