Welcome, Guest. Please login or register.

Recent Posts

Pages: 1 ... 8 9 [10]
91
News / Nedi 1.7 to be made available to the community?
« Last post by ghermant on September 12, 2018, 10:42:00 AM »
Hello,
Do you know if and when Nedi 1.7 will be released to the community?

GaŽl
92
Discovery / Re: Cisco devices running 12.2 images don't work with device write
« Last post by wmjosiah on September 10, 2018, 05:16:36 PM »
This is version 1.6.1 I'm talking about.
93
Discovery / Cisco devices running 12.2 images don't work with device write
« Last post by wmjosiah on September 10, 2018, 05:15:14 PM »
Hi all,
My Cisco devices running IOS 15.x seem to work great with device write, but the ones running 12.2 don't. I don't get anything back from them in the Action List under device write and it doesn't work. Any clues? Does it not work with 12.2 for some reason?
94
Discovery / Re: Unable to Backup HP Procurve Switches
« Last post by Hannu Liljemark on September 10, 2018, 10:25:31 AM »
Actually, now that I rethink about it, Nedi is looking for enable-prompt but can't find it.

If you look at inc/libcli.pm, you'll see what Nedi looks for to determine if it needs to do "enable" or if it has enable-access:

$cmd{'ProCurve'}{'ropr'} = '(\x1b\[[;\?0-9A-Za-z]+)+[\w\s()\'+.-]+>\s?(\x1b\[[;\?0-9A-Za-z]+)+$';
$cmd{'ProCurve'}{'enpr'} = '(\x1b\[[;\?0-9A-Za-z]+)+[\w\s()\'+.-]+#\s?(\x1b\[[;\?0-9A-Za-z]+)+$';

So, here after login the switch prompt is:

SW-LOCATION-1#

Where I can type exit and I get readonly prompt:

SW-LOCATION-1>

So you want to look at what kind of prompt you get after login. Try logging in manually to the switch as I suggested and see what steps you need to do the get "show run" working. Maybe the prompt is not what Nedi regexps are expecting. I'm not sure if the "banner exec" (post-login) can mess up things.

Br,
Hannu
95
Discovery / Re: Unable to Backup HP Procurve Switches
« Last post by Hannu Liljemark on September 10, 2018, 10:12:22 AM »
Hi

What exactly does it look like if you manually login via telnet or ssh to the switch from the Nedi host, and try to display the running config ("show run")?

A sample of how it should go:

SSH :manager@10.10.10.10:22 Tout:2s OS:ProCurve EN:(\x1b\[[;\?0-9A-Za-z]+)+[\w\s()'+.-]+#\s?(\x1b\[[;\?0-9A-Za-z]+)+$
PTY :Forking ssh -o 'StrictHostKeyChecking no' -l manager 10.10.10.10
CLI2:Matched 'password: ' sending password
CLI3:Password sent
CLI3:Matched 'any key' sending ctrl-Y
CLI8:Matched enable prompt, OK
CMDR:no page result is OK
CMDR:show run result is OK
WAIT:show run
WAIT:Running configuration:
WAIT:
CONF:; J9775A Configuration Editor; Created on release #YA.15.12.0007

So, looking at the output from your case, something goes wrong after nedi sends ctrl+y to the "Press any key to continue" prompt. Maybe your customer has a funky login banner that freaks out Nedi?

----
manager@10.10.10.10's password:
HP J9775A 2530-48G Switch
Software revision YA.15.12.0007

Copyright (C) 1991-2013 Hewlett-Packard Development Company, L.P.

                   RESTRICTED RIGHTS LEGEND
 Confidential computer software.  Valid license from HP required for possession,
 use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer
 Software, Computer Software Documentation, and Technical Data for Commercial
 Items are licensed to the U.S. Government under vendor's standard commercial
 license.
                   HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P.
                   20555 State Highway 249, Houston, TX 77070

Press any key to continue
----

Br,
Hannu
96
Definition Files / Cisco IE-4000-8GS4G-E
« Last post by ascii on September 10, 2018, 09:01:52 AM »
# Definition for 1.3.6.1.4.1.9.1.2076 created by Defgen 2.0 on 10.Sep 2018 (ascii)
 
# Main
SNMPv   2HC
Type   IE-4000-8GS4G-E
Typoid   
Sysdes   
OS   IOS
Icon   w2bp
Size   1
TempAlert   
Bridge   VLX
ArpND   oldphy
Dispro   LLDPXN|CDP
Serial   1.3.6.1.2.1.47.1.1.1.1.11.1001
Bimage   1.3.6.1.4.1.9.2.1.73.0
CfgChg   1.3.6.1.4.1.9.9.43.1.1.1.0
CfgWrt   1.3.6.1.4.1.9.9.43.1.1.3.0
FTPConf   
VLnams   1.3.6.1.4.1.9.9.46.1.3.1.1.4.1
VLnamx   
Group   1.3.6.1.4.1.9.9.46.1.2.1.1.2.1
Mode   1.3.6.1.4.1.9.9.46.1.2.1.1.3.1
 
# Interfaces
StartX   
EndX   
IFname   1.3.6.1.2.1.31.1.1.1.1
IFaddr   oldcie   
IFalia   1.3.6.1.2.1.31.1.1.1.18
IFalix   
InBcast   1.3.6.1.2.1.31.1.1.1.9
InDisc   1.3.6.1.2.1.2.2.1.13
OutDisc   1.3.6.1.2.1.2.2.1.19
IFvlan   1.3.6.1.4.1.9.9.68.1.2.2.1.2
IFvlix   
IFpowr      
IFpwix   
IFdupl   1.3.6.1.2.1.10.7.2.1.19
IFduix   
Halfdp   2
Fulldp   3
 
# Modules
Modesc   1.3.6.1.2.1.47.1.1.1.1.2
Moclas   1.3.6.1.2.1.47.1.1.1.1.5
Movalu   9
Moslot   1.3.6.1.2.1.47.1.1.1.1.7
Modhw   1.3.6.1.2.1.47.1.1.1.1.8
Modsw   1.3.6.1.2.1.47.1.1.1.1.9
Modfw   1.3.6.1.2.1.47.1.1.1.1.10
Modser   1.3.6.1.2.1.47.1.1.1.1.11
Momodl   1.3.6.1.2.1.47.1.1.1.1.13
Modloc   
Mostat   
Mostok   
 
# RRD Graphing
CPUutl   1.3.6.1.4.1.9.9.109.1.1.1.1.8.1   
Temp   1.3.6.1.4.1.9.9.13.1.3.1.3.1006   
MemCPU   1.3.6.1.4.1.9.9.48.1.1.1.6.1   
Custom      
97
Definition Files / Re: Enterasys 7100-Series
« Last post by SchmuFoo on September 06, 2018, 09:29:41 AM »
Fixed, CPU Utilization -> Added Multiplikator:

1.3.6.1.4.1.5624.2.1.194.def:CPUutl     1.3.6.1.4.1.5624.1.2.49.1.1.1.1.4.10011001.1    0.1
98
Discovery / Re: Enterasys S3 Chassis - No Nodes (Solved, Patch included)
« Last post by SchmuFoo on September 06, 2018, 09:11:36 AM »
Hello Seth,

I need some guidance/help. We have a few S3 chassis from Enterasys, I've populated most of the DEF file and get interfaces, duplex, counters, vlans, modules etc. When I scan, i get almost everything except for all of the Nodes.

[..]

Code: [Select]
During the Write Nodes, i see 96x [code]LOOP:001f45e8c45b on ge.2.24 vl0 belongs to this device xxxxxxx!"
But only 10 nodes are inserted/updated.
Code: [Select]
WNOD:10 inserted, 0 nodes moved and 0 updated in nedi.nodes
Not sure where to go from here. Any help would be appreciated.

Thanks,
-Seth

I have the same problem with Enterasys/Extreme S4 Chassis Switches.

Tried to reproduce your fix, but libsnmp.pm looks quite different nowadays  :-\

Do you have something for the "current" version 1.6.100p?

Thanks & Cheers,
Jan


Fixed: https://forum.nedi.ch/index.php?topic=2156.msg8660#msg8660
99
Discovery / Re: Write Nodes: "Loop .. belongs to this device .."
« Last post by SchmuFoo on September 06, 2018, 09:10:29 AM »
Ah, like them old Cisco 3500XL switches. You can add |^001f45 to ignoredmacs, which should help...

@All:

Remo found out that this Regex is not used for the needed Interface MAC addresses.

Due to that, when using NeDi 1.6 it is also needed to modify row 2799 (3136 when using NeDi 1.8 ) in libsnmp.pm:

Code: [Select]
if( $mcst == 1 ){
100
Discovery / Unable to Backup HP Procurve Switches
« Last post by rbeaber on September 06, 2018, 01:23:12 AM »
New installation of NeDi on Ubuntu Server, and trying to backup a Procurve 2920 switch (or any Procurve Switch it seems), I get the following error:

Prepare (CLI) ----------------------------------------------------------------
SSH :manager;1@172.16.1.41:22 Tout:2s OS:ProCurve EN:(\x1b\[[;\?0-9A-Za-z]+)+[\w\s()'+.-]+#\s?(\x1b\[[;\?0-9A-Za-z]+)+$
PTY :Forking ssh -o 'StrictHostKeyChecking no' -l manager 172.16.1.41
CLI2:Matched 'password: ' sending password
CLI3:Password sent
CLI3:Matched 'any key' sending ctrl-Y
Use of uninitialized value $match in pattern match (m//) at /var/nedi/inc/libcli.pm line 818.
Use of uninitialized value $match in concatenation (.) or string at /var/nedi/inc/libcli.pm line 823.
CLI8:Matched '' enable failed

Any help would be appreciated.  Trying to get the administration to pay for the registered version, but have to get it working first.

Thanks,

-Rick Beaber
Pages: 1 ... 8 9 [10]