configuration_monitor_check - bruno-beloff/scs_analysis GitHub Wiki

docs > software repositories > scs_analysis > commands > estate management


DESCRIPTION

The configuration_monitor_check utility is used to report on the configuration monitor's attempt to access all of the devices known to the system. Status levels are:

  • NOR - NO RESPONSE
  • ERR - ERROR
  • M - MALFORMED:
  • MSA - MALFORMED:SAMPLE
  • MCO - MALFORMED:CONFIG
  • NSP - NOT SUPPORTED
  • R - RECEIVED:
  • RNW - RECEIVED:NEW
  • RUN - RECEIVED:UNCHANGED
  • RUP - RECEIVED:UPDATED

The --credentials flag is only required where the user wishes to store multiple identities. Setting the credentials is done interactively using the command line interface.

SYNOPSIS

configuration_monitor_check.py [-c CREDENTIALS] { -f TAG | [-t TAG [-x]] [-o] } [-i INDENT] [-v]

Options
--version show program's version number and exit
-h, --help show this help message and exit
-c CREDENTIALS_NAME, --credentials=CREDENTIALS_NAME the stored credentials to be presented
-f FORCE, --force=FORCE force check the device with TAG now
-t TAG_FILTER, --tag-filter=TAG_FILTER the (partial) tag of the device(s)
-x, --exactly exact match for tag
-r RESULT_CODE, --result=RESULT_CODE match the result { NOR | ERR | M | MSA | MCO | NSP | R | RNW | RUN | RUP }
-o, --tags-only report device tags only
-i INDENT, --indent=INDENT pretty-print the output with INDENT
-v, --verbose report narrative to stderr

EXAMPLES

configuration_monitor_check.py -r ERR | node.py -s | csv_writer.py

DOCUMENT EXAMPLE

{"tag": "scs-ph1-26", "rec": "2021-05-18T14:36:00Z", "result": "ERROR", "context": ["TimeoutExpired(['./configuration'], 30)"]}

SEE ALSO

scs_analysis/cognito_user_credentials
scs_analysis/configuration_csv
scs_analysis/configuration_monitor
scs_analysis/configuration_report

scs_mfr/configuration