Page 1 of 1

Modify output of Paging File check?

Posted: Fri Nov 30, 2012 7:37 am
by Brian_M
Hello,

We've been trying to troubleshoot some random software issues that's causing unexpected server reboots. The application vendor wishes to monitor paging file usage to try and spot some workload patterns. I've configured the default Paging File check in the host wizard, but it's simply displaying percent of the paging file used. In addition to percent utilized, we would also like to display the size in Gb of the paging files across all disks (total), and how much is used in Gb. We would basically like the output of this check to mimic the output of the physical disk usage checks, e.g.:

Paging File total: 20Gb - used: 5Gb (25%) - free 15Gb (75%).

How do I need to modify the check command to include this information? We don't need warning / critical thresholds, just a graphical representation of these figures graphed to help with toubleshooting.

Many Thanks,
Brian

Re: Modify output of Paging File check?

Posted: Fri Nov 30, 2012 8:12 am
by scottwilkerson
So we know what plugin your check is currently using, which wizard did you run?

Re: Modify output of Paging File check?

Posted: Fri Nov 30, 2012 8:43 am
by Brian_M
Hi Scott,

I used the standard Windows Server wizard, checked the Paging File performance counter at the bottom.

-Brian

Re: Modify output of Paging File check?

Posted: Fri Nov 30, 2012 2:05 pm
by lmiltchev
Open the "Performance Monitor" on your Windows box, and add a new counter - Process->Page File Bytes. Change the command in Nagios XI, so that it would use: "\\Process(_Total)\\Page File Bytes".

Hope this helps.