Bandwith Graphs show 0/0 in all network hosts.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
psasines
Posts: 43
Joined: Wed Nov 21, 2018 5:19 am

Re: Bandwith Graphs show 0/0 in all network hosts.

Post by psasines »

Sorry, I did not notice.
Followed requested file
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Bandwith Graphs show 0/0 in all network hosts.

Post by tgriep »

I went through most of the interfaces for the devices that you specified and there are some interfaces returning data so not all of them are returning zero.
Can you run the following commands as root on the Nagios server and post back the results? The top 2 show traffic and the bottom 2 do not.

/usr/local/nagios/libexec/check_rrdtraf -f /var/lib/mrtg/10.250.99.10_10116.rrd -w 5.00,5.00 -c 8.00,8.00 -l M -vv
/usr/local/nagios/libexec/check_rrdtraf -f /var/lib/mrtg/10.250.99.10_10116.rrd -w 5.00,5.00 -c 8.00,8.00 -l G -vv
/usr/local/nagios/libexec/check_rrdtraf -f /var/lib/mrtg/10.250.99.10_10119.rrd -w 5.00,5.00 -c 8.00,8.00 -l M -vv
/usr/local/nagios/libexec/check_rrdtraf -f /var/lib/mrtg/10.250.99.10_10119.rrd -w 5.00,5.00 -c 8.00,8.00 -l G -vv

Another thing, Update the Network Switch / Router wizard in the XU GUI by going to the Admin > Manage Config Wizards menu.
Click the Check for Updates button and update the wizards and view the checks again to see if they show data in 10 to 15 minutes.

Also, run this as root and post the /tmp/ls.txt file here
ls -lR /var/lib/mrtg >/tmp/ls.txt
Be sure to check out our Knowledgebase for helpful articles and solutions!
psasines
Posts: 43
Joined: Wed Nov 21, 2018 5:19 am

Re: Bandwith Graphs show 0/0 in all network hosts.

Post by psasines »

Hi,

[root@localhost ~]# /usr/local/nagios/libexec/check_rrdtraf -f /var/lib/mrtg/10. 250.99.10_10116.rrd -w 5.00,5.00 -c 8.00,8.00 -l M -vv
Using RRD file: /var/lib/mrtg/10.250.99.10_10116.rrd
Input warning level(Mb/s): 5.00
Output warning level(Mb/s): 5.00
Input critical level (Mb/s): 8.00
Output critical level (Mb/s): 8.00
Fetching data with command: rrdtool fetch /var/lib/mrtg/10.250.99.10_10116.rrd A VERAGE -s-10minutes | grep -vi "nan"
RRD File Data:
ds0 ds1
Raw Input Traffic Value (b/s): 0.000000
Raw Output Traffic Value (b/s): 0.000000
Decimal Input Traffic Value (b/s): 0
Decimal Output Traffic Value (b/s): 0
Traffic IN scalar: 1000000
Traffic OUT scalar: 1000000
OK - Current BW in: 0Mbps Out: 0Mbps|in=0Mb/s;5.00;8.00 out=0Mb/s;5.00;8.00


[root@localhost ~]# /usr/local/nagios/libexec/check_rrdtraf -f /var/lib/mrtg/10.250.99.10_10116.rrd -w 5.00,5.00 -c 8.00,8.00 -l G -vv
Using RRD file: /var/lib/mrtg/10.250.99.10_10116.rrd
Input warning level(Gb/s): 5.00
Output warning level(Gb/s): 5.00
Input critical level (Gb/s): 8.00
Output critical level (Gb/s): 8.00
Fetching data with command: rrdtool fetch /var/lib/mrtg/10.250.99.10_10116.rrd AVERAGE -s-10minutes | grep -vi "nan"
RRD File Data:
ds0 ds1
Raw Input Traffic Value (b/s): 0.000000
Raw Output Traffic Value (b/s): 0.000000
Decimal Input Traffic Value (b/s): 0
Decimal Output Traffic Value (b/s): 0
Traffic IN scalar: 1000000000
Traffic OUT scalar: 1000000000
OK - Current BW in: 0Gbps Out: 0Gbps|in=0Gb/s;5.00;8.00 out=0Gb/s;5.00;8.00
You have new mail in /var/spool/mail/root

[root@localhost ~]# /usr/local/nagios/libexec/check_rrdtraf -f /var/lib/mrtg/10.250.99.10_10119.rrd -w 5.00,5.00 -c 8.00,8.00 -l M -vv
Using RRD file: /var/lib/mrtg/10.250.99.10_10119.rrd
Input warning level(Mb/s): 5.00
Output warning level(Mb/s): 5.00
Input critical level (Mb/s): 8.00
Output critical level (Mb/s): 8.00
Fetching data with command: rrdtool fetch /var/lib/mrtg/10.250.99.10_10119.rrd AVERAGE -s-10minutes | grep -vi "nan"
RRD File Data:
ds0 ds1
Raw Input Traffic Value (b/s): 0.000000
Raw Output Traffic Value (b/s): 0.000000
Decimal Input Traffic Value (b/s): 0
Decimal Output Traffic Value (b/s): 0
Traffic IN scalar: 1000000
Traffic OUT scalar: 1000000
OK - Current BW in: 0Mbps Out: 0Mbps|in=0Mb/s;5.00;8.00 out=0Mb/s;5.00;8.00


[root@localhost ~]# /usr/local/nagios/libexec/check_rrdtraf -f /var/lib/mrtg/10.250.99.10_10119.rrd -w 5.00,5.00 -c 8.00,8.00 -l G -vv
Using RRD file: /var/lib/mrtg/10.250.99.10_10119.rrd
Input warning level(Gb/s): 5.00
Output warning level(Gb/s): 5.00
Input critical level (Gb/s): 8.00
Output critical level (Gb/s): 8.00
Fetching data with command: rrdtool fetch /var/lib/mrtg/10.250.99.10_10119.rrd AVERAGE -s-10minutes | grep -vi "nan"
RRD File Data:
ds0 ds1
Raw Input Traffic Value (b/s): 0.000000
Raw Output Traffic Value (b/s): 0.000000
Decimal Input Traffic Value (b/s): 0
Decimal Output Traffic Value (b/s): 0
Traffic IN scalar: 1000000000
Traffic OUT scalar: 1000000000
OK - Current BW in: 0Gbps Out: 0Gbps|in=0Gb/s;5.00;8.00 out=0Gb/s;5.00;8.00


---------

I also updated the wizards and the performance graphs still don´t show data.
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Bandwith Graphs show 0/0 in all network hosts.

Post by tgriep »

Can you get these 2 files from the server and upload them to the ticket?

Code: Select all

/var/lib/mrtg/10.250.99.10_10116.rrd
/var/lib/mrtg/10.250.99.10_10119.rrd
Also, run the following commands as root and post the output here.

Code: Select all

cat /etc/cron.d/mrtg
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
tail -100 /var/log/cron
Thanks
Be sure to check out our Knowledgebase for helpful articles and solutions!
psasines
Posts: 43
Joined: Wed Nov 21, 2018 5:19 am

Re: Bandwith Graphs show 0/0 in all network hosts.

Post by psasines »

[root@localhost ~]# cat /etc/cron.d/mrtg
*/5 * * * * root 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 --user=nagios --group=nagios
[root@localhost ~]# LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
[root@localhost ~]# tail -100 /var/log/cron

Code: Select all

Jan 22 11:34:01 localhost CROND[30011]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php >> /usr/local/nagiosxi/var/eventman.log 2>&1)
Jan 22 11:34:01 localhost CROND[30013]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php >> /usr/local/nagiosxi/var/perfdataproc.log 2>&1)
Jan 22 11:34:01 localhost CROND[30015]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/nom.php >> /usr/local/nagiosxi/var/nom.log 2>&1)
Jan 22 11:34:01 localhost CROND[30018]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php >> /usr/local/nagiosxi/var/cmdsubsys.log 2>&1)
Jan 22 11:34:01 localhost CROND[30017]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/reportengine.php >> /usr/local/nagiosxi/var/reportengine.log 2>&1)
Jan 22 11:35:01 localhost CROND[812]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/deadpool.php >> /usr/local/nagiosxi/var/deadpool.log 2>&1)
Jan 22 11:35:01 localhost CROND[814]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php >> /usr/local/nagiosxi/var/perfdataproc.log 2>&1)
Jan 22 11:35:01 localhost CROND[817]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php >> /usr/local/nagiosxi/var/eventman.log 2>&1)
Jan 22 11:35:01 localhost CROND[813]: (root) CMD (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 --user=nagios --group=nagios)
Jan 22 11:35:01 localhost CROND[815]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php >> /usr/local/nagiosxi/var/cmdsubsys.log 2>&1)
Jan 22 11:35:01 localhost CROND[816]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/event_handler.php >> /usr/local/nagiosxi/var/event_handler.log 2>&1)
Jan 22 11:35:01 localhost CROND[819]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/reportengine.php >> /usr/local/nagiosxi/var/reportengine.log 2>&1)
Jan 22 11:35:01 localhost CROND[821]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/nom.php >> /usr/local/nagiosxi/var/nom.log 2>&1)
Jan 22 11:35:01 localhost CROND[818]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php >> /usr/local/nagiosxi/var/sysstat.log 2>&1)
Jan 22 11:35:01 localhost CROND[822]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/dbmaint.php >> /usr/local/nagiosxi/var/dbmaint.log 2>&1)
Jan 22 11:35:01 localhost CROND[820]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php >> /usr/local/nagiosxi/var/feedproc.log 2>&1)
Jan 22 11:35:01 localhost CROND[823]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cleaner.php >> /usr/local/nagiosxi/var/cleaner.log 2>&1)
Jan 22 11:36:01 localhost CROND[3639]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/deadpool.php >> /usr/local/nagiosxi/var/deadpool.log 2>&1)
Jan 22 11:36:01 localhost CROND[3640]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php >> /usr/local/nagiosxi/var/perfdataproc.log 2>&1)
Jan 22 11:36:01 localhost CROND[3641]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php >> /usr/local/nagiosxi/var/sysstat.log 2>&1)
Jan 22 11:36:01 localhost CROND[3643]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php >> /usr/local/nagiosxi/var/feedproc.log 2>&1)
Jan 22 11:36:01 localhost CROND[3644]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php >> /usr/local/nagiosxi/var/cmdsubsys.log 2>&1)
Jan 22 11:36:01 localhost CROND[3645]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/reportengine.php >> /usr/local/nagiosxi/var/reportengine.log 2>&1)
Jan 22 11:36:01 localhost CROND[3642]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/event_handler.php >> /usr/local/nagiosxi/var/event_handler.log 2>&1)
Jan 22 11:36:01 localhost CROND[3646]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/nom.php >> /usr/local/nagiosxi/var/nom.log 2>&1)
Jan 22 11:36:01 localhost CROND[3649]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cleaner.php >> /usr/local/nagiosxi/var/cleaner.log 2>&1)
Jan 22 11:36:01 localhost CROND[3648]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php >> /usr/local/nagiosxi/var/eventman.log 2>&1)
Jan 22 11:37:01 localhost CROND[6593]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php >> /usr/local/nagiosxi/var/eventman.log 2>&1)
Jan 22 11:37:01 localhost CROND[6591]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php >> /usr/local/nagiosxi/var/cmdsubsys.log 2>&1)
Jan 22 11:37:01 localhost CROND[6594]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php >> /usr/local/nagiosxi/var/perfdataproc.log 2>&1)
Jan 22 11:37:01 localhost CROND[6592]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/event_handler.php >> /usr/local/nagiosxi/var/event_handler.log 2>&1)
Jan 22 11:37:01 localhost CROND[6595]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php >> /usr/local/nagiosxi/var/sysstat.log 2>&1)
Jan 22 11:37:01 localhost CROND[6596]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/nom.php >> /usr/local/nagiosxi/var/nom.log 2>&1)
Jan 22 11:37:01 localhost CROND[6599]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/reportengine.php >> /usr/local/nagiosxi/var/reportengine.log 2>&1)
Jan 22 11:37:01 localhost CROND[6598]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php >> /usr/local/nagiosxi/var/feedproc.log 2>&1)
Jan 22 11:37:01 localhost CROND[6600]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cleaner.php >> /usr/local/nagiosxi/var/cleaner.log 2>&1)
Jan 22 11:37:01 localhost CROND[6602]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/deadpool.php >> /usr/local/nagiosxi/var/deadpool.log 2>&1)
Jan 22 11:38:01 localhost CROND[9499]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php >> /usr/local/nagiosxi/var/eventman.log 2>&1)
Jan 22 11:38:01 localhost CROND[9501]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/event_handler.php >> /usr/local/nagiosxi/var/event_handler.log 2>&1)
Jan 22 11:38:01 localhost CROND[9498]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/deadpool.php >> /usr/local/nagiosxi/var/deadpool.log 2>&1)
Jan 22 11:38:01 localhost CROND[9500]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php >> /usr/local/nagiosxi/var/perfdataproc.log 2>&1)
Jan 22 11:38:01 localhost CROND[9502]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php >> /usr/local/nagiosxi/var/sysstat.log 2>&1)
Jan 22 11:38:01 localhost CROND[9503]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php >> /usr/local/nagiosxi/var/feedproc.log 2>&1)
Jan 22 11:38:01 localhost CROND[9505]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/reportengine.php >> /usr/local/nagiosxi/var/reportengine.log 2>&1)
Jan 22 11:38:01 localhost CROND[9506]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/nom.php >> /usr/local/nagiosxi/var/nom.log 2>&1)
Jan 22 11:38:01 localhost CROND[9504]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php >> /usr/local/nagiosxi/var/cmdsubsys.log 2>&1)
Jan 22 11:38:01 localhost CROND[9510]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cleaner.php >> /usr/local/nagiosxi/var/cleaner.log 2>&1)
Jan 22 11:39:01 localhost CROND[12381]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cleaner.php >> /usr/local/nagiosxi/var/cleaner.log 2>&1)
Jan 22 11:39:01 localhost CROND[12382]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php >> /usr/local/nagiosxi/var/eventman.log 2>&1)
Jan 22 11:39:01 localhost CROND[12379]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php >> /usr/local/nagiosxi/var/feedproc.log 2>&1)
Jan 22 11:39:01 localhost CROND[12383]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/nom.php >> /usr/local/nagiosxi/var/nom.log 2>&1)
Jan 22 11:39:01 localhost CROND[12384]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php >> /usr/local/nagiosxi/var/cmdsubsys.log 2>&1)
Jan 22 11:39:01 localhost CROND[12385]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php >> /usr/local/nagiosxi/var/sysstat.log 2>&1)
Jan 22 11:39:02 localhost CROND[12386]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/event_handler.php >> /usr/local/nagiosxi/var/event_handler.log 2>&1)
Jan 22 11:39:02 localhost CROND[12388]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php >> /usr/local/nagiosxi/var/perfdataproc.log 2>&1)
Jan 22 11:39:02 localhost CROND[12390]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/reportengine.php >> /usr/local/nagiosxi/var/reportengine.log 2>&1)
Jan 22 11:39:02 localhost CROND[12398]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/deadpool.php >> /usr/local/nagiosxi/var/deadpool.log 2>&1)
Jan 22 11:40:01 localhost CROND[15704]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php >> /usr/local/nagiosxi/var/eventman.log 2>&1)
Jan 22 11:40:01 localhost CROND[15705]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cleaner.php >> /usr/local/nagiosxi/var/cleaner.log 2>&1)
Jan 22 11:40:01 localhost CROND[15707]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/reportengine.php >> /usr/local/nagiosxi/var/reportengine.log 2>&1)
Jan 22 11:40:01 localhost CROND[15706]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php >> /usr/local/nagiosxi/var/feedproc.log 2>&1)
Jan 22 11:40:01 localhost CROND[15710]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php >> /usr/local/nagiosxi/var/sysstat.log 2>&1)
Jan 22 11:40:01 localhost CROND[15708]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/nom.php >> /usr/local/nagiosxi/var/nom.log 2>&1)
Jan 22 11:40:01 localhost CROND[15709]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php >> /usr/local/nagiosxi/var/perfdataproc.log 2>&1)
Jan 22 11:40:01 localhost CROND[15711]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/event_handler.php >> /usr/local/nagiosxi/var/event_handler.log 2>&1)
Jan 22 11:40:01 localhost CROND[15712]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/dbmaint.php >> /usr/local/nagiosxi/var/dbmaint.log 2>&1)
Jan 22 11:40:01 localhost CROND[15713]: (root) CMD (/usr/lib64/sa/sa1 1 1)
Jan 22 11:40:01 localhost CROND[15715]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/deadpool.php >> /usr/local/nagiosxi/var/deadpool.log 2>&1)
Jan 22 11:40:01 localhost CROND[15714]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php >> /usr/local/nagiosxi/var/cmdsubsys.log 2>&1)
Jan 22 11:40:01 localhost CROND[15716]: (root) CMD (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 --user=nagios --group=nagios)
Jan 22 11:41:01 localhost CROND[18483]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/deadpool.php >> /usr/local/nagiosxi/var/deadpool.log 2>&1)
Jan 22 11:41:01 localhost CROND[18484]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php >> /usr/local/nagiosxi/var/eventman.log 2>&1)
Jan 22 11:41:01 localhost CROND[18486]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php >> /usr/local/nagiosxi/var/sysstat.log 2>&1)
Jan 22 11:41:01 localhost CROND[18485]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php >> /usr/local/nagiosxi/var/perfdataproc.log 2>&1)
Jan 22 11:41:01 localhost CROND[18488]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php >> /usr/local/nagiosxi/var/cmdsubsys.log 2>&1)
Jan 22 11:41:01 localhost CROND[18487]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/event_handler.php >> /usr/local/nagiosxi/var/event_handler.log 2>&1)
Jan 22 11:41:01 localhost CROND[18489]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/reportengine.php >> /usr/local/nagiosxi/var/reportengine.log 2>&1)
Jan 22 11:41:01 localhost CROND[18490]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php >> /usr/local/nagiosxi/var/feedproc.log 2>&1)
Jan 22 11:41:01 localhost CROND[18491]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/nom.php >> /usr/local/nagiosxi/var/nom.log 2>&1)
Jan 22 11:41:01 localhost CROND[18497]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cleaner.php >> /usr/local/nagiosxi/var/cleaner.log 2>&1)
Jan 22 11:42:01 localhost CROND[21374]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/deadpool.php >> /usr/local/nagiosxi/var/deadpool.log 2>&1)
Jan 22 11:42:01 localhost CROND[21378]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php >> /usr/local/nagiosxi/var/eventman.log 2>&1)
Jan 22 11:42:01 localhost CROND[21379]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php >> /usr/local/nagiosxi/var/perfdataproc.log 2>&1)
Jan 22 11:42:01 localhost CROND[21380]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php >> /usr/local/nagiosxi/var/feedproc.log 2>&1)
Jan 22 11:42:01 localhost CROND[21377]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php >> /usr/local/nagiosxi/var/sysstat.log 2>&1)
Jan 22 11:42:01 localhost CROND[21381]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php >> /usr/local/nagiosxi/var/cmdsubsys.log 2>&1)
Jan 22 11:42:01 localhost CROND[21376]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/event_handler.php >> /usr/local/nagiosxi/var/event_handler.log 2>&1)
Jan 22 11:42:01 localhost CROND[21375]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/nom.php >> /usr/local/nagiosxi/var/nom.log 2>&1)
Jan 22 11:42:01 localhost CROND[21383]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cleaner.php >> /usr/local/nagiosxi/var/cleaner.log 2>&1)
Jan 22 11:42:01 localhost CROND[21382]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/reportengine.php >> /usr/local/nagiosxi/var/reportengine.log 2>&1)
Jan 22 11:43:01 localhost CROND[24376]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/deadpool.php >> /usr/local/nagiosxi/var/deadpool.log 2>&1)
Jan 22 11:43:01 localhost CROND[24377]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php >> /usr/local/nagiosxi/var/eventman.log 2>&1)
Jan 22 11:43:01 localhost CROND[24378]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php >> /usr/local/nagiosxi/var/sysstat.log 2>&1)
Jan 22 11:43:01 localhost CROND[24379]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/event_handler.php >> /usr/local/nagiosxi/var/event_handler.log 2>&1)
Jan 22 11:43:01 localhost CROND[24380]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php >> /usr/local/nagiosxi/var/feedproc.log 2>&1)
Jan 22 11:43:01 localhost CROND[24381]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php >> /usr/local/nagiosxi/var/perfdataproc.log 2>&1)
Jan 22 11:43:01 localhost CROND[24383]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/nom.php >> /usr/local/nagiosxi/var/nom.log 2>&1)
Jan 22 11:43:01 localhost CROND[24382]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php >> /usr/local/nagiosxi/var/cmdsubsys.log 2>&1)
Jan 22 11:43:01 localhost CROND[24384]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/reportengine.php >> /usr/local/nagiosxi/var/reportengine.log 2>&1)
Jan 22 11:43:01 localhost CROND[24385]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cleaner.php >> /usr/local/nagiosxi/var/cleaner.log 2>&1)
[root@localhost ~]#
You do not have the required permissions to view the files attached to this post.
Last edited by tgriep on Tue Jan 22, 2019 3:39 pm, edited 1 time in total.
Reason: Added Code Wraps around large output.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Bandwith Graphs show 0/0 in all network hosts.

Post by tgriep »

The rrd files are filling up with NAN's (NaN means Not a Number) which will show as zero bandwidth.

Try this, re-run the wizard against the device at IP address 10.250.99.10.
When you run the wizard, make sure you check the Scan Interfaces box and you put in 100000000 for the Default Port Speed.
Click on the Next button and verify that the settings for that device are correct, name, speed, description, etc.

Finish the wizard and let the system run for 15 to 20 minutes to gather information and then view the Bandwidth to see if it is correct.
If not, delete the rrd files for it in the /var/lib/mrtg folder, wait another 20 minutes and check the bandwidth.
Be sure to check out our Knowledgebase for helpful articles and solutions!
psasines
Posts: 43
Joined: Wed Nov 21, 2018 5:19 am

Re: Bandwith Graphs show 0/0 in all network hosts.

Post by psasines »

Hi,

I did what was mentioned in the previous post, but unfortunately it remains the same.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Bandwith Graphs show 0/0 in all network hosts.

Post by tgriep »

Can you run the snmpwalk command against the host we have been looking at and post the /tmp/walk.txt file to the ticket?

Code: Select all

snmpwalk 10.250.99.10 -v 3 -u sct-it-network -a SHA -A 'Sct@Snmp#It17' -x AES -X 'Sct@snmP#iT17' -l authPriv -t 600 >/tmp/walk.txt
Before you add it to the ticket, take a look at is for any errors and resolve them if you can.

Then run these as root and post the output here so I can view the versions of the applications that are installed on your server.

Code: Select all

yum installed |grep -i rrd
yum installed |grep -i snmp
yum installed |grep -i mrtg
Be sure to check out our Knowledgebase for helpful articles and solutions!
psasines
Posts: 43
Joined: Wed Nov 21, 2018 5:19 am

Re: Bandwith Graphs show 0/0 in all network hosts.

Post by psasines »

Hi,

[root@localhost tmp]# yum list installed | grep -i rrd
rrdtool.x86_64 1.3.8-10.el6 @base
rrdtool-perl.x86_64 1.3.8-10.el6 @base
rrdtool-python.x86_64 1.3.8-10.el6 @base


[root@localhost tmp]# yum list installed | grep -i snmp
net-snmp.x86_64 1:5.5-60.el6 @base
net-snmp-devel.x86_64 1:5.5-60.el6 @base
net-snmp-libs.x86_64 1:5.5-60.el6 @base
net-snmp-perl.x86_64 1:5.5-60.el6 @base
net-snmp-utils.x86_64 1:5.5-60.el6 @base
perl-Net-SNMP.noarch 5.2.0-4.el6 @epel
perl-SNMP_Session.noarch 1.12-4.el6 @base
php-snmp.x86_64 5.3.3-49.el6 @base
snmptt.noarch 1.4-0.9.beta2.el6 @epel


[root@localhost tmp]# yum list installed | grep -i mrtg
[root@localhost tmp]#
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Bandwith Graphs show 0/0 in all network hosts.

Post by tgriep »

Thanks for the walk.txt file. Everything looks good in it which confirms the Authentication is working.
And the output of the yum commands show that the package are installed and that the versions match a default install.

Let's try this, go to this folder

Code: Select all

/var/lib/mrtg
And delete the .rrd files for that host.

Wait for 5 minutes and see if the rrd files get recreated and then another 20 minutes to see if the checks work in the XI GUI.

Let us know how it works out.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked