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.
unable to fetch bandwidth utilization report
-
ganeshkagde
- Posts: 49
- Joined: Sun Apr 22, 2018 4:58 am
unable to fetch bandwidth utilization report
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
Are all interfaces of the switch like this?
Do you see any errors if you run the following command?
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-
ganeshkagde
- Posts: 49
- Joined: Sun Apr 22, 2018 4:58 am
Re: unable to fetch bandwidth utilization report
Yes, I can see too many errors but unable to store out put in one single file.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
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: unable to fetch bandwidth utilization report
you should be able to run this
And then send us /tmp/mrtg_output.txt
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-
ganeshkagde
- Posts: 49
- Joined: Sun Apr 22, 2018 4:58 am
Re: unable to fetch bandwidth utilization report
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
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
Can you show the results of the following?
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
then after about 15 minutes your graphs will start getting data.
Code: Select all
ls -al /var/lib/mrtg/mrtg.lockCode: Select all
rm -f /var/lib/mrtg/mrtg.lock-
ganeshkagde
- Posts: 49
- Joined: Sun Apr 22, 2018 4:58 am
Re: unable to fetch bandwidth utilization report
Hi Team,
while i am putting "ls -al /var/lib/mrtg/mrtg.lock" command it shows exact current time.
Kindly advise for the same.
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
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?
Also, it is all performance graphs that are affected or just these bandwidth checks?