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
News / Re: NeDi 1.8c released?
« on: December 09, 2019, 05:10:10 PM »

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.  :)



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!


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

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.


What is the procedure to apply this update?



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.  :)


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?


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.


6) You are ready to upgrade Nedi!

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


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? 



Definition Files / Re: Cisco 3850 stack def
« on: January 12, 2018, 12:36:22 AM »
Cisco has released the Catalyst 9300 (which is really just a 3850X).   I used the 3850 stack .def file below:

Code: [Select]
sudo cp
sudo chown www-data:www-data

Just replace "38xx" with "39xx" and this is working great for us!


I just wanted to say, Paraidomat, that is a neat hack to make Nedi discover 1/4 of your devices at the same time!

How does it handle new devices?  For instance, if a new device was plugged into existing two devices, which are being discovered by different Nedi processes?  Would the new device get added twice?  Or would the second process simply output an error, like "device exists, skipping".

Installation / Missing dependencies on "Install" instructions for Ubuntu
« on: September 16, 2016, 07:55:22 PM »
I recently used the Ubuntu instructions here:


Nedi was working fine for the most part, but then I tried to initiate a backup using the web-interface.


That page caused Nedi to complain about some missing Perl modules.   I fixed it by installing these packages:


Ok, I got things working again by using PHP5.6, which requires using a PPA repository.

Code: [Select]

# This is needed for "apt-get-repository"
sudo apt-get install software-properties-common python-software-properties

# Add the new repo
sudo add-apt-repository ppa:ondrej/php

# Download package lists
sudo apt-get update

# Install Nedi dependencies
sudo apt-get install apache2 libapache2-mod-php5.6 mysql-server libnet-snmp-perl libcrypt-rijndael-perl libcrypt-hcesha-perl libcrypt-des-perl libdigest-hmac-perl libio-pty-perl libnet-telnet-perl libalgorithm-diff-perl librrds-perl php5.6-mysql php5.6-snmp php5.6-gd php5.6-mcrypt rrdtool libsocket6-perl

# I can't remember if this is required, or done by the packages above...
sudo a2enmod php5.6

# Restart Apache
sudo service apache2 restart

That should work for Ubuntu 16.04.  Let me know if I need to correct anything!

I just upgraded Ubuntu to 16.04 and it broke just like you described. 

What is the best way around this?  Sounds like we need to get php5 installed again?   

I'll post if I find out how to get this working again.

Thanks Remo!  I ran your SQL command using your nifty "System>Database" tool and it reduced my total nodes by ~90%.   

Before: 24.0 million nodes
After: 2.2 million nodes

Needless to say, Node reports are much faster.  (although I still wonder why I have 2 million nodes)

Thanks for your assistance!


Pages: [1] 2 3 ... 10