Nagios Custom report

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vinish098
Posts: 136
Joined: Fri Oct 21, 2016 6:30 am

Nagios Custom report

Post by vinish098 »

Hi Team,

we need some customization in nagios xi reports.

We are monitoring few matrix of server including "CPU Stats". Can you please tell me In which database, (table name also) I can see the real time output data of this service like "CPU STATISTICS OK: user=20.80% system=3.22% iowait=0.10% idle=75.86%"

We have imported complete mysql dump including three db's "nagios, nagiosql, nagiosxi" in one of mysql client software.

If we get this real time data, we will be able to generate reports which we need.

Any help will be much appreciated.!!

Attaching sample report which we are expecting from Nagios XI.
You do not have the required permissions to view the files attached to this post.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Nagios Custom report

Post by mcapra »

The performance data is stored in a time-series database totally separate from MySQL.

As of Nagios XI 5.x, you can find this data in RRDs located in /usr/local/nagios/share/perfdata. You can interact with them using rrdtool.

Alternatively, there exists the rrdexport endpoint in the Nagios XI API which should be able to satisfy your use case with a bit of clever logic. See the "Help" section of your Nagios XI GUI for additional documentation regarding API usage.
Former Nagios employee
https://www.mcapra.com/
kyang

Re: Nagios Custom report

Post by kyang »

Thanks for the help @mcapra!

You could also find those examples here, if you didn't go to the "Help" section in Nagios XI.
https://stackoverflow.com/questions/415 ... a/41511211
Locked