Reporting

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Reporting

Post by MSPk »

I have updated a script - Check_CPU_Stats.sh (the old script was generating an alert only when iowait breaches the threshold and we wanted the user/system/iowait to be chcked and an alert be raised in case of a breach. I now have the script Check_CPU_Stats.sh version 2.3.6 in all my linux servers. I have made this change about 2weeks back and this morning when I tried to get the perfdata for these servers (part of my reporting) I have observed that post this change my rrd's where not getting updated..!!! I get nan for all the fields post the change. I logged into nagios server to find that the xml sheets are up-to-date but the respective rrd's where not updated since the change. As part of change I have just replaced the old script with the new one, Did I miss anything here?

New Script
check_cpu_stats.sh.sh
Screenshot of the Perfdata folder:

[img]
cpu_stats%20issue.png
[/img]
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Reporting

Post by abrist »

Could you post the output of running the new script from the cli? Does it output valid performance data?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Reporting

Post by MSPk »

abrist wrote:I don't know if we currently have plans to roll it into XI, though it will most definitely be available on the exchange as an XI component. How is the component coming Box? (sounds like you have some patient fans :)
I have downloaded this add-on from nagios exchange and tried to use it, I got to the point where we select the server and then get the list of rrd's & xml's available for the host but when I click on the xml or rrd noting happens. Please advise
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Reporting

Post by tmcdonald »

Are you talking about @Box293's plugin? Since we don't develop that there is not much we can do to assist. You might want to try PMing him directly as I doubt he is checking this thread after 4 months.
Former Nagios employee
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Reporting

Post by MSPk »

Please close this thread as solved
Locked