TECHZEN Zenoss User Community ARCHIVE  

Track switcher/routers configuration changes

Subject: Track switcher/routers configuration changes
Author: [Not Specified]
Posted: 2016-06-01 08:48

Is there any solution to use Zenoss for network devices configuration backup and compare

What I need, is an alert when there is any configuration change, or if startup and running configuration differs. It would be nice to have the device configuration historical backup.

Thanks



Subject: Would check the MIBs for your
Author: Jay Stanley
Posted: 2016-06-01 10:01

Would check the MIBs for your devices to see if they have anything for that. An OID you could poll or a trap that could be sent.

As for config storing. You could write a modeler that could connection and grab the config information.



Subject: Thanks for the reply.
Author: [Not Specified]
Posted: 2016-06-02 01:21

Thanks for the reply.

However I was looking for something that is ready to use. Even non-free solutions. I don't have any exotic devices, but cisco, juniper and mikrotik.



Subject: Maybe the rancid ZP then
Author: Jay Stanley
Posted: 2016-06-02 06:40

Maybe the rancid ZP then



Subject: I think you will find that an
Author: Jane Curry
Posted: 2016-06-10 07:00

I think you will find that an event is generated if any interfaces are added at least, by the modeler process. I believe they are info or debug so you may not see them in your Event Console, by default. Obviously not all that you want but may be a start.

There is also a standard report under REPORTS -> Device Reports -> Device Changes. Doesn't say what has changed but, again, it is a pointer.

Another thought is to write a wee script and run it in cron to get the lastChangeString() for a device. Something like:

#!/usr/bin/env zendmd
# Author: Jane Curry jane.curry@skills-1st.co.uk
# Date: June 10th, 2016
# Desc: Script to gert lastChangeString value for all networking devices
#
outputFile = open('/opt/zenoss/local/device_lastChangeTime.out', 'w')
for d in dmd.Devices.Network.getSubDevices():
print d.titleOrId(), d.getLastChangeString()
outputFile.write('Device %s Last change time %s \n' % (d.titleOrId(), d.getLastChangeString()) )

Cheers,

Jane

Email: jane.curry@skills-1st.co.uk    Web: https://www.skills-1st.co.uk



< Previous
zenos 5.1.3 Backup / Restore Error 500 archive/tar: invalid tar header
  Next
Graphing Troubles
>