plugin RouterConfig - error to backup

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
amitayb
Cacti User
Posts: 96
Joined: Thu Mar 29, 2012 2:19 am

plugin RouterConfig - error to backup

Post by amitayb »

hi,
Im testing this plugin.
using cisco router
I get the following error message:
23/08/2018 11:58:42 - RCONFIG x.x.x.x (Telnet) -> DEBUG: Setting timeout to 1 second(s)
23/08/2018 11:58:42 - RCONFIG x.x.x.x(Telnet) -> DEBUG: Setting sleep time to 125000 microsecond(s)
23/08/2018 11:58:42 - RCONFIG x.x.x.x(Telnet) -> Disconnect()
23/08/2018 11:58:42 - RCONFIG x.x.x.x(Telnet) -> Attempting to open socket to x.x.x.x:23
23/08/2018 11:58:42 - RCONFIG x.x.x.x(Telnet) -> Looking for username:
23/08/2018 11:58:43 - RCONFIG x.x.x.x(Telnet) -> DEBUG: Found Prompt (Username)
23/08/2018 11:58:43 - RCONFIG x.x.x.x(Telnet) -> DEBUG: Sending username: pdn
23/08/2018 11:58:44 - RCONFIG x.x.x.x(Telnet) -> DEBUG: Found Prompt (Password)
23/08/2018 11:58:44 - RCONFIG x.x.x.x (Telnet) -> DEBUG: Sending password: (9 chars)
23/08/2018 11:58:44 - RCONFIG x.x.x.x(Telnet) -> DEBUG: Found Prompt (Enabled)
23/08/2018 11:58:44 - RCONFIG x.x.x.x(Telnet) -> NOTICE: Connected via telnet
23/08/2018 11:58:44 - RCONFIG x.x.x.x(Telnet) -> NOTICE: Already enabled, continuing
23/08/2018 11:58:44 - RCONFIG x.x.x.x(Telnet) -> DEBUG: --> copy start tftp
23/08/2018 11:58:45 - RCONFIG x.x.x.x(Telnet) -> DEBUG: Found Prompt (Enabled)
23/08/2018 11:58:45 - RCONFIG x.x.x.x(Telnet) -> DEBUG: Line: copy start tftp
23/08/2018 11:58:45 - RCONFIG x.x.x.x(Telnet) -> DEBUG: Line: Command authorization failed.
23/08/2018 11:58:45 - RCONFIG x.x.x.x(Telnet) -> DEBUG: Line: ^
23/08/2018 11:58:45 - RCONFIG x.x.x.x(Telnet) -> DEBUG: Line: % Invalid input detected at '^' marker.
23/08/2018 11:58:45 - RCONFIG x.x.x.x(Telnet) -> DEBUG: Line: r1.con.rvt#
23/08/2018 11:58:45 - RCONFIG x.x.x.x(Telnet) -> DEBUG: Result: (0)
23/08/2018 11:58:45 - RCONFIG x.x.x.x(Telnet) -> DEBUG: Checking for valid incoming file at /var/www/html/cacti/backups/x.x.x.x
23/08/2018 11:58:45 - RCONFIG x.x.x.x(Telnet) -> ERROR: Failed to find file at /var/www/html/cacti/backups/x.x.x.x
23/08/2018 11:58:45 - RCONFIG x.x.x.x(Telnet) -> DEBUG: --> exit
23/08/2018 11:58:46 - RCONFIG x.x.x.x(Telnet) -> DEBUG: Timeout of 1 seconds has been reached
23/08/2018 11:58:46 - RCONFIG NOTICE: Failed to download for x.x.x.x
23/08/2018 11:58:46 - RCONFIG WARNING: 0 Devices Backed Up, 1 Devices Failed, 0 Disabled (ignored) in 4 seconds
23/08/2018 11:58:46 - RCONFIG DEBUG: 0 devices backed up successfully.
23/08/2018 11:58:46 - RCONFIG DEBUG: 1 devices failed to backup.
23/08/2018 11:58:47 - RCONFIG STATS: Time:4.64 Downloaded:0 Failed:1
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: plugin RouterConfig - error to backup

Post by netniV »

Code: Select all

23/08/2018 11:58:45 - RCONFIG x.x.x.x(Telnet) -> DEBUG: Line: Command authorization failed.
This line here is your problem. If you want to see exactly what was being sent/returned you'll have to enable the other debug option that records the actual conversation. However, I suspect that whilst your user is elevating, they don't have permission to run the TFTP command.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests