Page 2 of 2

Re: Monitor Disk I/O

Posted: Fri Mar 29, 2019 2:15 pm
by npolovenko
@jvaira, Can you take a screenshot of the graph and then go to the Advanced service settings and take a screenshot of the "Advanced Status Detail" page? I'd like to see the performance data output so I can test it out in the lab.
Also, please upload the RRD and XML files for this service from /usr/local/nagios/var/spool/perfdata folder.

Re: Monitor Disk I/O

Posted: Mon Apr 01, 2019 5:07 pm
by jvaira
@npolovenko The only files I am seeing in that folder are named timestamp.perfdata.service and timestamp.perdata.host

Re: Monitor Disk I/O

Posted: Tue Apr 02, 2019 1:06 pm
by npolovenko
@jvaira, Sorry, wrong path. XML and RRD files should be in this folder:
/usr/local/nagios/share/perfdata/
Also, please upload a screenshot of the "Advanced Status Detail" page.

Re: Monitor Disk I/O

Posted: Tue Apr 02, 2019 2:32 pm
by jvaira
Hello @npolovenko attached are the requested files.

Re: Monitor Disk I/O

Posted: Tue Apr 02, 2019 4:55 pm
by tgriep
Your question
"Is this because the performance graph in Nagios registers any reading less than zero seconds as a zero?"

Is somewhat true, the graphs can only show up to 2 decimal points. Anything smaller that that, it will not be displayed.
Also, the storage of the performance data is stored in a Round Robin Database and the rrdtool application that stores the data, is probably doing the rounding of the data to zero

But your screen capture truly shows zero.

Re: Monitor Disk I/O

Posted: Tue Apr 02, 2019 6:55 pm
by jvaira
Tom,
Thank you for the clarification. That would make sense as the read and write latency are usually around 3 milliseconds or 0.003 seconds. Since that is the case do I have any options for graphing IO ?

Re: Monitor Disk I/O

Posted: Wed Apr 03, 2019 12:56 pm
by tgriep
I took a look at the checkcounter commands and the check_pdh command and I did not see a modifier option to change the output of the command to let's say, multiply it by 1000 to get a whole number.
A couple of options are to write a wrapper script that runs the check and changes the output of the data to something larger so it will graph.
Or, find a powershell script that does what you need and run that instead.

Re: Monitor Disk I/O

Posted: Wed Apr 03, 2019 4:31 pm
by jvaira
Thanks Tom, I'll just go the Powershell route.

Re: Monitor Disk I/O

Posted: Wed Apr 03, 2019 4:55 pm
by tgriep
Your welcome. Let us know how it works out for you.