NagiosXi not showing bandwidth data?
NagiosXi not showing bandwidth data?
recently installed nagios and discovered my edge router X. I get the bandwidth but not the total up / down bytes.
any ideas?
Re: NagiosXi not showing bandwidth data?
Hello mjr2015,
Which version of Nagios XI have you deployed. You'll find the version number in the lower left corner of the home screen. And are you saying that all of your bandwidth checks are returning 0 in and out on all of your ports? If so, and you're running version 5.5.7 or 5.5.8, it's most likely a permissions issue. Running the following commands from a console or terminal session on your Nagios XI server will resolve the issue:
10 minutes after running these commands you should see bandwidth data. Let us know if this resolves your issue.
Thank you!
Which version of Nagios XI have you deployed. You'll find the version number in the lower left corner of the home screen. And are you saying that all of your bandwidth checks are returning 0 in and out on all of your ports? If so, and you're running version 5.5.7 or 5.5.8, it's most likely a permissions issue. Running the following commands from a console or terminal session on your Nagios XI server will resolve the issue:
Code: Select all
chown "apache:nagios" /etc/mrtg -R
chmod 775 /etc/mrtg -R
chown "apache:nagios" /var/lib/mrtg -R
chmod 775 /var/lib/mrtg -R
10 minutes after running these commands you should see bandwidth data. Let us know if this resolves your issue.
Thank you!
Re: NagiosXi not showing bandwidth data?
In addition to what @ bolson said - how did you create your check? Did you run our Network Switch / Router wizard? If you did, you should be able to see "in" and "out" Mb/s (last, avg, and max).
Example:
Example:
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: NagiosXi not showing bandwidth data?
I'm sorry I thought the forum would generate an email when responded to.. i guess not!
but I am running 5.5.8 and I ran the suggested above commands however those users don't exist on my machine
but I am running 5.5.8 and I ran the suggested above commands however those users don't exist on my machine
Code: Select all
root@nagios:~# ll /etc/mrtg
total 30
drwxrwxr-x 4 www-data nagios 6 Dec 24 12:41 ./
drwxr-xr-x 113 root root 208 Jan 2 06:10 ../
drwxrwxr-x 2 www-data nagios 2 Dec 24 11:37 archive/
drwxrwxr-x 2 www-data nagios 3 Dec 24 12:41 conf.d/
-rwxrwxr-x 1 www-data nagios 788 Dec 24 11:37 mrtg.cfg*
-rwxrwxr-x 1 www-data www-data 0 Dec 24 12:41 mrtg.ok*
root@nagios:~# ll /var/lib/mrtg
total 1093
drwxrwxr-x 2 www-data nagios 13 Jan 11 07:10 ./
drwxr-xr-x 48 root root 48 Dec 24 13:15 ../
-rw-rw-r-- 1 www-data nagios 105312 Jan 11 07:10 10.1.20.1_10.rrd
-rw-rw-r-- 1 www-data nagios 105312 Jan 11 07:10 10.1.20.1_11.rrd
-rw-rw-r-- 1 www-data nagios 105312 Jan 11 07:10 10.1.20.1_2.rrd
-rw-rw-r-- 1 www-data nagios 105312 Jan 11 07:10 10.1.20.1_3.rrd
-rw-rw-r-- 1 www-data nagios 105312 Jan 11 07:10 10.1.20.1_4.rrd
-rw-rw-r-- 1 www-data nagios 105312 Jan 11 07:10 10.1.20.1_5.rrd
-rw-rw-r-- 1 www-data nagios 105312 Jan 11 07:10 10.1.20.1_6.rrd
-rw-rw-r-- 1 www-data nagios 105312 Jan 11 07:10 10.1.20.1_7.rrd
-rw-rw-r-- 1 www-data nagios 105312 Jan 11 07:10 10.1.20.1_8.rrd
-rw-rw-r-- 1 www-data nagios 105312 Jan 11 07:10 10.1.20.1_9.rrd
-rw-r--r-- 1 nagios nagios 0 Jan 11 07:10 mrtg.ok
I ran the wizard. It still reports 0how did you create your check? Did you run our Network Switch / Router wizard? If you did, you should be able to see "in" and "out" Mb/s (last, avg, and max)
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NagiosXi not showing bandwidth data?
When you say the following what exactly do you mean?
The Network Switch/Router wizard only produces the bandwidth, not total bytes across the interface.mjr2015 wrote: I get the bandwidth but not the total up / down bytes.