Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check Performance Monitor
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
wincheck_counter.exe stopped working for me, so I quickly threw this together mimicking that plugin.
I have not tested this in all environments. Requires typeperf.exe to work, works for me on 2003 and XP. It also needs access to write a temp file to %TEMP% environment variable (output of the typeperf.exe command). Some examples of usage:
cscript /nologo C:\nrpe_nt\plugins\perfmon.vbs -C "LogicalDisk" -I "C:" -P "Free Megabytes" -f "%f MB" -w 500 -c 100
cscript /nologo C:\nrpe_nt\plugins\perfmon.vbs -C "Memory" -P "Pages/sec" -f "%f" -w 100 -c 500
cscript /nologo C:\nrpe_nt\plugins\perfmon.vbs -C "Memory" -P "Available MBytes" -f "%f" -w 50 -c 10
cscript /nologo C:\nrpe_nt\plugins\perfmon.vbs -C "Processor" -I "_Total" -P "% Privileged Time" -f "%f" -w 95 -c 98
cscript /nologo C:\nrpe_nt\plugins\perfmon.vbs -C "PhysicalDisk" -I "_Total" -P "Split IO/sec" -f "%f" -w 100 -c 500
Edit: improved version, old version was doing an alphanumeric compare. Rookie mistake on my part.
I have not tested this in all environments. Requires typeperf.exe to work, works for me on 2003 and XP. It also needs access to write a temp file to %TEMP% environment variable (output of the typeperf.exe command). Some examples of usage:
cscript /nologo C:\nrpe_nt\plugins\perfmon.vbs -C "LogicalDisk" -I "C:" -P "Free Megabytes" -f "%f MB" -w 500 -c 100
cscript /nologo C:\nrpe_nt\plugins\perfmon.vbs -C "Memory" -P "Pages/sec" -f "%f" -w 100 -c 500
cscript /nologo C:\nrpe_nt\plugins\perfmon.vbs -C "Memory" -P "Available MBytes" -f "%f" -w 50 -c 10
cscript /nologo C:\nrpe_nt\plugins\perfmon.vbs -C "Processor" -I "_Total" -P "% Privileged Time" -f "%f" -w 95 -c 98
cscript /nologo C:\nrpe_nt\plugins\perfmon.vbs -C "PhysicalDisk" -I "_Total" -P "Split IO/sec" -f "%f" -w 100 -c 500
Edit: improved version, old version was doing an alphanumeric compare. Rookie mistake on my part.
Reviews (0)
Be the first to review this listing!