RouterConfigs Plugin

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

cammpt
Posts: 17
Joined: Thu Aug 22, 2019 5:28 am

Re: RouterConfigs Plugin

Post by cammpt »

Hi ,

I have updated and have log:

[root@localhost classes]# php /usr/share/cacti/plugins/routerconfigs/router-download.php --debug
2019/09/09 13:51:42 - RCONFIG NOTICE: Starting automatic backup
2019/09/09 13:51:42 - RCONFIG STATS: Backup now running since 2019-09-09 13:51:42
2019/09/09 13:51:42 - RCONFIG DEBUG: SQL: SELECT * FROM plugin_routerconfigs_devices WHERE enabled = 'on' AND (nextbackup <= 1568011902 OR nextbackup IS NULL)
2019/09/09 13:51:42 - RCONFIG DEBUG: Attempting download for vndc-hp5510-MacSec-1a
2019/09/09 13:51:42 - RCONFIG DEBUG: Base64 decoded: a:3:{i:602259083;i:1282015525;s:8:"password";s:9:"(9: chars)";i:834445044;i:3653736;}
2019/09/09 13:51:42 - RCONFIG DEBUG: Base64 decoded:
2019/09/09 13:51:42 - RCONFIG 10.19.207.244 -> DEBUG: both has 'PHPSsh', 'PHPTelnet'
2019/09/09 13:51:42 - RCONFIG 10.19.207.244 -> DEBUG: Attempting to use 'PHPSsh'
2019/09/09 13:51:42 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Creating SSH Server: 10.19.207.244, User: administrator, Password: (9 chars), Enablepw: (Not Set)
2019/09/09 13:51:42 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: deviceType: {"promptuser":"username:","promptpass":"password:","copytftp":"copy start tftp","version":"show version","sleep":"125000","timeout":"1","forceconfirm":"","connecttype":"both","checkendinconfig":"on"}
2019/09/09 13:51:42 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Setting timeout to 5 second(s)
2019/09/09 13:51:42 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Setting sleep time to 125000 microsecond(s)
2019/09/09 13:51:43 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: okay: logged in...
2019/09/09 13:51:43 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Connected via SSH
2019/09/09 13:51:43 - RCONFIG 10.19.207.244 (SSH) -> NOTICE: Ensuring process is enabled
2019/09/09 13:51:43 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: -->
2019/09/09 13:51:43 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/09 13:51:43 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/09 13:51:44 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/09 13:51:44 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/09 13:51:44 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- ******************************************************************************
2019/09/09 13:51:44 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/09 13:51:44 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- * Copyright (c) 2010-2018 Hewlett Packard Enterprise Development LP *
2019/09/09 13:51:44 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/09 13:51:44 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- * Without the owner's prior written consent, *
2019/09/09 13:51:44 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/09 13:51:44 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- * no decompiling or reverse-engineering shall be allowed. *
2019/09/09 13:51:44 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/09 13:51:44 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- ******************************************************************************
2019/09/09 13:51:44 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/09 13:51:44 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/09 13:51:44 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/09 13:51:44 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/09 13:51:45 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- <vndc-hp5510-MacSec-1a>
2019/09/09 13:51:45 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Found Prompt (Normal)
2019/09/09 13:51:45 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Attempt 1 of 10 to find prompt
2019/09/09 13:51:45 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: No enable command set, unable to elevate
2019/09/09 13:51:45 - RCONFIG 10.19.207.244 (SSH) -> Process is now NOT enabled
2019/09/09 13:51:45 - RCONFIG ERROR: Failed to download 'vndc-hp5510-MacSec-1a' to '/tftpdata/vndc-hp5510-MacSec-1a' via 'both'
2019/09/09 13:51:45 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: --> exit
2019/09/09 13:51:45 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/09 13:51:45 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/09 13:51:45 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- <vndc-hp5510-MacSec-1a>exit
2019/09/09 13:51:45 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/09 13:51:50 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Timeout of 5 seconds has been reached
2019/09/09 13:51:50 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Checking for valid incoming file at /tftpdata/vndc-hp5510-MacSec-1a
2019/09/09 13:51:50 - RCONFIG 10.19.207.244 (SSH) -> ERROR: Failed to find file at /tftpdata/vndc-hp5510-MacSec-1a
2019/09/09 13:51:50 - RCONFIG NOTICE: Failed to download for vndc-hp5510-MacSec-1a
2019/09/09 13:51:50 - RCONFIG WARNING: 0 Devices Backed Up, 1 Devices Failed, 1 Disabled (ignored) in 8 seconds
2019/09/09 13:51:50 - RCONFIG DEBUG: 0 devices backed up successfully.
2019/09/09 13:51:50 - RCONFIG DEBUG: 1 devices failed to backup.
2019/09/09 13:51:50 - RCONFIG DEBUG: 1 devices disabled from backup.
2019/09/09 13:51:50 - RCONFIG STATS: Time:7.88 Downloaded:0 Failed:1



I Only see the different line:
2019/09/09 13:51:45 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: No enable command set, unable to elevate

Please help !
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: RouterConfigs Plugin

Post by netniV »

That's OK, that's the line I wanted to see to verify that my thoughts on this were correct.
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
cammpt
Posts: 17
Joined: Thu Aug 22, 2019 5:28 am

Re: RouterConfigs Plugin

Post by cammpt »

netniV wrote: Wed Sep 11, 2019 4:30 am That's OK, that's the line I wanted to see to verify that my thoughts on this were correct.
Cool ! could you fix it? On HP Comware don't have enable mode, when I login on the HP Device i can run the backup command

thx!
cammpt
Posts: 17
Joined: Thu Aug 22, 2019 5:28 am

Re: RouterConfigs Plugin

Post by cammpt »

hi NetniV,

Do you have any update?
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: RouterConfigs Plugin

Post by netniV »

It's not done yet.
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
cammpt
Posts: 17
Joined: Thu Aug 22, 2019 5:28 am

Re: RouterConfigs Plugin

Post by cammpt »

netniV wrote: Wed Sep 18, 2019 2:20 am It's not done yet.
Thx for your information, i'm waiting for you.
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: RouterConfigs Plugin

Post by netniV »

Oh, can you do me a favour and open this as an issue on the routerconfigs repo on GitHub? That way we can track it properly.
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
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: RouterConfigs Plugin

Post by netniV »

I have the code ready, just could do with the feature request so I can tie it all together.
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
cammpt
Posts: 17
Joined: Thu Aug 22, 2019 5:28 am

Re: RouterConfigs Plugin

Post by cammpt »

netniV wrote: Fri Sep 20, 2019 2:15 pm I have the code ready, just could do with the feature request so I can tie it all together.
That's great info, what should we do to upgrade the feature ?
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: RouterConfigs Plugin

Post by netniV »

Open an enhancement request for this:
https://github.com/cacti/plugin_routerc ... dated-desc
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
cammpt
Posts: 17
Joined: Thu Aug 22, 2019 5:28 am

Re: RouterConfigs Plugin

Post by cammpt »

netniV wrote: Tue Sep 24, 2019 2:39 am Open an enhancement request for this:
https://github.com/cacti/plugin_routerc ... dated-desc
Hi netniV,

I have updated with issue #111 (https://github.com/Cacti/plugin_routerc ... 950cbd5bfd) and got bellow result, could you edit filename format to more large size ?


[root@localhost tftpdata]# php /usr/share/cacti/plugins/routerconfigs/router-download.php
2019/09/30 14:52:59 - RCONFIG NOTICE: Starting automatic backup
2019/09/30 14:52:59 - RCONFIG STATS: Backup now running since 2019-09-30 14:52:59
2019/09/30 14:52:59 - RCONFIG DEBUG: SQL: SELECT * FROM plugin_routerconfigs_devices WHERE enabled = 'on' AND (nextbackup <= 1569829979 OR nextbackup IS NULL)
2019/09/30 14:52:59 - RCONFIG DEBUG: Attempting download for vndc-hp5510-MacSec-1a
2019/09/30 14:52:59 - RCONFIG DEBUG: Base64 decoded: a:3:{i:675208005;i:793408082;s:8:"password";s:9:"(9: chars)";i:943666210;i:965202722;}
2019/09/30 14:52:59 - RCONFIG DEBUG: Base64 decoded:
2019/09/30 14:52:59 - RCONFIG 10.19.207.244 -> DEBUG: ssh has 'PHPSsh'
2019/09/30 14:52:59 - RCONFIG 10.19.207.244 -> DEBUG: Attempting to use 'PHPSsh'
2019/09/30 14:52:59 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Creating SSH Server: 10.19.207.244, User: administrator, Password: (9 chars), Enablepw: (Not Set), Elevated: on
2019/09/30 14:52:59 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: deviceType: {"id":"4","name":"HP Comware","promptuser":"usernmae:","promptpass":"passowrd:","connecttype":"ssh","configfile":"","copytftp":"backup startup-configuration to 10.19.203.31 %FILE%","version":"","confirm":"","sleep":"125000","timeout":"1","forceconfirm":"","checkendinconfig":"","anykey":"","elevated":""}
2019/09/30 14:52:59 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Setting timeout to 1 second(s)
2019/09/30 14:52:59 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Setting sleep time to 125000 microsecond(s)
2019/09/30 14:52:59 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: okay: logged in...
2019/09/30 14:52:59 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Connected via SSH
2019/09/30 14:52:59 - RCONFIG 10.19.207.244 (SSH) -> NOTICE: Already enabled, continuing
2019/09/30 14:52:59 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: --> backup startup-configuration to 10.19.203.31 vndc-hp5510-MacSec-1a
2019/09/30 14:52:59 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- backup startup-configuration to 10.19.203.31 vndc-hp5510-MacSec-1a
2019/09/30 14:52:59 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 14:53:00 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 14:53:00 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 14:53:00 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- ******************************************************************************
2019/09/30 14:53:00 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 14:53:00 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- * Copyright (c) 2010-2018 Hewlett Packard Enterprise Development LP *
2019/09/30 14:53:00 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 14:53:00 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- * Without the owner's prior written consent, *
2019/09/30 14:53:00 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 14:53:00 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- * no decompiling or reverse-engineering shall be allowed. *
2019/09/30 14:53:00 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 14:53:00 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- ******************************************************************************
2019/09/30 14:53:00 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 14:53:00 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 14:53:00 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 14:53:00 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 14:53:00 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Timeout of 1 seconds has been reached
2019/09/30 14:53:00 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Line: backup startup-configuration to 10.19.203.31 vndc-hp5510-MacSec-1a
2019/09/30 14:53:00 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Line: ******************************************************************************
2019/09/30 14:53:00 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Line: * Copyright (c) 2010-2018 Hewlett Packard Enterprise Development LP *
2019/09/30 14:53:00 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Line: * Without the owner's prior written consent, *
2019/09/30 14:53:00 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Line: * no decompiling or reverse-engineering shall be allowed. *
2019/09/30 14:53:00 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Line: ******************************************************************************
2019/09/30 14:53:00 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Line:
2019/09/30 14:53:00 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Result: (8)
2019/09/30 14:53:00 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Sending a return
2019/09/30 14:53:00 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: -->
2019/09/30 14:53:00 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 14:53:00 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 14:53:01 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- <vndc-hp5510-MacSec-1a>
2019/09/30 14:53:01 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Found Prompt (Normal)
2019/09/30 14:53:01 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Line:
2019/09/30 14:53:01 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Line: <vndc-hp5510-MacSec-1a>
2019/09/30 14:53:01 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Result: (0)
2019/09/30 14:53:01 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: --> exit
2019/09/30 14:53:01 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- backup startup-configuration to 10.19.203.31 vndc-hp5510-
2019/09/30 14:53:01 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 14:53:01 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- MacSec-1a
2019/09/30 14:53:01 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 14:53:01 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- Invalid filename!
2019/09/30 14:53:01 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 14:53:01 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- <vndc-hp5510-MacSec-1a>
2019/09/30 14:53:01 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 14:53:01 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- <vndc-hp5510-MacSec-1a>exit
2019/09/30 14:53:01 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 14:53:02 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Timeout of 1 seconds has been reached
2019/09/30 14:53:03 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Checking for valid incoming file at /tftpdata/vndc-hp5510-MacSec-1a
2019/09/30 14:53:03 - RCONFIG 10.19.207.244 (SSH) -> ERROR: Failed to find file at /tftpdata/vndc-hp5510-MacSec-1a
2019/09/30 14:53:03 - RCONFIG NOTICE: Failed to download for vndc-hp5510-MacSec-1a
2019/09/30 14:53:03 - RCONFIG WARNING: 0 Devices Backed Up, 1 Devices Failed, 0 Disabled (ignored) in 4 seconds
2019/09/30 14:53:03 - RCONFIG DEBUG: 0 devices backed up successfully.
2019/09/30 14:53:03 - RCONFIG DEBUG: 1 devices failed to backup.
2019/09/30 14:53:03 - RCONFIG STATS: Time:3.65 Downloaded:0 Failed:1
cammpt
Posts: 17
Joined: Thu Aug 22, 2019 5:28 am

Re: RouterConfigs Plugin

Post by cammpt »

If I modify backup command with ".cfg", I saw it could backup but couldn't archive ( backup startup-configuration to 10.19.203.31 %FILE%.cfg)

[root@localhost tftpdata]# php /usr/share/cacti/plugins/routerconfigs/router-download.php
2019/09/30 15:56:20 - RCONFIG NOTICE: Starting automatic backup
2019/09/30 15:56:20 - RCONFIG STATS: Backup now running since 2019-09-30 15:56:20
2019/09/30 15:56:20 - RCONFIG DEBUG: SQL: SELECT * FROM plugin_routerconfigs_devices WHERE enabled = 'on' AND (nextbackup <= 1569833780 OR nextbackup IS NULL)
2019/09/30 15:56:20 - RCONFIG DEBUG: Attempting download for vndc-hp5510-MacSec-1a
2019/09/30 15:56:20 - RCONFIG DEBUG: Base64 decoded: a:3:{i:675208005;i:793408082;s:8:"password";s:9:"(9: chars)";i:943666210;i:965202722;}
2019/09/30 15:56:20 - RCONFIG DEBUG: Base64 decoded:
2019/09/30 15:56:20 - RCONFIG 10.19.207.244 -> DEBUG: ssh has 'PHPSsh'
2019/09/30 15:56:20 - RCONFIG 10.19.207.244 -> DEBUG: Attempting to use 'PHPSsh'
2019/09/30 15:56:20 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Creating SSH Server: 10.19.207.244, User: administrator, Password: (9 chars), Enablepw: (Not Set), Elevated: on
2019/09/30 15:56:20 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: deviceType: {"id":"4","name":"HP Comware","promptuser":"usernmae:","promptpass":"passowrd:","connecttype":"ssh","configfile":"","copytftp":"backup startup-configuration to 10.19.203.31 %FILE%.cfg","version":"","confirm":"","sleep":"125000","timeout":"1","forceconfirm":"","checkendinconfig":"","anykey":"","elevated":"on"}
2019/09/30 15:56:20 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Setting timeout to 1 second(s)
2019/09/30 15:56:20 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Setting sleep time to 125000 microsecond(s)
2019/09/30 15:56:20 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: okay: logged in...
2019/09/30 15:56:20 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Connected via SSH
2019/09/30 15:56:20 - RCONFIG 10.19.207.244 (SSH) -> NOTICE: Already enabled, continuing
2019/09/30 15:56:20 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: --> backup startup-configuration to 10.19.203.31 vndc-hp5510-MacSec-1a.cfg
2019/09/30 15:56:20 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- backup startup-configuration to 10.19.203.31 vndc-hp5510-MacSec-1a.cfg
2019/09/30 15:56:20 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 15:56:21 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 15:56:21 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 15:56:21 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- ******************************************************************************
2019/09/30 15:56:21 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 15:56:21 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- * Copyright (c) 2010-2018 Hewlett Packard Enterprise Development LP *
2019/09/30 15:56:21 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 15:56:21 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- * Without the owner's prior written consent, *
2019/09/30 15:56:21 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 15:56:21 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- * no decompiling or reverse-engineering shall be allowed. *
2019/09/30 15:56:21 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 15:56:21 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- ******************************************************************************
2019/09/30 15:56:21 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 15:56:21 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 15:56:21 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 15:56:21 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 15:56:21 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Timeout of 1 seconds has been reached
2019/09/30 15:56:21 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Line: backup startup-configuration to 10.19.203.31 vndc-hp5510-MacSec-1a.cfg
2019/09/30 15:56:21 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Line: ******************************************************************************
2019/09/30 15:56:21 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Line: * Copyright (c) 2010-2018 Hewlett Packard Enterprise Development LP *
2019/09/30 15:56:21 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Line: * Without the owner's prior written consent, *
2019/09/30 15:56:21 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Line: * no decompiling or reverse-engineering shall be allowed. *
2019/09/30 15:56:21 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Line: ******************************************************************************
2019/09/30 15:56:21 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Line:
2019/09/30 15:56:21 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Result: (8)
2019/09/30 15:56:21 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Sending a return
2019/09/30 15:56:21 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: -->
2019/09/30 15:56:21 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 15:56:21 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 15:56:22 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- <vndc-hp5510-MacSec-1a>
2019/09/30 15:56:22 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Found Prompt (Normal)
2019/09/30 15:56:22 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Line:
2019/09/30 15:56:22 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Line: <vndc-hp5510-MacSec-1a>
2019/09/30 15:56:22 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Result: (0)
2019/09/30 15:56:22 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: --> exit
2019/09/30 15:56:22 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- backup startup-configuration to 10.19.203.31 vndc-hp5510-
2019/09/30 15:56:22 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 15:56:22 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- MacSec-1a.cfg
2019/09/30 15:56:22 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 15:56:22 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- Backing up the main startup configuration file to 10.19.203.31...
2019/09/30 15:56:22 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 15:56:22 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- Done.
2019/09/30 15:56:22 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 15:56:22 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- <vndc-hp5510-MacSec-1a>
2019/09/30 15:56:22 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 15:56:22 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- <vndc-hp5510-MacSec-1a>exit
2019/09/30 15:56:22 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 15:56:23 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Timeout of 1 seconds has been reached
2019/09/30 15:56:23 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Checking for valid incoming file at /tftpdata/vndc-hp5510-MacSec-1a
2019/09/30 15:56:23 - RCONFIG 10.19.207.244 (SSH) -> ERROR: Failed to find file at /tftpdata/vndc-hp5510-MacSec-1a
2019/09/30 15:56:23 - RCONFIG NOTICE: Failed to download for vndc-hp5510-MacSec-1a
2019/09/30 15:56:24 - RCONFIG WARNING: 0 Devices Backed Up, 1 Devices Failed, 1 Disabled (ignored) in 4 seconds
2019/09/30 15:56:24 - RCONFIG DEBUG: 0 devices backed up successfully.
2019/09/30 15:56:24 - RCONFIG DEBUG: 1 devices failed to backup.
2019/09/30 15:56:24 - RCONFIG DEBUG: 1 devices disabled from backup.
2019/09/30 15:56:24 - RCONFIG STATS: Time:3.78 Downloaded:0 Failed:1
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: RouterConfigs Plugin

Post by netniV »

2019/09/30 15:56:23 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Checking for valid incoming file at /tftpdata/vndc-hp5510-MacSec-1a
2019/09/30 15:56:23 - RCONFIG 10.19.207.244 (SSH) -> ERROR: Failed to find file at /tftpdata/vndc-hp5510-MacSec-1a
This seems to be the problem. Your tftp server's save location isn't /tftpdata/ or the permissions are such that the poller/website user doesn't have access to the file/folder.
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
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: RouterConfigs Plugin

Post by netniV »

But I have noticed your filename was truncated so I'll take a look later about that.
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
cammpt
Posts: 17
Joined: Thu Aug 22, 2019 5:28 am

Re: RouterConfigs Plugin

Post by cammpt »

netniV wrote: Mon Sep 30, 2019 4:22 am
2019/09/30 15:56:23 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Checking for valid incoming file at /tftpdata/vndc-hp5510-MacSec-1a
2019/09/30 15:56:23 - RCONFIG 10.19.207.244 (SSH) -> ERROR: Failed to find file at /tftpdata/vndc-hp5510-MacSec-1a
This seems to be the problem. Your tftp server's save location isn't /tftpdata/ or the permissions are such that the poller/website user doesn't have access to the file/folder.
hi netniV,

I don't think have a problem about location or permissions because it's working with Cisco :


[root@localhost tftpdata]# php /usr/share/cacti/plugins/routerconfigs/router-download.php
2019/09/30 16:45:11 - RCONFIG NOTICE: Starting automatic backup
2019/09/30 16:45:11 - RCONFIG STATS: Backup now running since 2019-09-30 16:45:11
2019/09/30 16:45:11 - RCONFIG DEBUG: SQL: SELECT * FROM plugin_routerconfigs_devices WHERE enabled = 'on' AND (nextbackup <= 1569836711 OR nextbackup IS NULL)
2019/09/30 16:45:11 - RCONFIG DEBUG: Attempting download for vndc-hp5510-MacSec-1a
2019/09/30 16:45:11 - RCONFIG DEBUG: Base64 decoded: a:3:{i:675208005;i:793408082;s:8:"password";s:9:"(9: chars)";i:943666210;i:965202722;}
2019/09/30 16:45:11 - RCONFIG DEBUG: Base64 decoded:
2019/09/30 16:45:11 - RCONFIG 10.19.207.244 -> DEBUG: ssh has 'PHPSsh'
2019/09/30 16:45:11 - RCONFIG 10.19.207.244 -> DEBUG: Attempting to use 'PHPSsh'
2019/09/30 16:45:11 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Creating SSH Server: 10.19.207.244, User: administrator, Password: (9 chars), Enablepw: (Not Set), Elevated: on
2019/09/30 16:45:11 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: deviceType: {"id":"4","name":"HP Comware","promptuser":"usernmae:","promptpass":"passowrd:","connecttype":"ssh","configfile":"","copytftp":"backup startup-configuration to 10.19.203.31 %FILE%.cfg","version":"","confirm":"","sleep":"125000","timeout":"1","forceconfirm":"","checkendinconfig":"","anykey":"","elevated":"on"}
2019/09/30 16:45:11 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Setting timeout to 1 second(s)
2019/09/30 16:45:11 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Setting sleep time to 125000 microsecond(s)
2019/09/30 16:45:11 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: okay: logged in...
2019/09/30 16:45:11 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Connected via SSH
2019/09/30 16:45:11 - RCONFIG 10.19.207.244 (SSH) -> NOTICE: Already enabled, continuing
2019/09/30 16:45:11 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: --> backup startup-configuration to 10.19.203.31 vndc-hp5510-MacSec-1a.cfg
2019/09/30 16:45:11 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- backup startup-configuration to 10.19.203.31 vndc-hp5510-MacSec-1a.cfg
2019/09/30 16:45:12 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- ******************************************************************************
2019/09/30 16:45:12 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 16:45:12 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- * Copyright (c) 2010-2018 Hewlett Packard Enterprise Development LP *
2019/09/30 16:45:12 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 16:45:12 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- * Without the owner's prior written consent, *
2019/09/30 16:45:12 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 16:45:12 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- * no decompiling or reverse-engineering shall be allowed. *
2019/09/30 16:45:12 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 16:45:12 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- ******************************************************************************
2019/09/30 16:45:12 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Timeout of 1 seconds has been reached
2019/09/30 16:45:12 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Line: backup startup-configuration to 10.19.203.31 vndc-hp5510-MacSec-1a.cfg
2019/09/30 16:45:12 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Line: ******************************************************************************
2019/09/30 16:45:12 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Line: * Copyright (c) 2010-2018 Hewlett Packard Enterprise Development LP *
2019/09/30 16:45:12 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Line: * Without the owner's prior written consent, *
2019/09/30 16:45:12 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Line: * no decompiling or reverse-engineering shall be allowed. *
2019/09/30 16:45:12 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Line: ******************************************************************************
2019/09/30 16:45:12 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Line:
2019/09/30 16:45:12 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Result: (8)
2019/09/30 16:45:12 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Sending a return
2019/09/30 16:45:13 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- <vndc-hp5510-MacSec-1a>
2019/09/30 16:45:13 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Found Prompt (Normal)
2019/09/30 16:45:13 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Line:
2019/09/30 16:45:13 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Line: <vndc-hp5510-MacSec-1a>
2019/09/30 16:45:13 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Result: (0)
2019/09/30 16:45:13 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: --> exit
2019/09/30 16:45:13 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- backup startup-configuration to 10.19.203.31 vndc-hp5510-
2019/09/30 16:45:13 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 16:45:13 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- MacSec-1a.cfg
2019/09/30 16:45:13 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 16:45:13 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- Backing up the main startup configuration file to 10.19.203.31...
2019/09/30 16:45:13 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 16:45:13 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- Done.
2019/09/30 16:45:13 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 16:45:13 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- <vndc-hp5510-MacSec-1a>
2019/09/30 16:45:13 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 16:45:13 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <-- <vndc-hp5510-MacSec-1a>exit
2019/09/30 16:45:13 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: <--
2019/09/30 16:45:14 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Timeout of 1 seconds has been reached
2019/09/30 16:45:14 - RCONFIG 10.19.207.244 (SSH) -> DEBUG: Checking for valid incoming file at /tftpdata/vndc-hp5510-MacSec-1a
2019/09/30 16:45:14 - RCONFIG 10.19.207.244 (SSH) -> ERROR: Failed to find file at /tftpdata/vndc-hp5510-MacSec-1a
2019/09/30 16:45:14 - RCONFIG NOTICE: Failed to download for vndc-hp5510-MacSec-1a
2019/09/30 16:45:14 - RCONFIG DEBUG: Attempting download for vndc-c9300-1a
2019/09/30 16:45:14 - RCONFIG DEBUG: Base64 decoded: a:3:{i:878909281;i:1466727659;s:8:"password";s:9:"(9: chars)";i:235639198;i:822606972;}
2019/09/30 16:45:14 - RCONFIG DEBUG: Base64 decoded:
2019/09/30 16:45:14 - RCONFIG 10.19.207.247 -> DEBUG: ssh has 'PHPSsh'
2019/09/30 16:45:14 - RCONFIG 10.19.207.247 -> DEBUG: Attempting to use 'PHPSsh'
2019/09/30 16:45:14 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: Creating SSH Server: 10.19.207.247, User: cammpt, Password: (9 chars), Enablepw: (Not Set), Elevated:
2019/09/30 16:45:14 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: deviceType: {"id":"1","name":"Cisco IOS","promptuser":"username:","promptpass":"password:","connecttype":null,"configfile":null,"copytftp":"copy run tftp","version":"show version","confirm":"y","sleep":null,"timeout":null,"forceconfirm":"","checkendinconfig":"on","anykey":null,"elevated":""}
2019/09/30 16:45:14 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: Setting timeout to 1 second(s)
2019/09/30 16:45:14 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: Setting sleep time to 125000 microsecond(s)
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: okay: logged in...
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: Connected via SSH
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> NOTICE: Ensuring process is enabled
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: -->
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <-- C
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <--
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <-- !!! UNAUTHORISED ACCESS PROHIBITED !!!
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <--
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <--
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <--
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <-- Use of HC VN computing systems is restricted to authorized use only.
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <--
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <-- The use of any HC VN computing system may be monitored and recorded
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <--
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <-- by HC VN for administrative and security reasons at any time. Your
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <--
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <-- use of these computing systems constitutes consent to this monitoring.
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <--
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <-- HC VN reserves the right to take appropriate action against anyone
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <--
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <-- who accesses or uses, or attempts to access or use, any HC VN computing
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <--
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <-- system improperly or without the appropriate authorization.
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <-- vndc-c9300-1a#
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <--
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <-- vndc-c9300-1a#
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: Found Prompt (Enabled)
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: Attempt 1 of 10 to find prompt
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: No enable command set, unable to elevate
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> Process is now enabled
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: --> copy run tftp
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <-- copy run tftp
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <--
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <-- Address or name of remote host []?
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: Found Prompt (Question)
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: Line: copy run tftp
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: Line: Address or name of remote host []?
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: Result: (0)
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: Question found
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> NOTICE: Sending Server: 10.19.203.31
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: --> 10.19.203.31
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <-- 10.19.203.31
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <--
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <-- Destination filename [vndc-c9300-1a-confg]?
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: Found Prompt (Question)
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: Line: 10.19.203.31
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: Line: Destination filename [vndc-c9300-1a-confg]?
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: Result: (0)
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: Question found
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> NOTICE: Sending Filename (Destination): vndc-c9300-1a
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: --> vndc-c9300-1a
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <-- vndc-c9300-1a
2019/09/30 16:45:15 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <--
2019/09/30 16:45:16 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <-- !
2019/09/30 16:45:16 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <-- !
2019/09/30 16:45:16 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <-- 23292 bytes copied in 0.696 secs (33466 bytes/sec)
2019/09/30 16:45:16 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <--
2019/09/30 16:45:16 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <-- vndc-c9300-1a#
2019/09/30 16:45:16 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: Found Prompt (Enabled)
2019/09/30 16:45:16 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: Line: vndc-c9300-1a
2019/09/30 16:45:16 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: Line: !!
2019/09/30 16:45:16 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: Line: 23292 bytes copied in 0.696 secs (33466 bytes/sec)
2019/09/30 16:45:16 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: Line: vndc-c9300-1a#
2019/09/30 16:45:16 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: Result: (0)
2019/09/30 16:45:16 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: --> terminal length 0
2019/09/30 16:45:16 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <-- terminal length 0
2019/09/30 16:45:16 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <--
2019/09/30 16:45:16 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <-- vndc-c9300-1a#
2019/09/30 16:45:16 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: Found Prompt (Enabled)
2019/09/30 16:45:16 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: --> terminal pager 0
2019/09/30 16:45:16 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <-- terminal pager 0
2019/09/30 16:45:16 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <-- % Invalid input detected at '^' marker.
2019/09/30 16:45:16 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <-- vndc-c9300-1a#
2019/09/30 16:45:16 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: Found Prompt (Enabled)
2019/09/30 16:45:16 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: <-- vndc-c9300-1a#
2019/09/30 16:45:16 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: Found Prompt (Enabled)
2019/09/30 16:45:16 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: --> exit
2019/09/30 16:45:17 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: Timeout of 1 seconds has been reached
2019/09/30 16:45:17 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: Checking for valid incoming file at /tftpdata/vndc-c9300-1a
2019/09/30 16:45:17 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: Attempting to open file at /tftpdata/vndc-c9300-1a
2019/09/30 16:45:17 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: Configuration end check successful
2019/09/30 16:45:17 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: Configuration Data Length 24416
2019/09/30 16:45:17 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: Checking backup directory exists: /tftpdata/archive/
2019/09/30 16:45:17 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: Attempting to backup to filename '/tftpdata/archive/vndc-c9300-1a-2019-09-30-1645'
2019/09/30 16:45:17 - RCONFIG 10.19.207.247 (SSH) -> DEBUG: Backed up
2019/09/30 16:45:17 - RCONFIG NOTICE: Download successful for vndc-c9300-1a
2019/09/30 16:45:17 - RCONFIG WARNING: 1 Devices Backed Up, 1 Devices Failed, 1 Disabled (ignored) in 6 seconds
2019/09/30 16:45:17 - RCONFIG DEBUG: 1 devices backed up successfully.
2019/09/30 16:45:17 - RCONFIG DEBUG: 1 devices failed to backup.
2019/09/30 16:45:17 - RCONFIG DEBUG: 1 devices disabled from backup.
2019/09/30 16:45:17 - RCONFIG STATS: Time:6.83 Downloaded:1 Failed:1
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests