NagiosXi not showing bandwidth data?
Posted: Tue Dec 25, 2018 3:02 am
recently installed nagios and discovered my edge router X. I get the bandwidth but not the total up / down bytes.
any ideas?
Support for Nagios products and services
https://support.nagios.com/forum/
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 -RCode: 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)
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.