Hi all,
I'd appreciate some help with a scenario I have.
2 x Windows Server 2012 R2 web servers being polled using WMI, and I have put them in a group called Test and assigned to two servers call Test-Web-01 and Test-Web-02 to the group.
I have made a custom Application Monitor Template called IIS Service Monitor that has a Windows Service Monitor component monitor that checks the status of the World Wide Web Publishing Service.
I have assigned this template to the group.
I know I could have used AppInsight or some other OOB template but all the others seem to monitor more than this and I simply want to monitor this particular service.
Can someone explain how I can set up email alerts so that I receive an email when the service on any of the servers goes down, and have that email contain the name of the individual server that is involved.
i currently have successfully set an alert that triggers when the service goes down, but I can't seem to be able to get the server involved.
Thanks.
Currently, my messy email body (from trying many variables) looks like this
Root Cause: ${GroupStatusRootCause}
There is a problem with the IIS World Wide Web service on ${NodeName} in ${N=SwisEntity;M=Name} monitoring group.
Alert Name ${N=Alerting;M=AlertName}
Group member Display Name ${N=SwisEntity;M=EntityDisplayName}
Group member full name ${N=SwisEntity;M=FullName}
Group member name ${N=SwisEntity;M=Name}
Group Name ${N=SwisEntity;M=Container.Name}
${N=SwisEntity;M=Application.ApplicationAlert.ApplicationAvailability}An issue on an object you are monitoring occurred at ${N=Alerting;M=AlertTriggerTime;F=DateTime}.
View full object details here: ${N=SwisEntity;M=DetailsUrl}.
View full alert details here: ${N=Alerting;M=AlertDetailsUrl}
Click here to acknowledge the alert: ${N=Alerting;M=AcknowledgeUrl}
This message was brought to you by the alert named: ${N=Alerting;M=AlertName}