Solved

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

Posted on 2013-02-06
12
767 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows 2003 domain controller crashed BDC is 2008 server 4 78
Windows server 2003 bootable iso 9 91
AD Replications issues 12 106
Skype for Business video calls drops 2 60
Learn about cloud computing and its benefits for small business owners.
As companies replace their old PBX phone systems with Unified IP Communications, many are finding out that legacy applications such as fax do not work well with VoIP. Fortunately, Cloud Faxing provides a cost-effective alternative that works over an…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
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…

809 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