jduchesne wrote:
When I want to see in unix my file in /usr/local/tftp I see nothing but I see that my log is ok I don't understand.Do you have some explication for this problem? Is it my configuration in cacti that is not good ?
As you can read in the explanation of the "path of the data" you should give only the part after the tftproot.
I think in your case it try to put it in /usr/local/tftp/usr/local/tftp
As example here are my paths:
- I download in a path like d:/data/20060714 (the date change each day), my TFTP root is d:/data
- path for configurations files ---> d:/data
- fileformat for the uploaded/downloaded file ---> ::HOST::.::DATE::.cfg
- pre command in pancho ---> If not exist d:\\data\\%y%%m%%d% mkdir d:\\data\\%y%%m%%d% (it is windows for unix it should be if test -d '/data/%y%%m%%d%'; then mkdir /data/%y%%m%%d% fi)
- I have no post command (you need a sleep when you use it because the TFTP is asynchrone)
jduchesne wrote:Pepj
where the config of the switches were saved
It should be under your "path of the configuration's files" parameter. (to notice for cacti these pancho-configuration are only temporary - I let it as check - and they will be created at each start)
In your case "/usr/local/tftp"
In order to see then configuration's file or the logfile of pancho you can open the view where you choose the devices:
PS: to open it: open the configmanager view where all configuration are listed, click on the name of the configuration you want to see. At the top you can see two icons, one to see the created pancho configuration, one for the log file.
(
http://forums.cacti.net/viewtopic.php?t=12406, the view configmanager-mactrac.jpg)