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]
16
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

17
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!

18
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!

19
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

20
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!


21
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

22
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 1.3.6.1.4.1.9.1.1745.def 1.3.6.1.4.1.9.1.2494.def
sudo chown www-data:www-data 1.3.6.1.4.1.9.1.2494.def

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

Tristan

23
Discovery / Security reminder: Be sure to configure "netfilter"!
« on: July 09, 2013, 08:34:57 pm »
When Nedi discovers a CDP or LLDP neighbor, it will begin sending all your read-only SNMP strings to it.  If this device is a hacker on your network running CDPd, then the hacker can easily learn these SNMP communities.

Additionally, if the hacker can convince Nedi they are a valid device, then Nedi will also try to backup the device using SSH or Telnet.  This will enable a hacker to get full access to the usernames and passwords to all your devices.

The best protection for this attack is to configure your netfilter (found inside nedi.conf) to strictly match only your devices and never an IP that a user can be assigned.

# Only discover devices where ip address matches this regular expression.
# This way NeDi will not send any login credentials to rogue/evil devices.
netfilter       172.16|172.31

Cheers and be safe!

Tristan

24
Other / Re: NeDi2GrapML
« on: March 06, 2012, 07:26:56 pm »
I just tested version 0.11 with 985 nodes and 1185 edges.  This is a fun tool!  I like both the organic and circular layouts. 

I still use the diagram tool that Remo includes with Nedi, but this tool adds more options (although it takes many more steps).

Is there anyway you can make this automatically generate pictures within a web-interface (maybe a section of Nedi)?

Thanks for your contribution!

Tristan

Pages: 1 [2]