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
Ikky786Asked:
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

http://portal.sivarajan.com/2010/04/generate-email-alert-to-event-attach.html
0
 
Ikky786Author Commented:
thanks all but looking for a software i can install on the server, dont want to get into scripting. sorry people
0
 
Ikky786Author Commented:
i found this as well:

http://www.netwrix.com/windows_services_monitoring_freeware.html

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?
0
 
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.

-----
Sys.
0
 
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

http://www.eventloganalyzer.org/

http://www.eventsentry.com/

http://www.manageengine.com/products/eventlog/
0
 
netcmhCommented:
Thank you for the grade. Good luck.
0
All Courses

From novice to tech pro — start learning today.