Welcome, Guest. Please login or register.

Author Topic: Backup problem on Cisco  (Read 3911 times)

caum

  • Guest
Backup problem on Cisco
« on: June 07, 2010, 05:22:49 PM »
Hello,

First, I know there are a bunch of topic about this already but no one answer my questions.
Or did I miss one important ? Possible. Feel free to tell me.

Ok, so :
- Nedi is on a CentOS. A Fully Automated Nagios and we want to add Nedi to this.
- We have an old Nedi but it wasn't me who installed it. I checked and backup config are well done. (It's frustrating !)
- I installed a lot of cpan module ! Probably too much to be honest but I tried a lot ... and failed everytime :D
Algorithm::Diff
Net::Telnet::Cisco (I had to force it, bad idea ?)
Net::Appliance::Session
Net::SSH::Perl
Net::Telnet (on SSH2 only since SS1 crashed down everytime because of Math::BigInt::GMP, if I remember correctly)
Math::BigInt::GMP (failed)
Math::BigInt::Pari   
Digest::SHA1
Digest::SHA
(tons and tons of dependancies, it's frightening)

- I also checked here :http://www.nedi.ch/discovery:libcli-sshnet
And tried those input output.log ... but they stay empty no matter what I tried.

All input will be appreciated :)

Thank you !

harry

  • Full Member
  • ***
  • Posts: 131
    • View Profile
Re: Backup problem on Cisco
« Reply #1 on: June 08, 2010, 06:24:16 AM »
Hi Caum,

Is your username and password entered correctly in nedi.conf....?
check the config and make sure to put a "." if your switch just want a password.

Regards,
Harry.

caum

  • Guest
Re: Backup problem on Cisco
« Reply #2 on: June 08, 2010, 10:39:20 AM »
Hello Harry,

Firstly, thanks for your answer.

I don't really understand the meaning of your "."

But, by checking the old nedi, I found an error on my nedi.conf :
user [tab] password [tab] enablepass
instead of
usr [tab] user [tab] password [tab] enablepass

But that doesn't work better
(No more luck with input/output.log which are still empty)

I use these passwords to connect directly on SSH with putty so I guess their right.

I got that line
P:(USERNAME)TcFp99 Requested table is empty or does not exist
So I guess it try and fail as you told me.
But I don't really get it ...

On a side note, I don't understand this :
# Regexp to match username prompts (useful if you set something else on auth server :
#userlogin       (username|login)

I don't really understand the aim of that line
I added a # because it's not in my old nedi.conf
But, it doesn't work either with or without.

Thank you

harry

  • Full Member
  • ***
  • Posts: 131
    • View Profile
Re: Backup problem on Cisco
« Reply #3 on: June 09, 2010, 01:29:37 AM »
Hi, the Meaning of  "." is just a . in place of username, if username is blank.
and than the password and than enable password.

Harry.

caum

  • Guest
Re: Backup problem on Cisco
« Reply #4 on: June 10, 2010, 09:38:49 AM »
Hello Harry,

Ok, so it doesn't apply to my configuration.
Everything has a username, password and enable password.

I still think the problem is from CPAN modules. I force installed one of them and had problems with another. So it wouldn't be surprising if my problem come from these. (see my first post)

I need to find a way to take care of this without reinstalling if possible nor breaking what functionning.

Thanks for your input :)