Home Directory Plugins Operating Systems Windows NRPE This vbscript will monitor processes on Windows Systems using NRPE

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

This vbscript will monitor processes on Windows Systems using NRPE

Rating
0 votes
Favoured:
0
Hits
159376
Files:
FileDescription
Check_Processes.vbsUnknown Tag: 'FileDesc1'
Check_Processes.iniUnknown Tag: 'FileDesc2'
Nagios CSP

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!
The processes to be monitored are described in a .ini file in the same directory as the .vbs file. Information about processes to be monitored is stored on the monitored server, allowing people to add or remove processes to monitor without logging to the nagios server. Multiple processes can be monitored on the windows server, with only one service on the nagios server, minimizing impact on the performance of the nagios server in situations where many processes have to be monitored on many servers.
I use this script to monitor services on windows servers. Nagios will launch the script and collect the results using NRPE_NT.

nrpe.cfg should have a special line to present the correct path to NRPE_NT

Example :

command[check_nrpe_processes]=cscript //nologo C:nagiosvbscriptcheck_processes.vbs

A corresponding command and service should be created on the nagios server.

Typical Output :

OK : STORAGEARCHIVE.EXE -> (5<6);SQLSERVR.EXE -> (1>0);