mwallraf / ZenPacks.TwoNMS.Rancid

Zenoss ZenPack to integrate Rancid
http://mwallraf.github.io/ZenPacks.TwoNMS.Rancid/
2 stars 1 forks source link

zenrancid running at 2am but no new configs showing under UI #3

Open nickcolton opened 10 years ago

nickcolton commented 10 years ago

zenrancid is running without any issues at 2am, sends notices that process completed fine and I have emails on the system showing changes to configurations. However, configuration updates never show in zenoss under rancid configurations. I can see that configurations last updates on 2013-09-08 at 8AM when I ran zenrancid manually but nothing from the automated runs at 2AM

dudbug commented 9 years ago

To make this work there are a couple of caveats.

  1. The name of the device needs to be resolvable. If the device is named router123 in /etc/hosts add the IP address
  2. You need to add the login credentials in configuration properties. Drop to a cli and double check to make sure your credentials work from zenoss.
  3. Be patient. Once you have all of this complete, zenrancid run needs to run, and then the device needs to remodel to find the new file. You can double check the files at /opt/zenoss/rancid/var/Routers/configs/. If you want to test switch to zenoss user...su zenoss and then run zenrancid run. You should see the config populate in the /Routers directory. Next the device needs to remodel, and then you should be good to go.