Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


plugin for download/upload routers switches configuration
Goto page Previous  1, 2, 3 ... 25, 26, 27
 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin General
Author Message
mcutting
Cacti Guru User


Joined: 16 Oct 2006
Posts: 1007

PostPosted: Mon Sep 15, 2008 11:20 am    Post subject: Reply with quote

StarLog wrote:
Can someone tell me what is not active.?

2008-04-05 00:47:08 Error: download. RESULT: Error: function in developpement ....... not activ.

2008-04-05 00:47:08 INFO: execute the upload/download configuration 1 (/data/configmanagerid1.conf) with php tftp.


I am getting exactly the same issue - anyone have any ideas on this ?

Thanks
Back to top
fourier



Joined: 29 Sep 2006
Posts: 5

PostPosted: Wed Sep 17, 2008 3:32 am    Post subject: plugin for download/upload routers switches configuration Reply with quote

I am getting error when create database for configmanager.
cacti:/usr/local/cacti-0.8.7b/plugins/configmanager0.76 # mysql --user=root --password cacti < /usr/local/cacti-0.8.7b/plugins/configmanager0.76/configmanager.sql
Enter password:
ERROR 1062 (23000) at line 7: Duplicate entry '1' for key 1

Please help me to solve this problem.

Thanks a lot!!
Back to top
123ralle



Joined: 20 Dec 2006
Posts: 8

PostPosted: Thu Sep 18, 2008 8:06 am    Post subject: Reply with quote

Hi,

I've the config manager running with the cisco tftp method and
could successfully build an telnet netscreen script for downloading
the config.
Now i've an cisco pix 525, which is only accessible via ssh from the cacti host. The cacti host is running under linux.
Does anybody have an script for ssh for an cisco pix or another ssh based script for another device as sample for me ?

Ralf
Back to top
123ralle



Joined: 20 Dec 2006
Posts: 8

PostPosted: Thu Sep 18, 2008 9:52 am    Post subject: Reply with quote

Hi,

just anther question :

How do i get an colored diff on a linux system, or is it only supported on windows systems ?

Ralf
Back to top
pjkks



Joined: 17 Oct 2008
Posts: 10

PostPosted: Fri Oct 24, 2008 11:13 am    Post subject: Reply with quote

AARRRRGGG!!!!

Regretfully there is not any decent document on installing pancho on Windows server.

Here is what I've done so far to get this up and running.

-installed 3CDaemon tftp/ftp server
-Placed configmanager in cacti/plugins - modified global.php
-copied diff.exe and gzip.exe to cacti/plugins/configmanager
-placed sharednetworkclass in cacti/plugins - modified global.php
-sql database was created through the program as instructed
-downloaded/installed ActivePerl for Windows

tried to use without pancho first but here is what I get.

)
[binair] => 0
[usepancho] => 0
[accepttrap] => 0
[tftp] => 10.X.X.X
[startup] => 1
[commit] => 0
[templatename] =>
[fileformat] => ::HOST::.::DATE::.cfg
[post] =>
[pre] =>
[command] =>
[snmp_community] => oxxxxxxx
[snmp_priv_protocol] => DES
[snmp_priv_passphrase] =>
[snmp_auth_protocol] => MD5
[snmp_password] =>
[snmp_username] =>
[snmp_version] => 1
[sun] => 0
[sat] => 0
[fri] => 1
[thu] => 0
[wed] => 0
[tue] => 0
[mon] => 0
[monthly] => 0
[state] => up
[fileupload] => /data/upload.cfg
[pathdata] => /data
[path] => /data
[date] => 2008-10-24 10:49:00
[up_download] => download
[configtype] => tftp
[name] => configmanager
[id] => 2
(
data to save are :Array
24/10/2008 10:48:10 SQL Save configuration's parameters in tables plugin_cfgmng. -> id result=2, code=0 errortext=
24/10/2008 10:48:10 start SQL Save configuration's parameters in tables
2008-10-24 10:32:40 create pancho config for configmanager(configid=2) --> \data\configmanagerid2.conf!24/10/2008 10:48:01 start ADD / EDIT configuration's parameters



Any ideas?

Thanks
Back to top
spoonman
Cacti User


Joined: 03 May 2005
Posts: 244

PostPosted: Tue Jan 06, 2009 8:59 am    Post subject: Reply with quote

has anyone successfully gotten the --pre cmds to work ...I can get my configs ( about 40 roght now ) tftp'd down to my cacti server but cant get the --pre cmd to work where it will create a folder first to put them in with the day's date/// I just used the ex. in the config page..

if test -d '/tftpboot/switchconfigs/%y%%m%%d%'; then mkdir /tftpboot/switchconfigs/%y%%m%%d% fi

I dont' seem to get this porttion to work..it dumps all configs in my /switchconfigs/ dir.

Any ideas???

Thanks
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin General All times are GMT - 5 Hours
Goto page Previous  1, 2, 3 ... 25, 26, 27
Page 27 of 27

 



Powered by phpBB © 2001, 2005 phpBB Group