Help Mark as Maintenance

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

  1. Log in to Site24x7 and go to Admin > IT Automation Templates (+). You can also navigate via Server > IT Automation Templates (+).
  2. Select the Type of Automation as Mark as Maintenance.
  3. Provide a Display Name for identification purposes. 
  4. 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. 
  5. Schedule a Maintenance Period (in minutes) representing the time period the agent has to mark the monitor(s) as maintenance. 
  6. 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.
  7. Save the changes.
Once an automation is added, schedule these automations to be executed one after the other.

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.

The test run would be applied to all the hosts selected for this automation. An exception to this would be selection of $LOCALHOST as the only host.

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

Was this document helpful?
Thanks for taking the time to share your feedback. We’ll use your feedback to improve our online help resources.

Help Mark as Maintenance