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

check_processes (windows)

Rating
0 votes
Favoured:
0
Last Release Date
2014-09-12
Compatible With
  • Nagios 3.x
E-mail
Hits
11886
Files:
FileDescription
check_processes.plcheck_processes.pl
check_processes takes a list of allowed processes and returns warning and critical based on thresholds if processes not on the list are running.

The script is written in perl, so requires a perl environment to run. Tinyperl works fine. Place the tinyperl runtime and the script in nsclient++/plugins/perl
define host{
_ALLOWEDPROCS wininit winlogon check_processes tasklist
}

define command{
command_name check_unknownprocs
command_line $USER1$/check_nrpe -t 10 -H $HOSTADDRESS$ -c check_processes -a 1 3 "$_HOSTALLOWEDPROCS$"
}

define service{
service_description unknown processes
check_command check_unknownprocs
}

nsclient.ini:
[/settings/external scripts/scripts]
check_processes = scriptsperlcheck_processes.exe $ARG1$ $ARG2$ "$ARG3$"