Avatar of seanweb
seanweb

asked on 

How do I make a service stopping trigger an e-mail?

I am trying to set up an auto email when a specific service stops.
Network Management

Avatar of undefined
Last Comment
seanweb
ASKER CERTIFIED SOLUTION
Avatar of Elwin3
Elwin3
Flag of United Kingdom of Great Britain and Northern Ireland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of seanweb
seanweb

ASKER

That's great thanks, how can I test it though? As stopping the service manually I would guess is not picked up as a failure, right?
Avatar of seanweb
seanweb

ASKER

Also, I assume that writing this out on notepad and saving as a .vbs file is adequate, yes?
Avatar of Elwin3
Elwin3
Flag of United Kingdom of Great Britain and Northern Ireland image

yes thats right just save as .vbs

a bit tricky to test I agree. You can obviously test the script on it's own.
Avatar of seanweb
seanweb

ASKER

Thanks, I have tested the script and have an error on line 15, anything you can see?
Avatar of Elwin3
Elwin3
Flag of United Kingdom of Great Britain and Northern Ireland image

what smartshost did you enter in the script. For example - I use a ISP called plusnet so my smarthost is relay.plus.net but rememebr this must be the smarthost of the line you are going out off.

 
Avatar of seanweb
seanweb

ASKER

AhHa! Missed that, working perfectly now, thank you very much.
Avatar of seanweb
seanweb

ASKER

Great script, very useful, took no time at all.
Network Management
Network Management

Network Management involves issues that are independent of specific hardware or software, including email policies, upgrade planning, backup scheduling and working with managed service providers for Desktop-As-A-Service (DaaS), Software-As-A-Service (SaaS) and the like through the use of tools, coupled with manufacturer standards, best practice guidelines, policies and procedures plus all other relevant documentation. Network management also includes monitoring, alerting and reporting, management reporting, planning for device or service updates, the backup of configurations, the setting of key performance indicators and measures (KPIs/KPMs), associated service level agreements and problem records as part of the IT Service Management (ITSM) framework.

14K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo