Configuring configlets in OpManager NCM

Configuring configlets in OpManager NCM

Manage Engine has written instruction on using and creating configlets. The link in this KB may be changed if Manage Engine update it, but for now it is a source for other NCM info as well



Adding a configlet to OpManger

This document needs additional information at the bottom if a complete set of examples are required.


Introduction

This is a basic execution mode used to run commands as if you were logged into the CLI yourself.

·         Log into OpManager and navigate to ‘Settings > NCM > Configlets’

·         Add a name typically leading with MiMOMax to help search for MiMOMax related tasks

·         Choose the ‘Script Execution Mode’

·         Add a description to suit.


The backup option is unchecked as we have not done this in the past. The customer may have NCM set to capture Running configs for comparison, so they may want it enabled.



 Executing Script Execution Mode

Configlets can be run manually or as part of workflow. Manually running them is done through the NCM settings page.

·         Navigate to ‘Setting > NCM > Configlets

·         Filter the MiMOMax configlets or look down the list of available configlets

·         Select the Execute Configlet Icon



·         Choose the radio or radios from the list or change to the Device Groups option


·         Execute the configlet



Wait until the process is completed then select the executed configlet to see the CLI results



Once the configlet is complete you can check the CLI results



customScript.bfe

transfer otap image local scp 10.210.1.11 computer /home/tech/torn_software_04.04.01.bz2


OpManager can use have a configlet written that allows for the transfer for files from the OpManager server to a MMX Radio. This could be used to upload a customr banner of any other file you need to place in the /tmp/upload directory on a radio

Example line in the configlet below.
scp_transfer "/home/tech/test.bfe" "/tmp/upload/"

    • Related Articles

    • Accessing OpManager PGSQL Database

      INTRODUCTION OpManager tool relies on PostgreSQL (PGSQL) database for data storage. This document describes how to access the database to run customized reports METHODS OF ACCESS The PGSQL database can be accessed locally (or by using SSH session) ...
    • SCP files from OpManager using configlets

      OpManager can transfer files to MMX radios, this ability to push a file to the radio was added to help with firewall rules that prevented the MMX radio from getting a file. The firewall rule typically allowed SCP from the secure side out to a radio, ...
    • SQL Database query for OpManager

      SQL Database query for OpManager  OpManager allows searches for database information, while logged into the server there is a link at the top right to various links for help and searches. The image that looks like headphones is the link to support ...
    • How to apply OpManager PPM Update and com.zip Patches

        Table of Contents Overview.. 2 Prep and file transfer. 2 Release Notes. 2 UpDate Manager for PPM... 2 Central Server upgrade. 4 Update files. 5 Discover Properties. 5 Edit list of Traps for auto-discovery. 7 Hardware Info in inventory. 7 To Enable ...
    • OpManager Trap Processor Config

      OpManager Trap Processor Config Trap processor can be edited to display a number of labels and information based on the markup language and variables (VarBinds) https://pitstop.manageengine.com/portal/kb/articles/how-to-configure-trap-message Changes ...