Jump to content
DarrenWhite99

Alert When Agent Is Online

Recommended Posts

Alert When Agent Is Online

View File

The Internal Monitor "Notify When Agent is Online" watches machines with the "Notify When Online" computer EDF configured. It will send an alert as soon as it finds that the agent is offline. (The offline notice is skipped if the agent was already offline when notifications were first enabled.) When the agent comes online again another alert email will be sent and the EDF will be reset.

This monitor can be used to notify when a lost computer comes online, or when that machine that is only online in the office every few weeks is back.

To enable notifications for an agent, you simply put your email address into the "Notify When Online" EDF. You can enter multiple addresses separated by ";". The contents of the agent's "Comments" will be included in the email also. (Helpful to remember why you wanted to be alerted, or what instructions should be followed after receiving the alert.)

When the agent returns online, the Network Inventory and System Info are refreshed. The recovery email will include the following details:
The last check in was at @AgentCheckIn@.
Public IP Detected: %RouterAddress%
Internal IP: %LocalAddress%
System Uptime: %uptime%
Last Logged in User: %lastuser%

This bundle includes a Script+EDF XML, and a SQL file with the Internal Monitor.
To import the Script and EDF, select Tools -> Import -> XML Expansion. After import the script should appear in the "\Autofix Actions" folder.
To import the Internal Monitor, select Tools -> Import -> SQL File. The monitor should be imported AFTER the script bundle has already been added.
After importing, verify that a valid Alert Template is selected for the monitor. The Alert Template MUST have the "Run Script" action enabled without any script specified in the template. (The script is set on the monitor)

Read the Script Notes for advanced control over the number of times a notification will be triggered.


 

Share this post


Link to post
Share on other sites

To fix this issue, I created a copy of the script.  When I deleted the original, it asked which script I wanted to replace it with.  I chose the copy.  Will report if there are any further issues.

Share this post


Link to post
Share on other sites

Am I putting the email I want notifications to be sent to in every field that says @notificationemail@ ??

I want to make sure this is set up correctly. 

Thanks

  • Like 1

Share this post


Link to post
Share on other sites

That's wrong. I responded to your direct message, but it's clear above. Just enter the email in the EDF on the agent you want to be notified. 

Share this post


Link to post
Share on other sites

Doesn't it send the email notification to the contact you have selected in the alert template? If I enter an email address in the EDF it still goes only to the contact specified in the alert template. Is there something I did not configure correctly?

 

Thanks 

Share this post


Link to post
Share on other sites
On 10/31/2018 at 10:32 AM, dbrough said:

Doesn't it send the email notification to the contact you have selected in the alert template? If I enter an email address in the EDF it still goes only to the contact specified in the alert template. Is there something I did not configure correctly?

The alert template should only be configured to run a script. The script handles sending the email, updating the EDF value, etc.

Share this post


Link to post
Share on other sites

It does not work for me. I have done the import and alert template as per the article and it does not send email although the EDF is populated with an email address

Share this post


Link to post
Share on other sites
On 11/28/2019 at 5:32 PM, cdsouza said:

It does not work for me. I have done the import and alert template as per the article and it does not send email although the EDF is populated with an email address

Does the monitor alert history show any fails and successes? If the agent is in maintenance mode then the alert cannot act against it. If you set an email address on a machine that has been offline for several days, then hit “Build and view” in the monitor, does that agent get returned?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...