NagiosXi not showing bandwidth data?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
mjr2015

NagiosXi not showing bandwidth data?

Post by mjr2015 »

Image

recently installed nagios and discovered my edge router X. I get the bandwidth but not the total up / down bytes.

any ideas?
bolson

Re: NagiosXi not showing bandwidth data?

Post by bolson »

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:

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!
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: NagiosXi not showing bandwidth data?

Post by lmiltchev »

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:
example01.PNG
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!
mjr2015

Re: NagiosXi not showing bandwidth data?

Post by mjr2015 »

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

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

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)
I ran the wizard. It still reports 0
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NagiosXi not showing bandwidth data?

Post by scottwilkerson »

When you say the following what exactly do you mean?
mjr2015 wrote: I get the bandwidth but not the total up / down bytes.
The Network Switch/Router wizard only produces the bandwidth, not total bytes across the interface.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked