Kaseya Community

Script to Create and Alarm using Event Logs

  • Create Event.txt
    Here is a script from John Nuttall that uses the windows command line eventcreate to add an entry into the event log of your choice on a machine.

    You can then setup an Event Log filter in Kaseya under Monitor->Alerts->Event Logs drop down to find and filter on that alert.

    This allows you to raise an alert from a script.

    Legacy Forum Name: Script to Create and Alarm using Event Logs,
    Legacy Posted By Username: raybarber
  • Very cool, thank you.

    I have been having trouble with the scripting "send email" function. The Email functionality for the rest of kaseya works (All alarms, System->Configure->Test email) but not through the scripts for some reason. This will give me a nice temporary work around.

    Thanks,
    Scott

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: ssugar