Page 1 of 1

unable to fetch bandwidth utilization report

Posted: Tue Jun 12, 2018 10:20 pm
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.

Re: unable to fetch bandwidth utilization report

Posted: Wed Jun 13, 2018 9:33 am
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

Re: unable to fetch bandwidth utilization report

Posted: Thu Jun 14, 2018 7:13 am
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.

Re: unable to fetch bandwidth utilization report

Posted: Thu Jun 14, 2018 8:37 am
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

Re: unable to fetch bandwidth utilization report

Posted: Tue Jun 19, 2018 1:57 am
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

Re: unable to fetch bandwidth utilization report

Posted: Tue Jun 19, 2018 8:35 am
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.

Re: unable to fetch bandwidth utilization report

Posted: Mon Jun 25, 2018 11:22 pm
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.

Re: unable to fetch bandwidth utilization report

Posted: Tue Jun 26, 2018 6:37 am
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?