This article covers how NCM templates control the way Cloudmon logs into a device and pulls its configuration. Use it to understand Global vs. Custom templates, and to build or edit a Custom template correctly the first time.
NCM templates define how Cloudmon connects to, authenticates with, and issues backup or upload commands to network devices. Each template describes a device's login sequence, connection protocol, and the exact commands used to retrieve or push configuration files.
Templates fall into two categories: Global templates maintained by Cloudmon, and Custom templates maintained by your organisation.
Tip: A common approach is to clone a Global template and customise it, rather than building a Custom one from scratch.
| Type | Description |
| Global | Pre-built templates shipped with Cloudmon, covering hundreds of vendors and device models such as 3Com, Adtran, Alaxala, and Alcatel. Read-only reference templates maintained by Cloudmon. |
| Custom | Templates your team creates with Add NCM Template. They live in a separate Custom list and can be freely edited, cloned, or deleted. Use one when no Global template exists, or when you need to adjust commands, prompts, or timeouts. |
Go to Network → NCM → Templates. Check both the Global and Custom lists for an existing template before creating a new one, to avoid duplicate work.
Click Add. This opens the Add NCM Template panel.
| Field | Description |
| Name | The internal, unique identifier for the template. |
| Display Name | A friendly name shown in the templates list. |
| Description | A short summary of the template's purpose. |
| Vendor | The device manufacturer. Can also be set to All for vendor-agnostic templates, common for OS-level templates. |
Expand this section to automatically bind the template to devices reporting a matching SNMP SysObjectID.
Expand Advanced Login Settings to customise how Cloudmon logs into a device before running any backup or upload commands. Once any field in this section is completed, the section is marked "configured" in the template list.
| Field | Description |
| Enable Command | The command sent to escalate to privileged (enable) mode, for example enable. Used for devices with a separate privileged mode. |
| Pre-login Prompt | The prompt string Cloudmon expects to see before sending login credentials. |
| Pre-login Command | A command sent before the login sequence begins. Leave empty to send a line feed only. |
| Post-login Prompt | The prompt string expected after a successful login, for example continue, confirming the session is ready for commands. |
| Post-login Command | A command sent immediately after login completes. Leave empty to send a line feed only. |
| Line Feed | The line-ending character sent with commands. Default is line feed. Change it if the device expects carriage return or CRLF. |
When to use this: Configure Advanced Login Settings when a device has a non-standard login banner, requires an extra keystroke to reach a command prompt, or needs a specific enable sequence before configuration commands will work.
This is the core of the template. It controls how Cloudmon connects to the device and what commands it runs.
| Protocol | Description |
| SSH / TELNET | Standard interactive command execution. |
| SSH / TELNET — TFTP | Uses TFTP for configuration file transfer. |
| SSH — SCP | Uses SCP for secure file transfer. |
Each protocol tab can be removed individually with the delete icon if not needed. Use + Add protocol at the bottom of the form to attach additional connection methods to the same template.
Click + Add section to insert a command block. Available section types typically include:
Each section represents one operation, for example pulling the running configuration versus pushing a configuration file to the device.
| Field | Description |
| Command | The CLI command to run. |
| Prompt | The prompt pattern Cloudmon waits for after sending the command, for example ${prompt}. |
| Timeout (ms) | How long to wait for a response before timing out, for example 20000. |
| LineFeed | The line-ending sent with this specific command, for example line feed \n. |
| Prompt Action | The action to take when the prompt is matched. Default is (none). |
| Read From Response | Toggle that captures the command's output as the configuration data to store, rather than executing it silently. |
Multiple sections can be added to a single protocol tab, for example both a Backup and an Upload section. Use the trash icon to delete a section.
Review all fields for accuracy, then click Save to create the template, or Reset to clear the form and start over.
| Symptom | Likely Cause | Fix |
| Template will not save | Missing required field (Name or Vendor) | Confirm both fields are populated. |
| Device not auto-matching template | SysObjectID missing or incorrect | Verify the OID under the device's SNMP details and re-enter it under SysObjectID Matches. |
| Login fails before commands run | Login prompts do not match device output | Configure Advanced Login Settings (Pre/Post-login Prompt and Command) to match the device's actual banner or prompt text. |
| Commands fail or time out | Prompt pattern or timeout set too low | Increase Timeout (ms) and verify the Prompt field matches the device's actual CLI prompt. |
| Backup captures blank or incorrect data | Read From Response not enabled | Enable Read From Response on the relevant section. |
| Wrong template applied to a device | Overlapping SysObjectID or missing Exclude Criteria | Add Exclude Criteria to narrow the match scope. |