Monitoring Windows services

Is there anywhere that I can find some examples of how to create some Service definitions for monitoring Windows Services say for instance like IIS or DNS. In the example config files (windows.cfg) there are examples of monitoring disk space and cpu, but i don’t know how to create new defs for monitoring other Windows services.

thanks,
Bill

Are you running NSClient++?

if so:

define service{
	use			generic-service
	host_name		aserver
	service_description	OracleServiceORCL
	check_command		check_nt!SERVICESTATE!-d SHOWALL -l OracleServiceORCL
}

Now you can use either the service name or the service display name. IE:

define service{
	use			generic-service
	host_name		aserver
	service_description	Microsoft Exchange Information Store
	check_command		check_nt!SERVICESTATE!-d SHOWALL -l "Microsoft Exchange Information Store"
	}

if you also want to monitor a mssql database:

define service{
	use			generic-service
	host_name		aserver
	service_description	MSSQL Database
	check_command		check_nt!SERVICESTATE! -d SHOWALL -l MSSQL"$$"XXXXX
	}

Regards
Martin.

claresco.org/mlerota/1/readme.html

hey man found the site above to very useful
go to the registry
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services

to find out what the service name is and then you can monitor it like the above post

hopes this helps