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 - tristanbob

Pages: [1] 2 3 ... 10
1
Definition Files / Re: Looking for .def File Cisco C9407R
« on: June 02, 2020, 07:31:26 PM »
You probably already have this answered, but I found that Nedi came with a .def file for this:

# Definition for 1.3.6.1.4.1.9.1.2500 created by Defgen 2.0 on 17.Dec 2018 (admin)

# Main
SNMPv   1
Type    C9407R
Typoid
Sysdes
OS      IOS
Icon    c3bd
Size    10
Uptime  S
Bridge  VLX
ArpND   phy
Dispro  CDP|LLDPXN
Serial  1.3.6.1.4.1.9.9.92.1.1.1.2.1
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  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.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.9     N
IFpwix  ifnx
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  6|7|9|10
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.10
Modfw   1.3.6.1.2.1.47.1.1.1.1.9
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.117.1.1.2.1.2
Mostok  2

# 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.3.41
MemCPU  1.3.6.1.4.1.9.9.48.1.1.1.6.1
Custom

2
Definition Files / N9K-C92160YC-X
« on: June 02, 2020, 07:20:31 PM »
# Definition for 1.3.6.1.4.1.9.12.3.1.3.1744 created by Defgen 1.8 on 16.Oct 2018 (admobst)

# General
SNMPv   2HC
Type    N9K-C92160YC-X
Typoid
Sysdes
OS      NXOS
Icon    c3bn
Size    1
Bridge  VLX
ArpND   oldcie
Dispro  LLDP
Serial  1.3.6.1.2.1.47.1.1.1.1.11.10
Bimage  1.3.6.1.2.1.1.1.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
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.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
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  6|7|10
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

# 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.4.38486
MemCPU  1.3.6.1.4.1.9.9.109.1.1.1.1.13.1
Custom  MemIO;G;Bytes

3
Definition Files / N9K-C9336C-FX2
« on: June 02, 2020, 07:20:03 PM »
# Definition for 1.3.6.1.4.1.9.12.3.1.3.1955 created by Defgen 1.8 on 16.Oct 2018 (admobst)

# General
SNMPv   2HC
Type    N9K-C9336C-FX2
Typoid
Sysdes
OS      NXOS
Icon    c3bn
Size    1
Bridge  VLX
ArpND   oldcie
Dispro  LLDP
Serial  1.3.6.1.2.1.47.1.1.1.1.11.10
Bimage  1.3.6.1.2.1.1.1.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
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.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
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  6|7|10
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

# 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.4.38486
MemCPU  1.3.6.1.4.1.9.9.109.1.1.1.1.13.1
Custom  MemIO;G;Bytes

4
Discovery / Multiple errors when discovering a Cisco c9200 switch
« on: June 02, 2020, 06:45:02 PM »
Here is the output of a discovery on a Ubuntu 16.04.5 LTS server with Nedi 1.8.100:

Code: [Select]
DNS :Net::Nslookup not available
CLI :IO-Pty loaded
WEB :LWP-UserAgent loaded
RDEV:2908 devices read from nedi.devices
OUI :33329 NIC vendor entries read
RMON:0 entries (dev) read from nedi.monitoring
RMON:0 entries (node) read from nedi.monitoring
RUSR:0 entries (groups & 8 = 8 AND (phone != '' OR email != '')) read from nedi.users
TODO:1.2.3.4    1.2.3.4             added
RADR:31375 IF MAC, 735 IP and 5 IPv6 addresses read.
MAIN:-1 thread(s) error, 1st from Tue Jun  2 16:19:33 2020 make sure interval is longer than discovery takes!
Network Discovery (1.8.100) /var/nedi/nedi.pl -v -SGg -a 1.2.3.4
Started with 1 seed at Tue Jun  2 16:32:13 2020
-------------------------------------------------------------------------------
Device Status Todo/Done-Time
===============================================================================
DISC:1.2.3.4 ID 1.2.3.4

Identify 1.2.3.4 ++++++++++++++++++++++++++
SNMP:Connect 1.2.3.4 mysnmpstring v2 Tout:10s MaxMS:1472 Retry:1 NB:0
IDNT:Name=sw1
SOBJ:Reading 1.3.6.1.4.1.9.1.2695.def (1.3.6.1.4.1.9.1.2695)
Use of uninitialized value in string eq at /var/nedi/inc/libsnmp.pm line 333.
IDNT:Contact
IDNT:Location A09-002a
Use of uninitialized value in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 395.
IDNT:OS= SRV=6 TYPE=1.3.6.1.4.1.9.1.2695
DISC:no skippol, -S Gg

Enterprise   ------------------------------------------------------------------
SNMP:Connect 1.2.3.4 mysnmpstring v2 Tout:11s MaxMS:5000 Retry:1 NB:0
Use of uninitialized value in pattern match (m//) at /var/nedi/inc/libsnmp.pm line 504.

Interfaces  -------------------------------------------------------------------- Tue Jun  2 16:32:14 2020
RIF :77 IF read (WHERE device = 'sw1') from nedi.interfaces
SNMP:Connect 1.2.3.4 mysnmpstring v2 Tout:13s MaxMS:1472 Retry:1 NB:0
Use of uninitialized value in pattern match (m//) at /var/nedi/inc/libsnmp.pm line 959.
IF  :Walking errors
Use of uninitialized value $ifnamO in string eq at /var/nedi/inc/libsnmp.pm line 1114.
IF  :Walking description
IF  :Walking type
IF  :Walking MAC
IF  :Walking agg-sel-id
IF  :Walking admin status
IF  :Walking oper status
IF  :Index Name          Spd Dup St Pvid Description     Alias             PoE
Use of uninitialized value $ifnamO in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 1442.
Use of uninitialized value $ifidiO in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 1510.
Use of uninitialized value $ifodiO in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 1511.
Use of uninitialized value in pattern match (m//) at /var/nedi/inc/libsnmp.pm line 1607.
IF  :     1 Gi0/0          0  -   0    0 GigabitEthernet                     0
Use of uninitialized value $ifnamO in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 1442.
Use of uninitialized value $ifidiO in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 1510.
Use of uninitialized value $ifodiO in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 1511.
Use of uninitialized value in pattern match (m//) at /var/nedi/inc/libsnmp.pm line 1607.
IF  :     8 VLAN-1003      0  -   3    0 unrouted VLAN 1                     0
Use of uninitialized value $ifnamO in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 1442.
ERR :ioc overflow, not updating
ERR :ooc overflow, not updating
Use of uninitialized value $ifidiO in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 1510.
Use of uninitialized value $ifodiO in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 1511.
Use of uninitialized value in pattern match (m//) at /var/nedi/inc/libsnmp.pm line 1607.
IF  :     9 Gi1/0/1        0  -   3    0 GigabitEthernet Phone gateway       0
Use of uninitialized value $ifnamO in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 1442.
ERR :ioc overflow, not updating
ERR :ooc overflow, not updating
Use of uninitialized value $ifidiO in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 1510.
Use of uninitialized value $ifodiO in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 1511.
Use of uninitialized value in pattern match (m//) at /var/nedi/inc/libsnmp.pm line 1607.
IF  :    71 VLAN-100       0  -   3    0 unrouted VLAN 1                     0
Use of uninitialized value $ifnamO in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 1442.
Use of uninitialized value $ifidiO in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 1510.
Use of uninitialized value $ifodiO in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 1511.
Use of uninitialized value in pattern match (m//) at /var/nedi/inc/libsnmp.pm line 1607.
IF  :    77 VLAN-999       0  -   3    0 unrouted VLAN 9                     0
Use of uninitialized value in string eq at /var/nedi/inc/libmisc.pm line 1694.
Use of uninitialized value in string eq at /var/nedi/inc/libmisc.pm line 1696.
Use of uninitialized value in string eq at /var/nedi/inc/libmisc.pm line 1698.
Use of uninitialized value in string eq at /var/nedi/inc/libmisc.pm line 1700.
Use of uninitialized value in string eq at /var/nedi/inc/libmisc.pm line 1702.
Use of uninitialized value in pattern match (m//) at /var/nedi/inc/libmisc.pm line 1704.
Use of uninitialized value in string eq at /var/nedi/inc/libmisc.pm line 1708.
Use of uninitialized value in string eq at /var/nedi/inc/libmisc.pm line 1710.
Use of uninitialized value in string eq at /var/nedi/inc/libmisc.pm line 1712.
Use of uninitialized value in pattern match (m//) at /var/nedi/inc/libmisc.pm line 1714.

Write Device Info -------------------------------------------------------------  Tue Jun  2 16:32:14 2020
WDEV:sw1 written to nedi.devices
WIF :77 interfaces written to nedi.interfaces
WMOD:0 modules written to nedi.modules
WVLN:0 vlans with 0 egress ports written to nedi.vlans
WNET:0 networks written to nedi.networks

ProPolicy  --------------------------------------------------------------------  Tue Jun  2 16:32:14 2020
PROP:No actions triggered
DISC:ToDo/Done-Time    0/1-0s

===============================================================================
MAIN:1 (0 new) devices discovered
MAIN:1 threads running right now
ALRT:0 mails and 0 SMS sent

MacLinks  ---------------------------------------------------------------------  Tue Jun  2 16:32:19 2020
ITER:1 found 0 MAC links

MLNK:found 0 MAC links in 1 iterations, 0 seconds
Took 0 minutes

5
Definition Files / Re: Cant edit .def files via GUI after 1.8 update.
« on: June 02, 2020, 06:29:56 PM »
I ran into this same problem.  Changing that line in nedi.conf fixed this for me.

6
Installation / Re: Update MAC Vendor OUI Database?
« on: June 02, 2020, 06:05:25 PM »
I can confirm this fix also worked for me.  Thanks again, Remo!

Umpf, vendors use single quotes and I never encountered it...

Search the function ReadOUIs in libmisc.pm and change:

            $m[2] =~ s/"//g;
to:
            $m[2] =~ s/["']//g;

7
News / Re: NeDi 1.8c released?
« on: December 09, 2019, 05:10:10 PM »
pc_sg,

I just wanted to say congrats on retirement and thanks for all the help you have provided in this forum.  Looks like your account just passed it's 10th birthday.  :)

Cheers!

Tristan

Hi Remo!
Saw you've released 1.8c.
Tested on one of the server I'm (still) managing.
Indeed, after the update, the database update failed, and interpreting error message, I've downloaded again 1.7c (link don't work, point to tgz but really is a pkg file, so solved editing the link itself) and doing a "downgrade", then updating database, updating again to 1.8c anche then database update worked fine.
Then, of course, it was necessary to modify launch scripts to adapt them to new syntax, and porting my nedi.conf parameters to the new file format.


Seems fine!


Thanks in advance!

In the meanwhile, I inform you that, if everything goes well, in a few month (end of november or december) I will retire. :)
I don't think I will do anything related to networking any more (except for my home LAN, of course).
I'm going to delete my account a few days before "the end" ;)

In doubt, I take the opportunity to thank you so much for the help you gave me during last years (much of them) with your masterpiece, NeDi!

Bye!

8
Installation / Re: How to install patch 3?
« on: January 28, 2019, 05:52:23 PM »
Thanks, that seemed to work!

9
Installation / How to install patch 3?
« on: January 18, 2019, 05:41:56 PM »
Your recent news post mentioned that we need to upgrade to Patch 3 for Nedi 1.7 and 1.8.

https://www.nedi.ch/end-of-year-update/

What is the procedure to apply this update?

Thanks!

Tristan

10
Installation / Re: Error update Nedi 1.6 to 1.7C
« on: December 03, 2018, 06:40:06 PM »
Good catch Remo!  I did need to change the ownership of the /var/nedi directory.  Here is what I did to fix this:

Code: [Select]
sudo chown -R www-data:www-data /var/nedi
And then I followed your instructions to update Nedi using the web-interface.  IT WORKED! 

Thanks for making such an awesome piece of software.  :)

Tristan

11
Installation / Re: Error update Nedi 1.6 to 1.7C
« on: November 26, 2018, 10:21:00 PM »
Well I fixed my "upload_max_filesize" problem, but I just ran into another problem.  This is the output after I click the "Execute" button:

Code: [Select]
Read nedi-1.7C.pkg

Backup msg.txt
Backup devtools.php
Backup iftools.php
Backup crontab
Backup nedi.conf
Backup seedlist
Backup agentlist

tar: trap.pl: Cannot open: File exists
tar: test.pl: Cannot open: File exists
tar: syslog.pl: Cannot open: File exists
tar: stati.pl: Cannot open: File exists
tar: seedlist: Cannot open: File exists
tar: nedi.pl: Cannot open: File exists
tar: nedi.conf: Cannot open: File exists
tar: moni.pl: Cannot open: File exists
tar: master.pl: Cannot open: File exists
tar: flowi.pl: Cannot open: File exists
tar: cusdi.pl: Cannot open: File exists
tar: agentlist: Cannot open: File exists
tar: Exiting with failure status due to previous errors
Errors Write nedi-1.7C.pkg

I have seen the suggestions to make sure the web-server can write to the nedi directory, so I changed all permissions (see below) but this did not fix the problem.

tristanrhodes@nedi:/var/nedi$ sudo chown -R www-data:www-data *

Any ideas on how to get past this step?

Thanks!

12
Installation / Re: Error update Nedi 1.6 to 1.7C
« on: November 26, 2018, 10:13:05 PM »
I found out that my "upload_max_filesize" PHP setting was only 2M.  Here is how to increase this setting:

1) Visit https://nedi.yourdomain.com/Other-Info.php

2) Search for the PHP config file that you are using.  For me it was:

     "Loaded Configuration File   /etc/php/5.6/apache2/php.ini"

3) Edit that file, and change the "upload_max_filesize" setting.  Mine was set to 2M, so I changed it to 20M.

sudo nano /etc/php/5.6/apache2/php.ini
     ; Maximum allowed size for uploaded files.
     ; http://php.net/upload-max-filesize
     upload_max_filesize = 20M

4) Restart Apache

     sudo service apache2 restart

5) Verify the upload-max-filesize is changed to the correct size.

     https://nedi.yourdomain.com/Other-Info.php

6) You are ready to upgrade Nedi!

13
Installation / Re: Error update Nedi 1.6 to 1.7C
« on: November 15, 2018, 11:19:16 PM »
I have the same issue as the original post. 

Is there a confirmed solution to this problem?

Thanks!

Tristan

14
Thanks for the info!  I thought these switches were discovering correctly because the "Last Discover" was staying current. 

However, if I look at the "Device Status" page it has a red "Discover Outdated" and these are the switches with the blank "Last Status Change (Realtime)". 

I clicked the "Discover Now" button, and it discovers correctly, the "Discover Outdated" message goes away, and the interfaces show their Last Change.

Do you have idea on why this is happening, and how to prevent this?

Thanks!


15
We love being able to view a network device in Nedi and see how long each of the ports have been in their current state.   This lets us find ports that have been down for over a year so that we know that we can reuse these ports.  However, we are starting to find some models of switches do not have anything in this field, just a "-".

I assume this must be caused by a missing or wrong entry in the .DEF file.   Which one is it? 

Thanks!

Tristan

Pages: [1] 2 3 ... 10