Bandwidth Usage Report Error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
zuehaaro
Posts: 5
Joined: Wed May 11, 2016 8:15 pm

Bandwidth Usage Report Error

Post by zuehaaro »

I have been working with Nagios for a class and during the demonstration the instructor and all the students ran into this error while installing Nagiosgraph. "No valid devices are being monitored at this time."

I found another post on this forum that had a similar issue, but not a working solution.
I did post the same information that was requested in that forum that might be helpful in a word document containing screenshots of the error, the output of tail -f /var/log/httpd/error_log and a sample of the section of lines that were marked with errors in /usr/local/nagios/html/includes/utils-xmlsysstat.inc.php.

I have attached this information in a word document to this post.
Bandwidth report error.docx
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: Bandwidth Usage Report Error

Post by tgriep »

It looks like there are some errors in the mysql database, can you login as root to the XI server, run the following to repair it and see if this resolves the issue?

Code: Select all

cd /usr/local/nagiosxi/scripts
./repair_databases.sh
Be sure to check out our Knowledgebase for helpful articles and solutions!
zuehaaro
Posts: 5
Joined: Wed May 11, 2016 8:15 pm

Re: Bandwidth Usage Report Error

Post by zuehaaro »

Tried the repair. Did not fix the error.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Bandwidth Usage Report Error

Post by Box293 »

Can you please post the full output of running the repair_databases.sh please.
zuehaaro wrote:all the students ran into this error while installing Nagiosgraph.
Nagiosgraph is not part of XI. Why are you trying to install this when XI already has graphing built in?

In relation to the Bandwidth Usage Report, had you run the Network Switch / Router wizard to monitor a device. This report is based off services created by that wizard.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
zuehaaro
Posts: 5
Joined: Wed May 11, 2016 8:15 pm

Re: Bandwidth Usage Report Error

Post by zuehaaro »

After seeing Box293's post I realize that I have confused two separate issues in my initial posting. The Nagiosgraph issue is another issue that has to do with the rrd directory not having any information. When I go to IPaddress/nagios/cgi-bin/show.cgi I get the error "No data in rrd directory /var/nagios/rrd."

This issue with the bandwidth report is most likely not related to nagiosgraph.

I have since attempted to use the switch/router wizard, but the wizard is unable to detect ports on the router. It says that this is most likely due to the switch being down, not at the correct address, or having SNMP support disabled. I know that the router is working and at the correct address, but I have been unable to access SNMP options. I am using a Linksys E1200 router for this home network. I cannot get into configuration mode from the GUI interface. I also am not able to telnet into the router because it simply gives me a "cannot connect on port 23 (default)" error. I have already enabled remote connection from the GUI interface and selected any IP address, but still cannot connect.

I have also posted the output of the database repair log here.
repairoutput.txt
You do not have the required permissions to view the files attached to this post.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Bandwidth Usage Report Error

Post by Box293 »

After checking the repair output, the database seems fine. Are you still seeing messages indicating that there is still a database problem?
zuehaaro wrote: The Nagiosgraph issue is another issue that has to do with the rrd directory not having any information. When I go to IPaddress/nagios/cgi-bin/show.cgi I get the error "No data in rrd directory /var/nagios/rrd."
show.cgi does not come in Nagios XI and hence we cannot support your issue. Nagiosgraph is not part of XI. Why are you trying to install/use this when XI already has graphing built in?

zuehaaro wrote:I have since attempted to use the switch/router wizard, but the wizard is unable to detect ports on the router. It says that this is most likely due to the switch being down, not at the correct address, or having SNMP support disabled. I know that the router is working and at the correct address, but I have been unable to access SNMP options.
You are going to need to be able to confirm your snmp settings before proceeding.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
zuehaaro
Posts: 5
Joined: Wed May 11, 2016 8:15 pm

Re: Bandwidth Usage Report Error

Post by zuehaaro »

I talked with someone at Linksys about my router model E1200 and was told that while it can support SNMP, it does not have a configuration mode or any select able options for it meaning that it can only act as a pass through. Judging by this response I think I can assume that because this home class router does not have SNMP support I will not be able to retrieve any data from bandwidth reports in Nagios.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Bandwidth Usage Report Error

Post by rkennedy »

Ah - only some home router will support SNMP checking unfortunately. It'd be pretty cool if they enabled it all around!

Let us know if you have any further questions about Nagios.
Former Nagios Employee
Locked