PrerequisitesKaseya Network Monitor v4.xAhsayOBSAhsayOBS needs to be configured for the KNM host/gateway to use the API, by default only localhost has access. Please refer to the the AhsayOBS manual (guide_obs_admin.pdf, section 24.3) on how to change the scope of IP addresses that can connect using the API.
DescriptionThis script will use AhsayOBS's XML API to find the current day's backup jobs and the status for them. If the status is not success (BS_STOP_SUCCESS), the script will fail and set an alarm. Since the script does not write to the AhsayOBS database, it will continue failing throughout the current day if there's a job that didn't successfully end.
The script takes three parameters:
The presented result will be either that all jobs were successfully performed or that one or more jobs failed, including a list of the failed backup sets.
InstallationDownload the script below, and save it in your script folder in your KNM installation folder. Then add a Lua script monitor to choose the downloaded script.
http://community.kaseya.com/resources/m/knowexch/74372.aspx