Help Docs

IT automation via configuration templates (Configlets)

IT automation using configuration templates or configlets streamlines the deployment and management of IT resources, enhances operational efficiency, and enables IT teams to focus on higher-value tasks rather than routine configuration activities.

Benefits of using configlets for IT automation

  • Reduces manual errors
  • Saves time on repetitive tasks
  • Ensures consistency across environments
  • Facilitates scalability in IT infrastructure

Use case

By establishing standardized, predefined templates that adhere to industry best practices and security policies, companies can ensure that their network devices are configured securely and in accordance with regulations. Administrators can effortlessly implement security protocols, access controls, encryption standards, and other security measures across all network devices. This aids in upholding a uniform security stance across the network infrastructure, minimizing the likelihood of vulnerabilities and potential security incidents stemming from incorrect configurations.

Creating an IT automation template using configlets

  1. Log in to Site24x7.
  2. Navigate to Admin > IT Automation Templates.
  3. Click the Add Automation button or Add Automation Templates button on the top-right corner of the page.
  4. In the Add Automation Templates pop-up, enter the following:
    1. Type: Select Configlet Execution in the Network Actions section in the drop-down menu.
    2. Display Name: Provide a display name to identify the IT automation template. 
    3. Select Configlet: Select the configlet that needs to be executed. 
    4. Filter by: Toggle between Monitors, Monitor Groups, or Tags
    5. Select Hosts for Configlet Execution/Monitor Groups/Tags: One of the options will be displayed based on the selection in step 4d. Select the monitors, groups, or tags to perform the action on the associated devices. 
      1. Select Hosts for Configlet Execution: This option is available only if you have selected Monitors. Select the monitors for which the action should be executed. If you have selected $LOCALHOST, the monitor where the IT automation is mapped will also be included for executing the configlet.
      2. Include Subgroups: This option is available only if you have selected Monitor Groups. Enable this option to include subgroups of the selected monitor groups.
    6. Send the Automation Result via Email: Toggle between Yes and No, as required. 
      IT automation using configlets
  5. Click Save

Editing the IT automation template

  1. Navigate to Admin > IT Automation Templates.
  2. Click on the required row to edit the IT automation template.

Simulating the IT automation

  1. Navigate to Admin > IT Automation Templates
  2. Click the play icon in the Test column for the required IT automation templates. 
    Note

    If you have chosen only $LOCALHOST during the creation of an IT automation template, it cannot be simulated. Nevertheless, it can be linked to a monitor so that it runs when the relevant event takes place.

Scheduling IT automation

  1. Navigate to Admin > IT Automation Templates
  2. Click Schedule IT Automation on the required row to schedule an IT automation

Mapping the IT automation to monitors

You can map the automation to a predefined monitor level event type (Up, Down, Critical, Trouble, attribute status change, or any status change) for each monitor. You can map automation to a monitor while doing the following:

  • Adding a monitor: Select an IT automation template while adding an NCM device as a monitor
  • Editing the monitor details: Edit a monitor by clicking the hamburger icon under Actions, then select Edit. In the respective Edit monitor screen, select the IT Automation Templates in the Configuration Profiles section, then click Save.
    Note

    If you have mapped IT automation to a network or NetFlow monitor, the configlet will be executed only if there is a corresponding NCM monitor for the same hostname or IP address.

Related articles

Was this document helpful?

Would you like to help us improve our documents? Tell us what you think we could do better.


We're sorry to hear that you're not satisfied with the document. We'd love to learn what we could do to improve the experience.


Thanks for taking the time to share your feedback. We'll use your feedback to improve our online help resources.

Shortlink has been copied!