Welcome, Guest. Please login or register.

Author Topic: Backup of device config failes over SSH.  (Read 3123 times)

kevinava

  • Newbie
  • *
  • Posts: 30
  • - Network Systems Engineer
    • View Profile
    • SNMP Location Generator
Backup of device config failes over SSH.
« on: February 12, 2010, 11:05:28 AM »
Hi, there seems to be a problem with SSH and device config backup.
In monitoring-health i get the following error message,
Config backup error: SSH:Permission denied at ./inc/libcli-netssh.pl line 388
So it seems login or executing sh run command on the Cisco devices fail.
I dont think its login due to the fact that the SSH login only fails during backup, and under a device ssh login is marked as successful.

Running: Nedi 1.0.5

Anyone have an idea whats causing this?
NOTE! Backup for devices running telnet works like a charm ;)
Best regards,

Kevin A. Vatn
- Network Systems Engineer
SNMP Location Generator - http://snmplg.kvatn.net/

kevinava

  • Newbie
  • *
  • Posts: 30
  • - Network Systems Engineer
    • View Profile
    • SNMP Location Generator
Re: Backup of device config failes over SSH.
« Reply #1 on: February 12, 2010, 11:18:44 AM »
Debug info:

Started with relative path
LWP loaded
Net::SSH::Perl loaded
OUI:    15969 NIC vendor entries read
DEV:    39 devices read from nedi_system.devices
LINK:   0 links (WHERE type = "STAT") read from nedi_trondos.links

Discovery (1.0.5) with 1 seed on Fri Feb 12 11:15:21 2010
================================================================================
Device                          Status                           Todo/Done-Time
--------------------------------------------------------------------------------
172.19.15.129    C:public-v2+ NOTDTI-OR64-F01INF-GW01   SV=6 TY=WS-C3560-8PC Cisco IOS Software, C3560 Software (C3560-IPSERVICESK9-M), Version 12.2(52)SE, RELEASE SOFTWARE (fc3)Copyright (c) 1986-2009 by Cisco Systems, Inc.Compiled Fri 25-Sep-09 08:13 by sasyamalBI=c3560-ipservicesk9-mz.122-52.SE.bin CPU=5 Mem=55924704 Mem IO;G;Bytes free=4810132 v7 i14    JvRequested table is empty or does not exist
j8 Qop0/0 m1     a61 o0/0         F:user:22f42 B:user:22-terminal length 0-show runHs Permission denied at ./inc/libcli-netssh.pl line 388


RRDs (No Write)
System: CPU=5% Mem=55924704B TMP=0C MemIO=4810132G
Interface:        Inoctet     Outoctet  Inerror Outerror
Fa0%2F8          23343267     24691205        0        0
Vl50                    0     14203636        0        0
Nu0                     0            0        0        0
Fa0%2F3                 0            0        0        0
Fa0%2F7                 0            0        0        0
Fa0%2F4                 0            0        0        0
Lo0                     0            0        0        0
Fa0%2F1        3484482207    441515938        0        0
Vl1                     0            0        0        0
Fa0%2F6                 0            0        0        0
Gi0%2F1         497487709   3534579710        0        0
Vl100            16996748     15257737        0        0
Fa0%2F2                 0            0        0        0
Fa0%2F5                 0            0        0        0
           0/1-16s
--------------------------------------------------------------------------------
Took 0 minutes

Devs:   1 devices discovered
Node:   475 nodes read () from nedi_system.nodes
Building Nodes (i:IP n:non-IP x:ignored f:no IF):
iiiixiiiiiiiiiiiiiiiiiiixiixiiiiiiiiiixiiiiiiiiiiiiiixixiiinn
Node:   53 IP and 2 non-IP nodes processed
Track:  0 IP and 1 IF changes detected
RRD:    /var/mon/system/rrd/top.rrd Trf=1.1943/1.1203 Err=0.0004/0.1000 Nod=0/0 Pwr=330.0000 Dif=0 Mon=5/0 MSG=,44,9,1, No Write
Best regards,

Kevin A. Vatn
- Network Systems Engineer
SNMP Location Generator - http://snmplg.kvatn.net/

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2687
    • View Profile
    • NeDi
Re: Backup of device config failes over SSH.
« Reply #2 on: February 13, 2010, 09:02:00 PM »
I made some promising progress with the new CLI lib, stay tuned  :)
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

kevinava

  • Newbie
  • *
  • Posts: 30
  • - Network Systems Engineer
    • View Profile
    • SNMP Location Generator
Re: Backup of device config failes over SSH.
« Reply #3 on: February 15, 2010, 03:53:42 PM »
Nice, looking forward to it :D
Best regards,

Kevin A. Vatn
- Network Systems Engineer
SNMP Location Generator - http://snmplg.kvatn.net/