how to monitor a windows service using snmp and send email?

I have successfully setup HP event notifier to email me when there are hardware faults and when certain processes start and stop.

How can I monitor a service, i.e, when it stops something should send me an email.

I understand HP agents cannot monitor and report on a service.

please advise. thanks
Who is Participating?
SMB Security Just Got a Layer Stronger

WatchGuard acquires Percipient Networks to extend protection to the DNS layer, further increasing the value of Total Security Suite.  Learn more about what this means for you and how you can improve your security with WatchGuard today!

netcmhConnect With a Mentor Commented:
Another way to do it would be to create an email based on an event, but I guess it'll work on 2008 only
Ikky786Author Commented:
thanks all but looking for a software i can install on the server, dont want to get into scripting. sorry people
Ikky786Author Commented:
i found this as well:

I guess powershell would give me the most flexibility at a granular level, i.e. who logged in
at what time and what service the stopped or what folder they deleted etc etc

would I be right in also saying that powershell is the best scripting language for windows server?
Nirmal SharmaConnect With a Mentor Solution ArchitectCommented:
You need to use WMI Event Notification to monitor the service status and then use smtp vb code to send emails. Look at the examples provided above.

jjjosefConnect With a Mentor Commented:
Netwrix is a good option for monitoring all windows monitoring you can also go for similar option like Event Sentry , Event Log analyzer

check them out from here
Thank you for the grade. Good luck.
All Courses

From novice to tech pro — start learning today.