Jump to content

Alert When Agent Is Online 1.0.4

   (5 reviews)

1 Screenshot

About This 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.


What's New in Version 1.0.4   See changelog

Released

  • 1.04
    • Update to handle if someone uses commas instead of ; because why not?
  • 1.03
    • Added support for multiple email addresses with single, repeated, or persistent alerting controllable on a per address basis.
    • Optimized the agent recovery data gathering process to be quicker.
    • Removed dependency on v_extradatacomputers table to prevent a "Build and View" error when the table is out of date. Added a call to rebuild the v_extradatacomputers table in the SQL import file to insure the new EDF is available right away.
    • Changed the SQL statement to update the monitor if it already exists instead of creating a second monitor.
  • Like 3
  • Thanks 8



User Feedback

Join the conversation

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

Guest

Jacobsa

   3 of 3 members found this review helpful 3 / 3 members

Our team love this one. Very handy to find machines or notebooks that come on rarely and need something done. 

Share this review


Link to review
leebaxter

   1 of 1 member found this review helpful 1 / 1 member

Excellent addition to the system, we are using this to put our email addresses onto agents that are offline for long periods of time (we all have them!) to notify us if it comes online in the period while we are investigating where the machine has gone!  This goes a long way to not using up licenses on dead machines.

Top marks!

 

Share this review


Link to review
Monk

   1 of 1 member found this review helpful 1 / 1 member

You da real MVP.  Thanks for this, it rocks.

Share this review


Link to review
Olumide omitogun

   0 of 3 members found this review helpful 0 / 3 members

Not really sure why the Monitor didn't work for me. I suspect it was the email configuration part. There is no specifics as to where to put the email address on the script.

 

Please help !

Response from the author:

A copy/paste directly from the description above: To enable notifications for an agent, you simply put your email address into the "Notify When Online" EDF.

In other words, you don’t need to adjust the script at all. You control who is notified just by entering an email address in the “Notify When Online” Extra Data Field for the computer. 

Share this review


Link to review
EssentialSteve

  

Such a good script resource. A bit cumbersome to set up with the empty script monitor but we got there in the end. Well worth it!

 

Thanks @DarrenWhite99 !!

Share this review


Link to review
×
×
  • Create New...