Solved

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

Posted on 2013-02-06
12
773 Views
Last Modified: 2014-08-02
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
0
Comment
Question by:Ikky786
12 Comments
 
LVL 20

Assisted Solution

by:netcmh
netcmh earned 376 total points
ID: 38862050
0
 
LVL 20

Assisted Solution

by:netcmh
netcmh earned 376 total points
ID: 38862052
0
 
LVL 20

Assisted Solution

by:netcmh
netcmh earned 376 total points
ID: 38862056
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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 20

Accepted Solution

by:
netcmh earned 376 total points
ID: 38862060
0
 

Author Comment

by:Ikky786
ID: 38862061
thanks all but looking for a software i can install on the server, dont want to get into scripting. sorry people
0
 
LVL 20

Assisted Solution

by:netcmh
netcmh earned 376 total points
ID: 38862074
0
 
LVL 20

Assisted Solution

by:netcmh
netcmh earned 376 total points
ID: 38862081
0
 

Author Comment

by:Ikky786
ID: 38862089
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
 
LVL 35

Assisted Solution

by:Nirmal Sharma
Nirmal Sharma earned 62 total points
ID: 38862425
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
 
LVL 4

Assisted Solution

by:jjjosef
jjjosef earned 62 total points
ID: 38862857
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
 
LVL 20

Expert Comment

by:netcmh
ID: 38874488
Thank you for the grade. Good luck.
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Network ports are the threads that hold network communication together. They are an essential part of networking that can be easily ignore or misunderstood, my goals is to show those who don't have a strong network foundation how network ports opera…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question