-
Notifications
You must be signed in to change notification settings - Fork 144
NCM Config Search
Tim Danner edited this page Sep 29, 2017
·
1 revision
The Network Configuration Manager search interface can be called through the API using the ConfigSearch
verb on Cirrus.ConfigArchive
.
Search for configs matching a query.
string[] ConfigSearch(string searchString, string configType,
string coreNodeIdList, bool matchWholeWord, bool searchOnlyMostRecent = false,
DateTime? startTime = null, DateTime? endTime = null)
The parameters for ConfigSearch
are:
-
searchString
- the text to search for -
configType
- the name of a config type (such as "Running" or "Startup") ornull
to just search all config types -
coreNodeIdList
- a list ofNodeID
values (ints fromOrion.Nodes
, not Guids fromCirrus.Nodes
) as a comma-separated string, ornull
to just search configs from all nodes -
matchWholeWord
-true
if the words insearchString
must occur as written in the config orfalse
if they can appear as a substring or a larger word in the config -
searchOnlyMostRecent
-true
to only consider the current config of each type orfalse
to search history as well. This parameter can be omitted; if so, history will be searched. -
startTime
- to search configs from a particular date range, provide the start time here; providenull
or just omit the parameter to search all history -
endTime
- to search configs from a particular date range, provide the end time here; providenull
or just omit the parmater to search all history newer thanstartTime
The return value of ConfigSearch
is a list of id values for configs that match the query. To get the details of each matching config, including what node it came from, when it was obtained, and the full text of the config, use these ids to query Cirrus.ConfigArchive
.
- About SWIS
- Connecting to SWIS
- SWQL Functions
- REST
- PowerShell
- Alerts
- Creating custom properties
- Poller Types
- Network Performance Monitor
- NetFlow Traffic Analyzer
- Network Configuration Manager
- IP Address Manager
- Server & Application Monitor
- Log Analyzer
- Schema reference