redneckgeek wrote:Must be missing something simple here...
Cacti 0.8.8a on Ubuntu 10.04.4 LTS
Plugins mactrack discovery aggregate configstore
configstore looks like it's working.. debug shows appropriate info, tftp server shows that the file was transferred, but backup fails, and there is no file in the directory or database. SNMP type debug also shows success for the commands, again tftp logs show transfer, but no file and backup fails.
Thoughts????
--- syslog - tftp
Oct 3 09:28:15 netmon tftpd[2806]: tftpd: trying to get file: test_bench.cfg
Oct 3 09:28:15 netmon tftpd[2806]: tftpd: serving file from /usr/share/cacti/site/plugins/configstore/backups
Oct 3 09:47:36 netmon tftpd[5237]: tftpd: trying to get file: office.cfg
Oct 3 09:47:36 netmon tftpd[5237]: tftpd: serving file from /usr/share/cacti/site/plugins/configstore/backups
--- SNMP debug
/usr/bin/snmpset -r 3 -t 500 -Oqv -v 2c -c <rwcommunity> 10.6.10.4:161 1.3.6.1.4.1.9.9.96.1.1.1.1.2.111 i 1 SUCCESS
/usr/bin/snmpset -r 3 -t 500 -Oqv -v 2c -c <rwcommunity> 10.6.10.4:161 1.3.6.1.4.1.9.9.96.1.1.1.1.3.111 i 4 SUCCESS
/usr/bin/snmpset -r 3 -t 500 -Oqv -v 2c -c <rwcommunity> 10.6.10.4:161 1.3.6.1.4.1.9.9.96.1.1.1.1.4.111 i 1 SUCCESS
/usr/bin/snmpset -r 3 -t 500 -Oqv -v 2c -c <rwcommunity> 10.6.10.4:161 1.3.6.1.4.1.9.9.96.1.1.1.1.5.111 a 1.2.3.4 SUCCESS
/usr/bin/snmpset -r 3 -t 500 -Oqv -v 2c -c <rwcommunity> 10.6.10.4:161 1.3.6.1.4.1.9.9.96.1.1.1.1.6.111 s office.cfg SUCCESS
/usr/bin/snmpset -r 3 -t 500 -Oqv -v 2c -c <rwcommunity> 10.6.10.4:161 1.3.6.1.4.1.9.9.96.1.1.1.1.14.111 i 1 SUCCESS
/usr/bin/snmpset -r 3 -t 500 -Oqv -v 2c -c <rwcommunity> 10.6.10.4:161 1.3.6.1.4.1.9.9.96.1.1.1.1.14.111 i 6 SUCCESS
----- telnet debug
spawn /usr/bin/telnet 192.168.18.23
Trying 192.168.18.23...
Connected to 192.168.18.23.
Escape character is '^]'.
User Access Verification
Username: toe
Password:
TestBenchSwitch>enable
Password:
TestBenchSwitch#copy run tftp://1.2.3.4
Address or name of remote host [1.2.3.4]? 1.2.3.4
Destination filename [testbenchswitch-confg]? test_bench.cfg
!!
5283 bytes copied in 0.688 secs (7679 bytes/sec)
TestBenchSwitch#show version
Cisco IOS Software, C3560 Software (C3560-IPBASEK9-M), Version 12.2(44)SE2, RELEASE SOFTWARE (fc2)
Copyright (c) 1986-2008 by Cisco Systems, Inc.
Compiled Thu 01-May-08 15:28 by antonino
Image text-base: 0x00003000, data-base: 0x01600000
ROM: Bootstrap program is C3560 boot loader
BOOTLDR: C3560 Boot Loader (C3560-HBOOT-M) Version 12.2(25r)SEC, RELEASE SOFTWARE (fc4)
TestBenchSwitch uptime is 6 weeks, 1 day, 3 hours, 47 minutes
System returned to ROM by power-on
System image file is "flash:c3560-ipbasek9-mz.122-44.SE2.bin"
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
export@cisco.com.
cisco WS-C3560-24TS (PowerPC405) processor (revision E0) with 0K/8184K bytes of memory.
Processor board ID FDO1124Y3PH
Last reset from power-on
3 Virtual Ethernet interfaces
24 FastEthernet interfaces
2 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.
512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address : 00:1C:57:BB:19:80
Motherboard assembly number : 73-9897-06
Power supply part number : 341-0097-02
Motherboard serial number : FDO11240DQ0
Power supply serial number : AZS111502G8
Model revision number : E0
Motherboard revision number : B0
Model number : WS-C3560-24TS-S
System serial number : FDO1124Y3PH
Top Assembly Part Number : 800-26160-02
Top Assembly Revision Number : E0
Version ID : V02
CLEI Code Number : COMMG00ARB
Hardware Board Revision Number : 0x01
Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
* 1 26 WS-C3560-24TS 12.2(44)SE2 C3560-IPBASEK9-M
Configuration register is 0xF
TestBenchSwitch#
RETURN CODE: 0
My first guess would be a permissions problem. If the user running the ConfigStore poller process does not have access to write to the directory that the TFTP server is putting the files in, then this kind of thing could happen. My next guess would be that the TFTP root is not where you have it configured in the ConfigStore settings. Please check those things and let me know what you find.
-chadd.