How to populate information in OneClick to display columns for the Device user, NCM mode ,NCM user, Source and Location fields in the captured configuration area under the Host Configuration tab
search cancel

How to populate information in OneClick to display columns for the Device user, NCM mode ,NCM user, Source and Location fields in the captured configuration area under the Host Configuration tab

book

Article ID: 50487

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

How to populate information in OneClick to display columns for the Device user, NCM mode ,NCM user, Source and Location fields in the captured configuration area under the Host Configuration tab

While using Network Configuration Manager to capture the configuration backups, you may want to know which user has changed the configuration at the device level. This can be achieved if the device can send traps to Spectrum when there is any configuration change done on the device.

Environment

Release: Any
Component:

Resolution

Solution:

Make sure you follow the below steps to make sure the trap is received in Spectrum whenever changes are made in the configuration file on the device

  1. The syslog server should send a trap in the below format to fill the fields in Host configuration in the Spectrum OneClick.

    Configured from {SOURCE} by {USER} on {LOCATION}
    Configured from {LOCATION} by {SOURCE}


  2. The below trap should be sent from the router to get the data into Device User, From:, On: NCM mode, NCM user, Source and Location fields.

    Correlation of Configuration Change Events:

    Event0082105a:{d "%w- %d %m-, %Y - %T"} Configuration Manager - A
    configuration change notification was received from device {m} of type {t}
    on landscape {S 1}.
    Device trap(s) provided:
    Device User: {S 2}
    From: {S 3}
    On: {S 4}


    The following information was provided by SPECTRUM:

    Device User: {S 2}
    Spectrum User: {S 5}
    NCM Communication Mode: {S 6}
    Capture Succeeded: {S 7}
    Capture Error Message: {S 8}
    Total Number of Line Changes: {I 9}
    Relevant Number of Line Changes: {I 10}
    Violated Policies: {S 11}
    Compliant Policies: {S 12}
    Model handle of current configuration model: {H 13}
    Model handle of previous configuration model: {H 14}


  3. OneClick populates "Device User", "Source" and "Location" fields in the Host Configuration table when the SpectroSERVER receives clogMessageGenerated trap (trap type 1.3.6.1.4.1.9.9.41.2.6.1) and changes actually occurred on the router.

  4. In order to have the above fields information added in Spectrum when an automatic capture occurs the device needs to have the following configurations:

    !
    logging history notifications
    logging <Spectrum IPAddress>
    !
    snmp-server enable traps config
    snmp-server enable traps syslog
    snmp-server host <Spectrum IPAddress> public
    !

The snmp-server enable traps config command will allow router to send all the config traps to trap destination.

The snmp-server enable traps syslog - Another useful variety of traps is the syslog option to this command. This causes router console messages to be repackaged as SNMP traps and sent to a management station.

By using the above procedure we can capture the trap sent for config change on the router in OneClick and also get the information for the Device User, From:, On:, NCM mode, NCM user, Source and Location fields in the captured configuration.