
Routerconfig for ASAs (working but tftp file gets deleted?)
I have posted this same message over at the cacti forums. But I include here for greater reachability as I am hoping to get this resolved.
http://forums.cacti.net/viewtopic.php?t=36497 Hello all, I have recently began using cactiEZ as an all-in-one solution for quick setup. I think it's fantastic!
I would really like routerconfigs to work. So, today, I spent some time coding in the enable functionality. So now the PHP script connects to your device, logs in, enables, then issues copy start tftp:. I have tested this working on both a Cisco 3750 and an ASA5510 and now a Cisco 1131. First, I tested this by setting my laptop as the tftp server. The config files get copied to my tftp server on my laptop and they stay there.
When I send the files to the cacti server the 3750 file saves fine, but the ASA config file (which is 47k) appears in the directory for a few moments, but then disappears. I restarted the cacti server but it didnt resolve the issue. I'm baffled as to what is happening.
If people are interested in the ability to enable then let me know and I can paste the contents here.
I think this has something to do with the script looking for the correct hostname.
I have also tried specifying the file path. For other devices, e.g. a cisco wireless access point, and the 3750 it creates the sub directory. With the ASA it doesnt even try to create a sub directory, it temporarily stores the file in the root of routerconfigs and then deletes the file.