Ad Widget

Collapse

Passive Agent Detects Linux Server Network Interafces, but Shows No Traffic

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • admin@psmnv.com
    Member
    • May 2022
    • 41

    #1

    Passive Agent Detects Linux Server Network Interafces, but Shows No Traffic

    I'm using Zabbix 6.2 to monitor a Rocky Linux 8.5 server using the Linux passive agent. It detects disk usage, CPU, memory, etc. just fine. However, with network interfaces, it detects the interfaces but shows zero traffic. Did I do something incorrect? .

    I did notice this message in the Linux by Zabbix Agent description. Is that the issue? If so, how do I capture the interface stats?
    .
    Official Linux template. Requires agent of Zabbix 3.0.14, 3.4.5 and 4.0.0 or newer.

    Known Issues:

    Description: Network discovery. Zabbix agent as of 4.2 doesn't support items such as net.if.status, net.if.speed
    .​
    Last edited by [email protected]; 08-12-2022, 16:14.
  • Answer selected by Markku at 08-12-2022, 17:27.
    admin@psmnv.com
    Member
    • May 2022
    • 41

    Lol, now I feel stupid. I never noticed that the date range in the upper right was defaulting to: 12/6 - 12/6. I assumed it would always default to today. I changed it to: 12/6 - 12/8 and now I see data in the main graph.


    Click image for larger version

Name:	image.png
Views:	278
Size:	104.6 KB
ID:	455746

    Comment

    • Markku
      Senior Member
      Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
      • Sep 2018
      • 1781

      #2
      The network traffic is shown in items net.if.in and net.if.out (https://www.zabbix.com/documentation...s/zabbix_agent). I can confirm that they are working normally (with whatever agent version I have ever used, currently this is 6.0.9):

      Click image for larger version

Name:	image.png
Views:	300
Size:	48.7 KB
ID:	455734

      What is the network interface name that you use on the RL server? What does the latest values look like? For example here:

      Click image for larger version

Name:	image.png
Views:	292
Size:	17.3 KB
ID:	455735


      Markku

      Comment

      • admin@psmnv.com
        Member
        • May 2022
        • 41

        #3
        The main graph shows no data for bond0...

        Click image for larger version

Name:	image.png
Views:	273
Size:	52.4 KB
ID:	455741


        But the Latest values look correct.

        Click image for larger version

Name:	image.png
Views:	293
Size:	43.7 KB
ID:	455739

        And if I click the Graph button to the right of (for example) Bits sent, that also looks correct.

        Click image for larger version

Name:	image.png
Views:	290
Size:	51.2 KB
ID:	455740

        Comment

        • Markku
          Senior Member
          Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
          • Sep 2018
          • 1781

          #4
          When did you start collecting data? The "Bits sent" graph is from today but the "Network traffic" graph is from two days ago. Should it have any data there?

          Markku

          Comment

          • admin@psmnv.com
            Member
            • May 2022
            • 41

            #5
            I first created the host and assigned the template (Linux by agent) 2 days ago.

            Comment

            • Markku
              Senior Member
              Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
              • Sep 2018
              • 1781

              #6
              Can you show the Bits sent and Network traffic graphs from the same timespan?

              Markku

              Comment

              • admin@psmnv.com
                Member
                • May 2022
                • 41

                #7
                Lol, now I feel stupid. I never noticed that the date range in the upper right was defaulting to: 12/6 - 12/6. I assumed it would always default to today. I changed it to: 12/6 - 12/8 and now I see data in the main graph.


                Click image for larger version

Name:	image.png
Views:	278
Size:	104.6 KB
ID:	455746

                Comment

                Working...