SCP files from OpManager using configlets

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, but blocked any request by the radio to initiate the transfer.
  1. The OpManager server will use the credentials loaded in NCM to authenticate, so no additional user or passw are required.
  2. The transfer is done using normal configlet procedure in NCM which means you can write and test teh configlet and it can be executed on single or multiple radios or groups.
  3. The source file must be in a directory that OpMnager can access, we have used the server directoy "/home/[username]/" directory for users.
  4. The destination folder is always '/tmp/upload/" on the MMX radio
Create a configlet in Script Execution mode. Please use the following format in configlet for SCP transfer. 
scp_transfer "<source-file-path-in-ncm-server>" "<destination-file-path-in-device>"
Example: scp_transfer "/home/tech/test.bfe" "/tmp/upload/"



    • Related Articles

    • 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 ...
    • 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) ...
    • Transfer and Apply files via SCP and TFTP

      To transfer files from the Radio to a PC there are several items required. An SCP server installed on a Laptop if transferring files Firewall disabled or a firewall rule added to pass port 22 Valid files such as the Encryption Key if this to be ...
    • Copy firmware from Server via scp.

      Introduction This process is for moving a file from a Server in a customers network to a MMX Radio. Some customers do not allow scp to be initiated by the radios due to security risk of an external attack. These instructions assume you have a ...
    • 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 ...