Automate Maintenance Activity
Automatic Maintenance helps to be in control of maintenance activity scheduling and configuration.
Use Case
An e-commerce application is being monitored by Site24x7 Server Monitoring solution. One of the frequent tasks is to take a back up of the audit logs when the disk partition usage exceeds 90% and reboot the application.
Problem Statement:
The IT operator gets flooded with alerts notifying about the disk partition threshold failure. This eventually results in false alerts.
Solution:
Add a maintenance automation to avoid being alerted for every log back up. The maintenance period can be scheduled, until which the servers will remain marked as maintenance. This will ensure no false alerts are received until the logs are backed up and the application is rebooted.
Add Automation
- Log in to Site24x7 and go to Admin > IT Automation Templates (+). You can also navigate via Server > IT Automation Templates (+).
- Select the Type of Automation as Mark as Maintenance.
- Provide a Display Name for identification purposes.
- Select the Destination Hosts for Action Execution, i.e. the monitors on which the particular automation should be executed.
For eg., in the above use case, select the servers where the new build has been deployed.
You can choose $LOCALHOST to execute the automation on any host where there is a threshold violation or monitor status change. - Schedule a Maintenance Period (in minutes) representing the time period the agent has to mark the monitor(s) as maintenance.
- You can choose to Send an Email of the Automation Result to the user group(s) configured in the notification profile. By default, it is set to No. This email will contain parameters including the automation name, type of automation, incident reason, destination hosts, and more.
If you've multiple automations executed in one data collection, a consolidated email will be sent. - Save the changes.
Test Automation
Once you add an automation, go to the IT Automation Summary page (Server > IT Automation Templates) and use the icon for a test run. Read more.
Click on the IT Automation Logs to view the list of automations executed by date.
Map Automation
For an automation to be executed, map it with the desired event. This can be done in two ways:
Related Articles
- Get started with Site24x7 IT Automation
- Other automation tools supported: Server Script | Windows Service | Server Command | Invoke URL/REST API | Server Reboot | Thread Dump/Heap Dump | Hyper-V | IIS
- IT Automation Logs
- Set up scheduled maintenance
- Server monitoring architecture
- Add a server: Windows | Linux
- Microsoft applications supported
- Configuration Profiles