Cisco Configurations Changes Logger

published

This tool is composed of three tools working together to accomplish one goal, which is to post configurations changes on a Webex Channel

Components

  1. Syslog-NG # OpenSource tool to receive syslogs and forward them to other destinations.
  2. Conf_bk # Tool creates linux cron jobs to backup the device configurations and saves them locally on the server.
  3. Logger # The tool that listens for incoming messages containing the message "Configured" and then triggers a worker to check what changed.

The tool takes advantage of the syslog that Cisco network devices send when a config change is done. Below is an example of the syslog that a Cisco IOS-XE device will send when a user goes into configure terminal mode.

*Apr 12 17:02:38.407: %SYS-5-CONFIG_I: Configured from console by console

When the Cisco device sends this logs to the server running this tool it will trigger a python worker to go and check the configurations and comparate it with the archive it has on file, afterwards it will do a post to Webex Space as the one below.

Getting Started

  1. Installation Guide
  2. Updating Schedules
  3. Updating Environment Variables

Examples

  1. BGP Change
  2. Delete EIGRP
  3. Creating ACL
  4. Deleting Prefix List
View code on GitHub
  • Owner

  • Contributors

    +1Github contributor
  • Categories

  • Products

    IOS XE
  • Programming Languages

    Python
  • License

    MIT License

Code Exchange Community

Get help, share code, and collaborate with other developers in the Code Exchange community.View Community
Disclaimer:
Cisco provides Code Exchange for convenience and informational purposes only, with no support of any kind. This page contains information and links from third-party websites that are governed by their own separate terms. Reference to a project or contributor on this page does not imply any affiliation with or endorsement by Cisco.