Quantcast
Channel: THWACK: Message List - Network Configuration Manager
Viewing all articles
Browse latest Browse all 8827

Re: save NCM jobs to file...Change file name so not to overwrite

$
0
0

ohionetadmin,

I had the same issue, each night my job file overwrites the previous file because it was the same name. Tim's suggestion worked for me, use variables with date (and time) in the filename.

 

Filename:

C:\...show ip arp ${YYYY}_${MM}_${DD}.txt 

 

9/24/2014 was when I upgraded to NCM 7.3.2  from NCM 7.1.1 and "Show ip arp.txt" was being overwritten each day.

Now with the date variable, it will give me a new date/file each day.

 

Orion NCM Overight File.png

 

 

 

 

http://www.solarwinds.com/cirrusdocs/wwhelp/wwhimpl/js/html/wwhelp.htm?context=CirrusDocs&file=CirrusAGVariables.htm

Search for variables and others will show up as well.  I can't find the complete list, but here are some.


Configuration Archive Variables

Cirrus Configuration Manager stores all downloaded configurations in a database. It can also store a copy of them in the configuration archive directory. The directory structure can be specified using any of the previous variables.

Additional variables may also be used when specifying the configuration archive directory. Many of these variables use the localization settings for the current language and region.

Property

Description

DateTime

Local date and time in short date and local time format

Date

Date in short date format

LongDate

Date in long date format

MediumDate

Date in medium date format

Time

Time in short time format

LongTime

Time in long time format

MediumTime

Time in "medium time" format

ShortTime

Time in "short time" format

DOW

Day of the week (spelled out)

D

Day of the month

DD

Day of the month (with leading zero, if needed)

ABREVIATEDDOW

Day of the week in abbreviated format

LocalDow

Day of the week in the local language

Month

Number of the current month

M

Number of the current month

MM

Number of the current month (with leading zeros, if needed)

MMM

Abbreviated name of the month

MMMM

Name of the month

LocalMonthName

Name of the month in the local language

DAYOFYEAR

Day number of the year

YYYY

4 digit year

YY

2 digit year

YEAR2

2 digit year

YEAR4

4 digit year

H

Hour

HH

2 digit hour (with leading zero, if needed)

N

Minute

NN

2 digit minute (with leading zero, if needed)

S

Seconds

SS

2 digit seconds (with leading zero, if needed)

AMPM

AM or PM

CRLF

Carriage return - linefeed combination

ConfigType

Type of configuration ( running, startup, etc )

Caption

Caption of the node (NodeCaption)

 

Node Variables

All fields in the nodes table may be used as variables, including any custom properties added to your nodes.

Nodes Table Field

Description

NodeID

Unique ID assigned to each Network Node

NodeCaption

Displayed name for the node. The default for NodeCaption is a variable. ${SysName}

NodeGroup

Group to which this node belongs. Some group examples includeRouters, Accounting, or simply ${Building}. The last example refers to a custom property named Building.

AgentIP

The IP address used when communicating with the node. A router or server may have many IP addresses. This IP address is the one used when Cirrus Configuration Manager makes SNMP requests or transfers configuration files.

AgentIPSort

Numeric equivalent of the AgentIP. Used for sorting by IP address in reports.

ReverseDNS

Reverse lookup of the AgentIP

ResponseTime

Current response time of the node in milliseconds

ResponseError

OK if the node is responding. Returns an error message if the node is not responding.

Status

Numeric status of the node.

1 = Up

2 = Down

Community

SNMP community string

SNMPLevel

The version of SNMP supported by the Node.

0 = SNMP not supported

1 = SNMP V1

2 = SNMP V2

3 = SNMP V3

SysName

System name of the node.

SysDescr

System description of the node.

SysContact

System contact information collected from the node.

SysLocation

System location information collected from the node.

SystemOID

System OID discovered from the node.

Vendor

Hardware vendor of this network node.

VendorIcon

Name of the vendor icon used.

MachineType

Type of hardware. This information is discovered by SolarWinds Discovery Engine.

LastBoot

Last time the node rebooted.

OSImage

Operating system running on the node

OSVersion

Version of the operating system running on the node

ConfigTypes

Types of configuration files supported by this node

NodeComments

Any comments about this node entered by the user.

NextDiscovery

Time for next complete discovery of this node

NextPoll

Time for next poll (up/down and response time)

Username

Login username

Password

Login password

EnableLevel

Enable level used when transferring configs or running scripts

EnablePassword

Enable level password

ExecProtocol

The protocol used when executing scripts. This is set to${GlobalExecProtocol} by default.

TransferProtocol

The protocol used when downloading configs. This is set to${GlobalTransferProtocol} by default.

 

 

Command Script Variables

Command script variables are used within command scripts, as well as within device command templates. For more information on creating command scripts, see “Working with Command Scripts”.

Property

Description

ConfigType

Value used to specify the type of configuration

CR

Carriage return

CRLF

Carriage return - linefeed combination

DownloadConfig

Series of commands used to download a configuration from a device

EnableIdentifier

Only used when a device does not return the "#" symbol at the end of a prompt to indicate enable mode. Value that is displayed while in enable mode for a device.

EnterConfigMode

Series of commands used to enter the configuration mode of a device

ExitConfigMode

Series of commands used to exit the configuration mode of a device

IPAddress

The IP address of the server where Cirrus Configuration Manager is installed

Precommand

Specifies the device requires a pre‑command. For more information and valid pre-command variables, see “Pre-Command Variables”.

Reboot

Series of commands used to reboot the device

RebootAt

Series of commands used to reboot a device at a specified time. Use the variables listed in the “Configuration Archive Variables” section of this section to assign the date and time.

RESET

Series of commands used to set the length and pagination of the session

Running

Value used to specify a running configuration type

SaveConfig

Series of commands used to write the configuration to the devices memory

Startup

Value used to specify a startup configuration type

Version

Series of commands used to display the software version of the device


Viewing all articles
Browse latest Browse all 8827

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>