Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_winsvc
I wrote check_winsvc to simplify checking of Windows services. This check script vill return OK if all services set to Automatic start on a Windows server are running. You can supply an exclude list to avoid paging on unimportant services.
check_winsvc requires NC_Net on the Windows server and NC_Net version of check_nt.
Usage: check_winsvc -H host -s secret -p port -t timeout -d data -E exclude_list
The only required argument is -H. All arguments except -t and -E are passed directly to check_nt.
Please read comments in the header of this script for details about services containing an ampersand.
check_winsvc requires NC_Net on the Windows server and NC_Net version of check_nt.
Usage: check_winsvc -H host -s secret -p port -t timeout -d data -E exclude_list
The only required argument is -H. All arguments except -t and -E are passed directly to check_nt.
Please read comments in the header of this script for details about services containing an ampersand.
Reviews (2)
bypsyllent, December 17, 2013
I love this plugin but we often get Service Unknown warning alerts where the service names appear to be cut off. Is there something in the ENUMSERVICE service list function of the script that would cause service names to be cut off?
bywiede, April 10, 2011
Please, use the parameter "-a" in the NC_net command, otherwise you get problems, when there are too many Services.