Source Code (Vb.Net)
Service monitor is an application designed to monitor the status of a specified service, it has a configurable email alert system
that will send an email based on the options stated in the applications config file.
This Application has no configuration interface, and is configured through a single XML file, and annotated example is provided below
<?xml version="1.0" encoding="utf-8" ?>
<!-- Dhcp 2000 on None 25 Service Monitor Alert Running Paused The service internal name The displayed name of the service *NOTE* only use one of the above to identify your service, service_name is likely best but display is easier to get This is the time measured in milliseconds (1000 = 1 second) Determines if you will recieve balloon tip alerts are not Possible: on off *Note* Off is recommend for older windows software version This determines when mail alerts are sent after an unwanted service status change Possible: continuous onchange none continuous, will send an email message every polling interval is not recommend onchange, will be send message only on service status changes none, no emails are sent your outgoing smtp server outgoing smtp server port, default 25 email address that the message will say its from address the message will be sent to email subject use a single entry for possible ok status the status from this list WILL NOT trigger an email alert Possible: Running Stopped Paused ContinuePending PausePending StartPending -->