Welcome, Guest. Please login or register.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - ascii

Pages: [1] 2 3 ... 6
Installation / Re: Public-key authentication with ssh
« on: June 07, 2018, 08:23:53 AM »
i'm not using key files.
but i looked in the inc/libcli.pm

i found these line arround 664 depending on your version of nedi
Code: [Select]
}elsif($po == 22){
                 my $known = "-o 'StrictHostKeyChecking no'";

i guess you can try to set the keyfile there.

maybe you need to set a dummy password in the nedi config.

Discovery / Re: Discovery ignoring netfilter?
« on: April 24, 2018, 09:25:56 AM »
i*m quite sure.
i keep forgetting to add new subnets to the filter and NeDi will not discover them since they are out the netfilter range.
after i add them than the discovery works

Discovery / Re: Discovery ignoring netfilter?
« on: April 23, 2018, 11:53:36 AM »
i'm not sure if you realy need to escape the dots.

i use these filter and it works perfect.

Code: [Select]

Discovery / Re: Normal Poll fails, but Inventory Poll is successful
« on: January 04, 2018, 10:50:26 AM »
it might be a neighbour problem.
-p discovers the next neighbours
-A all discovers every device in the database

check if the missing devices have a neighbour

Discovery / Re: Across WAN discoveries
« on: August 04, 2017, 10:36:05 AM »
you could use a more detailed filter on the 3rd part.
i use this for example
depening on who your network looks like it might help.

« on: July 07, 2017, 10:15:53 AM »
i also use paralell discovery.
i use the end of the IP Adress as a filter.
Also skipping most of the stuff during day.

During the night i discovery the whole network based on there location.
meaning paralell discovery for the locations.

Are all you 7000 devices are connected to each other?
if they are in different locations without CDP neighborship than you can start the discovery at the same time.

i had the same issues.

i added the diffie-hellman-group1-sha1 to my /etc/ssh/ssh_config config

Discovery / Re: No login on Device-Write
« on: May 23, 2017, 08:46:26 AM »
there is no vaild login for the switch in the Nedi Database.
it should look like in the screenshot below.

hit the red power button to reset the cli and than discover it again.

Discovery / Re: VLANS?
« on: February 17, 2017, 02:09:13 PM »
what kind of switches do you have?
is there a .def file for the type?

Discovery / Re: Config Backup of Cisco Nexus
« on: February 16, 2017, 08:08:45 AM »
my N5K with NXOS 7 works with nexus OS in the .def

Code: [Select]
$cmd{'NXOS'}{'ropr'} = '[\w+().-]+>\s?$';
$cmd{'NXOS'}{'enpr'} = '[\w+().-]+#\s?$';
$cmd{'NXOS'}{'enab'} = 'enable';
$cmd{'NXOS'}{'page'} = 'terminal length 0';
$cmd{'NXOS'}{'dfwd'} = 'sh mac address-table dyn';
$cmd{'NXOS'}{'shcf'} = 'show running-config';
$cmd{'NXOS'}{'cfst'} = '^begin|running-config';
$cmd{'NXOS'}{'arp'} = 'sh ip arp vrf all';

GUI / Re: NeDi 1.5 Device-status CDP Neigbohr port
« on: January 09, 2017, 01:13:04 PM »
ok i see.
i used to like.
we or shall i say my apprentice had the job of going thru the devices and correct the interface alias.
We are currently replacing a lot of switches and this was an easy and save way to change the description

GUI / NeDi 1.5 Device-status CDP Neigbohr port
« on: December 13, 2016, 12:14:38 PM »
i just saw the if a port is connected to a switch the neigbhor is shown but not the port.
these used to be different in 1.4

Installation / Re: Missing dependencies on "Install" instructions for Ubuntu
« on: September 21, 2016, 09:32:56 AM »
maybe you should/could mention that nedi 1.4 is not compatible with php7 which might be pushed from same distributions as default by now.

Discovery / Re: netfilter over multiple lines
« on: July 08, 2016, 08:50:37 AM »
so i did a little bit of scripting.
not nice but works at least on linux.

create 2 files in /var/nedi/inc

Code: [Select]

# grep all location and paste at end without linefeed
grep netfilter netfilter-location.txt | tr -d '\n' >> netfilter-location.txt

# replace all netfilter word with the regex or |
sed -i -e '$s/netfilter /|/g' netfilter-location.txt

# insert keyword netfilter on first position on last line
sed -i -e '$s/^./netfilter /g' netfilter-location.txt

# variable for NeDi replace string
netfill=`tail -n 1 netfilter-location.txt`

# replace netfilter string in NeDi conf with new generated one
sed -i '/^netfilter /c\'"$netfill"'' /var/nedi/nedi.conf

# Delete temp inlput
sed -i '$ d' netfilter-location.txt

and the second one is netfilter-location.txt with your location like these
Code: [Select]
#Location A
netfilter 10.68.1.{1,3}|$||10.68.52.{1,3}|10.68.53.{1,3}|[5-6]
#Location A-1
netfilter 10.68.14[4-7].[5-9]$|$

#Location B
netfilter 10.72.3.{1,3}|10.72.15.{1,3}|10.72.99.[2,3]|

#Location C

#Location D

#Location E

#Location F
#Location F-1
netfilter 10.81.175.[129-158]

#Location G

and so on

than edit the netfilter-location.txt to your need.
once done call the netfilter.sh

it will replace the netfilter string in your nedi.conf
always backup your nedi.conf
test it before you use it.

the downside is, that if you edit your netfilter in the nedi conf directly without the netfilter-location.txt it will be replaced once you generate the new string

Discovery / netfilter over multiple lines
« on: July 05, 2016, 09:55:35 AM »
Hello together,

i was wondering if it is possible to write the netfilter over multiple lines.
I have multiple location (20+) in my nedi.

my netfilter statement is getting really long and messy.

i is possible to have multiple netfilter statements in the config?

Code: [Select]
#location A
netfilter a.b.c.d

#location b
netfilter e.f.g.h

location c
netfilter i.j.k.l

and so on

Pages: [1] 2 3 ... 6