Is it possible for the emailgtw probe or NAS to send an email to verify probe is operational?
search cancel

Is it possible for the emailgtw probe or NAS to send an email to verify probe is operational?

book

Article ID: 110934

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

Is there a way to get the CA UIM email gateway / NAS to send an email on a regular basis ( say every 2 hours ) to verify that alert emails are operational ? 

If this is not possible is there a recommended way to notify should the email probes fail or go offline ?

Environment

Release:
Component: UIMLGM

Resolution

In this scenario the customer would like to monitor if the emailgtw probe is still working as expected and sending alarms via email.

Firstly, I thought about using the processes probe however, that would not cover you if the emailgtw probe was running but not sending alarms via email (for whatever reason).

I created a new file on my primary hub server which contained the word "OK". Created a logmon profile to run every 5 minutes (this interval can be changed), to match on the "OK" in that file. This then creates an alarm on every match and will be sent out via email depending on your emailgtw / nas AO configuration. 

1. Created a new folder location with a text file containing the word “OK” on my primary hub server: 

<Please see attached file for image>

User-added image

2. Deployed the logmon probe to my Primary Hub Robot. 

3. Create a new test profile pointing to the file shown in Step 1: 

<Please see attached file for image>

User-added image

Note: As a test I set the check interval to 1 min, you can change this to the desired time.

4. Under the logmon profile in question, create a new Watcher Rule: 

<Please see attached file for image>

User-added image
 
Match expression used: /.*OK.*/

“Message to Send on Match” will be the subject, you can change this to whatever is required. 

Sample Alarm raised from this Profile: 

<Please see attached file for image>

User-added image

Note: You may also be able to achieve this via a NAS Auto Operator Rule or a custom lua script to query the hub, robot and probe status.
 

Attachments

1558697576195000110934_sktwi1f5rjvs16j0d.png get_app
1558697574336000110934_sktwi1f5rjvs16j0c.png get_app
1558697572491000110934_sktwi1f5rjvs16j0b.png get_app
1558697570518000110934_sktwi1f5rjvs16j0a.png get_app