Re: How to add report in Dashboards

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
plataformamc3
Posts: 11
Joined: Wed Jul 03, 2013 2:56 am

Re: Report PDF is showing 0 kbits

Post by plataformamc3 »

No I don't, I'm accesing via http. Could it be that the event log report are not withdrawing data from database? I don't know how to check it.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Report PDF is showing 0 kbits

Post by lmiltchev »

Run the following command and show us the output:

Code: Select all

tail -50 /var/log/mysqld.log
Be sure to check out our Knowledgebase for helpful articles and solutions!
plataformamc3
Posts: 11
Joined: Wed Jul 03, 2013 2:56 am

Re: Report PDF is showing 0 kbits

Post by plataformamc3 »

Below is the result after running the tail command:

130904 9:50:02 [ERROR] /usr/libexec/mysqld: Table './nagios/nagios_logentries' is marked as crashed and last (automatic?) repair failed

Surfing the internet we have found a nagios document to repair the database (Nagios XI- Repairing the database). After following the document procedure thoroughly, tail command shows no error but the problem with event log report persists.
The most strange thing is that event log report works fine in legacy mode.
Are both, current and legacy mode, using the same database?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Report PDF is showing 0 kbits

Post by lmiltchev »

The info for the legacy reports is pulled from the logs. The info for the XI Event Log reports is pulled from the database. If you had crashed tables, it is possible you are not going to see anything for the same (Last24 Hours) period. Wait until some new data comes in, and try again later. You are sure that there are no more errors in the mysqld.log, right?
Be sure to check out our Knowledgebase for helpful articles and solutions!
plataformamc3
Posts: 11
Joined: Wed Jul 03, 2013 2:56 am

Re: Report PDF is showing 0 kbits

Post by plataformamc3 »

Event log reports is already working. You were right, we just had to wait.
Thank you so much for your advices.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Report PDF is showing 0 kbits

Post by slansing »

How is everything looking now?
plataformamc3
Posts: 11
Joined: Wed Jul 03, 2013 2:56 am

Re: Report PDF is showing 0 kbits

Post by plataformamc3 »

Hi, all is working ok now.
Thank you again.
Locked