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 ... 7
1
Installation / Re: Nodes without Hostname and IP
« on: August 24, 2020, 12:00:19 PM »
ich würde mal vermuten Nedi hat das Layer3 Device nicht gescannt bzw. es gibt keinen ARP Eintrag für die MACs

2
Discovery / Moving from CDP to LLDP
« on: June 26, 2020, 10:41:08 AM »
Hello together,

we startet moving from CDP to LLDP for various reasons.
i had the problem/challange to also change the discovery for new devices.
a lot and i mean a lot of .def file have just CDP enable.
since i'm lazy not willing to spent hour of finding and changing them.

i did it via CLI
at least on linux (debian) the code works. but should work on all unix plattforms. maybe different escaping

Code: [Select]
cd /var/nedi/sysobj
mkdir back
cp * back
grep -rlZ '\CDP$' . | xargs -0 sed -i 's/CDP/CDP|LLDPXN/g

the will search for file which have a line that is ending with CDP
it will pass the file names to sed to replace CDP with CDP|LLDPXN

at least for us it didn't break anything.

i would advise test it first with a couple of switches.
LLDP will most likely give you more Neighbor than CDP.
Would be grade if Nedi would only insert actual network devices.
eg. based on LLDP flags/Capability

3
Definition Files / Re: N9K-C92160YC-X
« on: June 26, 2020, 09:51:01 AM »
i use a little different version

Code: [Select]
# Definition for 1.3.6.1.4.1.9.12.3.1.3.1744 created by Defed 1.9 on 1.Jun 2020 (ascii)
 
# Main
SNMPv   2HC
Type    N9K-C92160YC-X
TypOID
NamOID
DesOID
OS      NXOS
Icon    w3bn
Size    1
Uptime  S
Bridge  VLX
ArpND   phy
Dispro  CDP|LLDPXN
Serial  1.3.6.1.2.1.47.1.1.1.1.11.10
Bimage  1.3.6.1.2.1.47.1.1.1.1.9.22
VLnams  1.3.6.1.4.1.9.9.46.1.3.1.1.4
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
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.2.0
FTPConf
Fanstat 1.3.6.1.4.1.9.9.117.1.4.1.1.1   2

# Interfaces
StartX
EndX
IFname  1.3.6.1.2.1.31.1.1.1.1
IFaddr  adr
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
Modom
Moslot  1.3.6.1.2.1.47.1.1.1.1.7
Moclas  1.3.6.1.2.1.47.1.1.1.1.5
Movalu  6|7|9|10
Modesc  1.3.6.1.2.1.47.1.1.1.1.2
Modhw   1.3.6.1.2.1.47.1.1.1.1.8
Modfw   1.3.6.1.2.1.47.1.1.1.1.9
Modsw   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  1.3.6.1.2.1.47.1.1.1.1.14
Mostat  1.3.6.1.4.1.9.9.117.1.1.2.1.2
Mostok  2

# 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.91.1.1.1.1.4N
MemCPU  1.3.6.1.4.1.9.9.109.1.1.1.1.13.1
Custom                 

sadly QSFP-40G-CR4 do not report a module name in SNMP and will show up only with the eg. "Transceiver(slot:1-port:49)"

4
Discovery / Re: Cisco EoL information upload
« on: June 25, 2020, 06:51:55 AM »
well i haven't testet it. NeDi is not our asset tool :(

in the Guide it is listed. https://www.nedi.ch/pub/The NeDi Guide.pdf Page 20
Quote
If you use System-Files with "update-replace config" and select "ciscoeol.tgz", it'll essentially unpack a file called
"ciscoeol.csv" in the nedi root folder. If nedi.pl is called with -Y options, all device types and module models are compared
against that file for EoL information, which will be added to the asset record.

If i screen to the code:
Code: [Select]
/var/nedi/html/languages/english/gen-Assets.html:               A file called ciscoeol.tgz can be uploaded with <a href="#System-Files">System-Files</a>.
/var/nedi/html/languages/english/gen-MAssets.html:              A file called ciscoeol.tgz can be uploaded with System-Files.
/var/nedi/html/languages/deutsch/gen-MAssets.html:              Das Archiv ciscoeol.tgz kann auf der Seite System-Files hochgeladen werden.
/var/nedi/inc/libmisc.pm: E.g. Cisco products are read from ciscoeol.csv (in the nedi directory):
/var/nedi/inc/libmisc.pm:       if($_[0] eq 'Cisco' and -e "$main::p/ciscoeol.csv"){
/var/nedi/inc/libmisc.pm:               my @l = `egrep -hi '^$_[1](\/K9)?;' $main::p/ciscoeol.csv`;
/var/nedi/inc/libmisc.pm:                       Prt("CHKP:".scalar @l." matches found with $_[1] in ciscoeol.csv\n");

5
Definition Files / Cisco IE-1000-6T2T-LM 1.3.6.1.4.1.9.1.2331
« on: May 26, 2020, 11:45:26 AM »
not complete but better than nothing.

Code: [Select]
# Definition for 1.3.6.1.4.1.9.1.2331 created by Defed 1.9 on 26.May 2020 (ascii)
 
# Main
SNMPv 2HC
Type IE-1000-6T2T-LM
TypOID 1.3.6.1.4.1.9.9.832.1.24.1.3.5.4.0
NamOID
DesOID
OS IOS
Icon w2bp
Size 1
Uptime S
Bridge qbriV
ArpND old
Dispro
Serial 1.3.6.1.4.1.9.9.832.1.24.1.3.5.3.0
Bimage 1.3.6.1.4.1.9.9.832.1.28.1.3.3.1.6.1
VLnams 1.3.6.1.2.1.17.7.1.4.3.1.1
VLnamx
Group
Mode
CfgChg
CfgWrt
FTPConf
Fanstat
 
# 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.832.1.13.1.2.2.1.1.3
IFvlix
IFpowr
IFpwix
IFdupl 1.3.6.1.2.1.10.7.2.1.19
IFduix
Halfdp 2
Fulldp 3
 
# Modules
Modom
Moslot
Moclas 1.3.6.1.2.1.47.1.1.1.1.5
Movalu 3|6
Modesc 1.3.6.1.2.1.47.1.1.1.1.2
Modhw
Modfw
Modsw
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.7
Modloc 1.3.6.1.2.1.47.1.1.1.1.2
Mostat
Mostok
 
# RRD Graphing
CPUutl
Temp
MemCPU
Custom

6
Discovery / Re: Event table blowing up
« on: May 07, 2020, 09:04:04 AM »
i added the l again to the notify part in the nedi.conf

i'm running 1.9C for a couple of days now.
i will see how it is going and report back.

7
Discovery / Event table blowing up
« on: April 27, 2020, 02:59:57 PM »
Hello together,

for same reason my event table is blowing up. (grow to 20GB not sure in which timeframe)
I found the cause to be link change event.
on every discovery for every active port this message is written to the event table

Code: [Select]
WDEV:dekrXYZ written to nedi.devices
EVNT:MOD=1/1 L=150 CL=lnc TGT=dekrXYZ MSG=Gi0/10 (blabla) was      link changed type  from     
EVNT:MOD=1/1 L=150 CL=lnc TGT=dekrXYZ MSG=Nu0 was      link changed type  from      did not receive any traffic did not send any traffic
EVNT:MOD=1/1 L=150 CL=lnc TGT=dekrXYZ MSG=Vl410 was      link changed type  from     
WIF :19 interfaces written to nedi.interfaces

does anyone know what that could be?

for now i removed the l from the notify part in the nedi conf.

8
Definition Files / Def Cisco C9200L-24P-4G
« on: March 05, 2020, 09:48:27 AM »
here is the def file i use for my C9200L-24P-4G with the correct PoE values shown.

Code: [Select]
# Definition for 1.3.6.1.4.1.9.1.2694 created by Defed 1.0 on 5.Mar 2020 (ascii)
 
# Main
SNMPv 2HC
Type C9200L-24P-4G
Typoid 1.3.6.1.2.1.47.1.1.1.1.2.1000
Sysdes
OS IOS
Icon skbn
Size 1
Uptime S
Bridge VLX
ArpND oldcie
Dispro CDP
Serial 1.3.6.1.4.1.9.3.6.3.0
Bimage 1.3.6.1.4.1.9.2.1.73.0
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
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
Fanstat 1.3.6.1.4.1.9.9.13.1.4.1.3 1
 
# Interfaces
StartX
EndX
IFname 1.3.6.1.2.1.31.1.1.1.1
IFaddr old
IFalia 1.3.6.1.2.1.31.1.1.1.18
IFalix
InBcast 1.3.6.1.2.1.31.1.1.1.3
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 1.3.6.1.4.1.9.9.402.1.2.1.8 N
IFpwix ifnx
IFdupl 1.3.6.1.2.1.10.7.2.1.19
IFduix
Halfdp 2
Fulldp 3
 
# Modules
Modom
Moslot 1.3.6.1.2.1.47.1.1.1.1.7
Moclas 1.3.6.1.2.1.47.1.1.1.1.5
Movalu 3|6|9|10
Modesc 1.3.6.1.2.1.47.1.1.1.1.2
Modhw 1.3.6.1.2.1.47.1.1.1.1.8
Modfw 1.3.6.1.2.1.47.1.1.1.1.9
Modsw 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 1.3.6.1.4.1.9.9.13.1.5.1.3
Mostok 1
 
# RRD Graphing
CPUutl 1.3.6.1.4.1.9.9.109.1.1.1.1.8N
Temp 1.3.6.1.4.1.9.9.13.1.3.1.3N
MemCPU 1.3.6.1.4.1.9.9.109.1.1.1.1.13N 1024
Custom

9
Definition Files / Re: POE Ciscos new 9x00 switch series
« on: March 05, 2020, 09:46:31 AM »
ARG my bad.
the OID should be 1.3.6.1.4.1.9.9.402.1.2.1.8 without the .1 at the end :(
than it also works with ifnx
i will post the def file seperatly

10
Definition Files / Re: POE Ciscos new 9x00 switch series
« on: March 05, 2020, 09:37:37 AM »
i got a 9200L got it to work more or less.
the correct poe values are in 1.3.6.1.4.1.9.9.402.1.2.1.8.1
but i can't get them matched to the correct interface
if i leave PoE Index empty than the gi0/0 will get the first value :(
if i set it to ifnx than nothing shows up.

this is my def file
Code: [Select]
# Definition for 1.3.6.1.4.1.9.1.2694 created by Defed 1.0 on 5.Mar 2020 (ascii)
 
# Main
SNMPv 2HC
Type C9200L-24P-4G
Typoid
Sysdes
OS IOS
Icon w3bd
Size 1
Uptime S
Bridge VLX
ArpND oldcie
Dispro CDP|LLDPXN
Serial 1.3.6.1.4.1.9.3.6.3.0
Bimage 1.3.6.1.4.1.9.2.1.73.0
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
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.2.0
FTPConf
Fanstat 1.3.6.1.4.1.9.9.13.1.4.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 1.3.6.1.4.1.9.9.402.1.2.1.8.1 N
IFpwix ifnx
IFdupl 1.3.6.1.2.1.10.7.2.1.19
IFduix
Halfdp 2
Fulldp 3
 
# Modules
Modom
Moslot 1.3.6.1.2.1.47.1.1.1.1.7
Moclas 1.3.6.1.2.1.47.1.1.1.1.5
Movalu 3|6|9|10
Modesc 1.3.6.1.2.1.47.1.1.1.1.2
Modhw 1.3.6.1.2.1.47.1.1.1.1.8
Modfw 1.3.6.1.2.1.47.1.1.1.1.9
Modsw 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 1.3.6.1.4.1.9.9.13.1.5.1.3
Mostok 1
 
# RRD Graphing
CPUutl 1.3.6.1.4.1.9.9.109.1.1.1.1.8N
Temp 1.3.6.1.4.1.9.9.13.1.3.1.3N
MemCPU 1.3.6.1.4.1.9.9.109.1.1.1.1.13N 1024
Custom

11
Database / Re: remote access to mysql
« on: February 13, 2020, 11:02:22 AM »
you need to replace the ip with the actual ip of the server
but keep in mind haven a DB reachable from "anywhere" is a big security risk.
i would recommand to implement a firewall to controll acces to the db.

12
Other / Re: Small fixes and hacks for NeDi 1.8.100p3
« on: February 05, 2020, 11:45:40 AM »
ok

i changed the line 484 in /var/nedi/inc/libsnmp.pm
from
Code: [Select]
484                         $bimg =~ s/^(\.|flash:|(slot|disk)\d:|(sup-)?boot(flash|disk):|FIRMWARE REVISION: )([-.\/\w]*\/)?//;
to
Code: [Select]
484                         $bimg =~ s/^(\.|(sd)?flash:|(slot|disk)\d:|(sup-)?boot(flash|disk):|FIRMWARE REVISION: )([-.\/\w]*\/)?//;

13
Other / Re: Small fixes and hacks for NeDi 1.8.100p3
« on: January 29, 2020, 01:49:52 PM »
i have 1 more
the bootimage might be longer than 64 chars.

and in the Database change the bootimage field size from 64 to 128 in device table

change line 1089 in /var/nedi/inc/libdb.pm
from
Code: [Select]
$main::dev{$dv}{bi}?substr($main::dev{$dv}{bi},0,64):'',to
Code: [Select]
$main::dev{$dv}{bi}?substr($main::dev{$dv}{bi},0,128):'',
the error accored  for me on Cisco IE-4000 switch
Quote
Bootimage changed from sdflash:/ie4000-universalk9-mz.152-7.E/ie4000-universalk9-mz.152 to sdflash:/ie4000-universalk9-mz.152-7.E/ie4000-universalk9-mz.152-7.E.bin
it was always cut to 64 now it's fine

14
Database / PostgreSQL query problem
« on: January 07, 2020, 10:10:56 AM »
Hello together,

i just finished my migartion from mySQL to postgreSQL
everythink is workint so far.

Only downside is my paralell discovery. I is made for mysql and not working in postgresql.
I tried to alter it but no luck.
In mysql i used this
Code: [Select]
####  over the day  ####
#4,30 2-23 * * *        perl /var/nedi/nedi.pl -SWGflms -A 'RIGHT(INET_NTOA(devip), 1) IN (0, 6)' > /tmp/nedi-seedlist.ip.0u6.log 2>&1
#1,31 2-23 * * *        perl /var/nedi/nedi.pl -SWGflms -A 'RIGHT(INET_NTOA(devip), 1) IN (1, 5)' > /tmp/nedi-seedlist.ip.1u5.log 2>&1
#2,32 2-23 * * *        perl /var/nedi/nedi.pl -SWGflms -A 'RIGHT(INET_NTOA(devip), 1) IN (2, 7)' > /tmp/nedi-seedlist.ip.2u7.log 2>&1
#3,33 2-23 * * *        perl /var/nedi/nedi.pl -SWGflms -A 'RIGHT(INET_NTOA(devip), 1) IN (3, 8)' > /tmp/nedi-seedlist.ip.3u8.log 2>&1
#0,34 2-23 * * *        perl /var/nedi/nedi.pl -SWGflms -A 'RIGHT(INET_NTOA(devip), 1) IN (4, 9)' > /tmp/nedi-seedlist.ip.4u9.log 2>&1

the right to cutof the IPs is not working in postgresql
Code: [Select]
$ perl /var/nedi/nedi.pl -SWGflms -v -d d -A 'RIGHT(INET_NTOA(devip), 1) IN (0, 6)'
RDEV:2227 devices read from nedi.devices
DBG :SELECT device,inet_ntoa(devip),readcomm,snmpversion & 3 FROM devices LEFT JOIN configs USING (device) WHERE snmpversion > 0 AND RIGHT(INET_NTOA(devip), 1) IN (0, 6) key=
DBD::Pg::db selectall_arrayref failed: FEHLER:  Funktion right(inet, integer) existiert nicht
ZEILE 1: ... configs USING (device) WHERE snmpversion > 0 AND RIGHT(INET...

i tired is also with cast to convert but it's also not working
Code: [Select]
$ perl nedi.pl -SWGflms -v -d d -A "RIGHT(CAST(inet_ntoa(devip) AS text),1) IN (0, 6)"
RDEV:2227 devices read from nedi.devices
DBG :SELECT device,inet_ntoa(devip),readcomm,snmpversion & 3 FROM devices LEFT JOIN configs USING (device) WHERE snmpversion > 0 AND RIGHT(CAST(inet_ntoa(devip) AS text),1) IN (0, 6) key=
DBD::Pg::db selectall_arrayref failed: FEHLER:  Operator existiert nicht: text = integer
ZEILE 1: ...on > 0 AND RIGHT(CAST(inet_ntoa(devip) AS text),1) IN (0, 6)

maybe same SQL/Database expert is with us and could help me out


EDIT:
As a workaround for now i moved to
Code: [Select]
####  over the day  ####   PostgreSQL #######
1,31 2-23 * * * perl /var/nedi/nedi.pl -P 2 -Smv -A "CAST(inet_ntoa(devip) AS text) ~~* '\%.\%.\%.10\%'" > /tmp/nedi-seedlist.ip.10.log 2>&1
2,32 2-23 * * * perl /var/nedi/nedi.pl -P 2 -Smv -A "CAST(inet_ntoa(devip) AS text) ~~* '\%.\%.\%.20\%'" > /tmp/nedi-seedlist.ip.20.log 2>&1
3,33 2-23 * * * perl /var/nedi/nedi.pl -P 2 -Smv -A "CAST(inet_ntoa(devip) AS text) ~~* '\%.\%.\%.3_\%'" > /tmp/nedi-seedlist.ip.3.log 2>&1
4,34 2-23 * * * perl /var/nedi/nedi.pl -P 2 -Smv -A "CAST(inet_ntoa(devip) AS text) ~~* '\%.\%.\%.4_\%'" > /tmp/nedi-seedlist.ip.4.log 2>&1
5,35 2-23 * * * perl /var/nedi/nedi.pl -P 2 -Smv -A "CAST(inet_ntoa(devip) AS text) ~~* '\%.\%.\%.5_\%'" > /tmp/nedi-seedlist.ip.5.log 2>&1
6,36 2-23 * * * perl /var/nedi/nedi.pl -P 2 -Smv -A "CAST(inet_ntoa(devip) AS text) ~~* '\%.\%.\%.6_\%'" > /tmp/nedi-seedlist.ip.6.log 2>&1
7,37 2-23 * * * perl /var/nedi/nedi.pl -P 2 -Smv -A "CAST(inet_ntoa(devip) AS text) ~~* '\%.\%.\%.7_\%'" > /tmp/nedi-seedlist.ip.7.log 2>&1
8,38 2-23 * * * perl /var/nedi/nedi.pl -P 2 -Smv -A "CAST(inet_ntoa(devip) AS text) ~~* '\%.\%.\%.8_\%'" > /tmp/nedi-seedlist.ip.8.log 2>&1
9,39 2-23 * * * perl /var/nedi/nedi.pl -P 2 -Smv -A "CAST(inet_ntoa(devip) AS text) ~~* '\%.\%.\%.9_\%'" > /tmp/nedi-seedlist.ip.9.log 2>&1

11,41 2-23 * * * perl /var/nedi/nedi.pl -P 2 -Smv -A "CAST(inet_ntoa(devip) AS text) ~~* '\%.\%.\%.11\%'" > /tmp/nedi-seedlist.ip.11.log 2>&1
21,41 2-23 * * * perl /var/nedi/nedi.pl -P 2 -Smv -A "CAST(inet_ntoa(devip) AS text) ~~* '\%.\%.\%.21\%'" > /tmp/nedi-seedlist.ip.21.log 2>&1
12,42 2-23 * * * perl /var/nedi/nedi.pl -P 2 -Smv -A "CAST(inet_ntoa(devip) AS text) ~~* '\%.\%.\%.12\%'" > /tmp/nedi-seedlist.ip.12.log 2>&1
22,42 2-23 * * * perl /var/nedi/nedi.pl -P 2 -Smv -A "CAST(inet_ntoa(devip) AS text) ~~* '\%.\%.\%.22\%'" > /tmp/nedi-seedlist.ip.22.log 2>&1
13,43 2-23 * * * perl /var/nedi/nedi.pl -P 2 -Smv -A "CAST(inet_ntoa(devip) AS text) ~~* '\%.\%.\%.13\%'" > /tmp/nedi-seedlist.ip.13.log 2>&1
23,43 2-23 * * * perl /var/nedi/nedi.pl -P 2 -Smv -A "CAST(inet_ntoa(devip) AS text) ~~* '\%.\%.\%.23\%'" > /tmp/nedi-seedlist.ip.23.log 2>&1
14,44 2-23 * * * perl /var/nedi/nedi.pl -P 2 -Smv -A "CAST(inet_ntoa(devip) AS text) ~~* '\%.\%.\%.14\%'" > /tmp/nedi-seedlist.ip.14.log 2>&1
24,44 2-23 * * * perl /var/nedi/nedi.pl -P 2 -Smv -A "CAST(inet_ntoa(devip) AS text) ~~* '\%.\%.\%.24\%'" > /tmp/nedi-seedlist.ip.24.log 2>&1
15,45 2-23 * * * perl /var/nedi/nedi.pl -P 2 -Smv -A "CAST(inet_ntoa(devip) AS text) ~~* '\%.\%.\%.15\%'" > /tmp/nedi-seedlist.ip.15.log 2>&1
25,45 2-23 * * * perl /var/nedi/nedi.pl -P 2 -Smv -A "CAST(inet_ntoa(devip) AS text) ~~* '\%.\%.\%.25\%'" > /tmp/nedi-seedlist.ip.25.log 2>&1
16,46 2-23 * * * perl /var/nedi/nedi.pl -P 2 -Smv -A "CAST(inet_ntoa(devip) AS text) ~~* '\%.\%.\%.16\%'" > /tmp/nedi-seedlist.ip.16.log 2>&1
17,47 2-23 * * * perl /var/nedi/nedi.pl -P 2 -Smv -A "CAST(inet_ntoa(devip) AS text) ~~* '\%.\%.\%.17\%'" > /tmp/nedi-seedlist.ip.17.log 2>&1
18,48 2-23 * * * perl /var/nedi/nedi.pl -P 2 -Smv -A "CAST(inet_ntoa(devip) AS text) ~~* '\%.\%.\%.18\%'" > /tmp/nedi-seedlist.ip.18.log 2>&1
19,49 2-23 * * * perl /var/nedi/nedi.pl -P 2 -Smv -A "CAST(inet_ntoa(devip) AS text) ~~* '\%.\%.\%.19\%'" > /tmp/nedi-seedlist.ip.19.log 2>&1

15
Installation / Re: Update MAC Vendor OUI Database?
« on: December 17, 2019, 08:24:43 AM »
worked like a charm

Code: [Select]
root at krenoc in ~
$ perl /var/nedi/nedi.pl -v -N oui
DNS :Net::Nslookup not available
CLI :IO-Pty loaded
WEB :LWP-UserAgent loaded
OUI :38299 NIC vendor entries read
......
NOUI:Updated 8773 node vendors
END :Took 0 minutes

Pages: [1] 2 3 ... 7