NeDi Community

NeDi Software Specific => Discovery => Topic started by: ghermant on June 22, 2020, 12:24:25 PM

Title: Cisco EoL information upload
Post by: ghermant on June 22, 2020, 12:24:25 PM
It is mentioned in the NeDi Guide that it is possible to upload the Cisco EoL date and information (ciscoeol.tgz) in NeDi.

Do you know how to use it and what is the format?

Title: Re: Cisco EoL information upload
Post by: ascii 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. NeDi Guide.pdf ( NeDi Guide.pdf) Page 20
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 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/ E.g. Cisco products are read from ciscoeol.csv (in the nedi directory):
/var/nedi/inc/       if($_[0] eq 'Cisco' and -e "$main::p/ciscoeol.csv"){
/var/nedi/inc/               my @l = `egrep -hi '^$_[1](\/K9)?;' $main::p/ciscoeol.csv`;
/var/nedi/inc/                       Prt("CHKP:".scalar @l." matches found with $_[1] in ciscoeol.csv\n");
Title: Re: Cisco EoL information upload
Post by: rickli on July 01, 2020, 08:27:44 AM
I've provided the ciscoeol file to my customers, but it hasn't been updated in a while. Here's an excerpt to show the format:


Unfortunately I haven't found a better alternative yet and nothing similar for other vendors either...

Title: Re: Cisco EoL information upload
Post by: sjobergh on July 04, 2020, 01:18:29 AM
Could you give me a explanation of the format/fields
We have API connection to Cisco and I can instruct my programmers to develop a script that download this info every week or month and then publish it here

WS-C2960S-24TSS-WS   0   1575154800   1606690800     STD1024601      WS-C2960X-24TS-LL
Not a partnr                 ?   some kind of date   some kind of date   ?   Partnr
Title: Re: Cisco EoL information upload
Post by: rickli on July 07, 2020, 09:29:02 AM
Hi, that would be excellent! But then I'd recomment not even looking at this EoL file, but rather write all data (including maintenance) to your CSV file. It can have the same column order as of the inventory table, or the one you see when clicking on the context help in Assets-Management.

You or your developer can of course email me for direct assistance...