unable to fetch bandwidth utilization report

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ganeshkagde
Posts: 49
Joined: Sun Apr 22, 2018 4:58 am

unable to fetch bandwidth utilization report

Post by ganeshkagde »

Hi Team,

I am not able to see any data while fetching bandwidth report, as it showing "No data to display".
for more reference i have attached snap.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: unable to fetch bandwidth utilization report

Post by scottwilkerson »

Are all interfaces of the switch like this?

Do you see any errors if you run the following command?

Code: Select all

LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lib/mrtg/mrtg.lock --confcache-file /var/lib/mrtg/mrtg.ok
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ganeshkagde
Posts: 49
Joined: Sun Apr 22, 2018 4:58 am

Re: unable to fetch bandwidth utilization report

Post by ganeshkagde »

scottwilkerson wrote:Are all interfaces of the switch like this?

Do you see any errors if you run the following command?

Code: Select all

LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lib/mrtg/mrtg.lock --confcache-file /var/lib/mrtg/mrtg.ok
Yes, I can see too many errors but unable to store out put in one single file.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: unable to fetch bandwidth utilization report

Post by scottwilkerson »

you should be able to run this

Code: Select all

LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lib/mrtg/mrtg.lock --confcache-file /var/lib/mrtg/mrtg.ok > /tmp/mrtg_output.txt
And then send us /tmp/mrtg_output.txt
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ganeshkagde
Posts: 49
Joined: Sun Apr 22, 2018 4:58 am

Re: unable to fetch bandwidth utilization report

Post by ganeshkagde »

Hi Team,

I am getting below error while putting above command.

2018-06-19 12:25:16: ERROR: I guess another mrtg is running. A lockfile (/var/lib/mrtg/mrtg.lock) aged
10 seconds is hanging around. If you are sure that no other mrtg
is running you can remove the lockfile
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: unable to fetch bandwidth utilization report

Post by scottwilkerson »

Can you show the results of the following?

Code: Select all

ls -al /var/lib/mrtg/mrtg.lock
If this file is more than 10 minutes old, it could be causing all of your problems, you can remove it if that is the case

Code: Select all

rm -f /var/lib/mrtg/mrtg.lock
then after about 15 minutes your graphs will start getting data.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ganeshkagde
Posts: 49
Joined: Sun Apr 22, 2018 4:58 am

Re: unable to fetch bandwidth utilization report

Post by ganeshkagde »

Hi Team,

while i am putting "ls -al /var/lib/mrtg/mrtg.lock" command it shows exact current time.

Kindly advise for the same.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: unable to fetch bandwidth utilization report

Post by scottwilkerson »

Can you send a system profile.zip from Admin -> System Profile for us to take a look at.

Also, it is all performance graphs that are affected or just these bandwidth checks?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked