nedi (net/nedi) Add to my watchlist

Network Discovery Suite

A low noise network discovery, management, and inventory system for Cisco networks with a user friendly web interface.

Version: 1.0.9 License: GPL-3 GitHub
Maintainers No Maintainer
Categories net
Homepage http://www.nedi.ch/
Platforms darwin
Variants -

"nedi" depends on

lib (12)
build (1)

Ports that depend on "nedi"

No ports


Port notes

**** To complete the NeDi OS X installation ****

1) Setup MySQL (for new installs)
-----------------------------------------------
-Configure MySQL:
sudo -u mysql ${prefix}/lib/mysql5/bin/mysql_install_db

-Start MySQL and set it to run at system boot:
sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql5.plist

-Set the root MySQL password (replace <mypassword> with your chosen password):
sudo ${prefix}/lib/mysql5/bin/mysqladmin -u root password <mypassword>

2) Install PHP5 with SNMP support and MacPorts Apache
------------------------------------------------
sudo port install php5 +apache2 +mysql5 +snmp

sudo ${prefix}/apache2/bin/apxs -a -e -n "php5" libphp5.so

NOTE: Check to make sure the PHP variable "mysql.default_socket" is set to path
${prefix}/var/run/mysql5/mysqld.sock by viewing the output of this terminal command:
php -i

3) Turn on MacPorts Apache
------------------------------------------------
-Turn off Apple's built-in Apache (Personal Web Sharing in System Preferences). Then execute
these commands:
cd ${prefix}/apache2/conf
sudo cp httpd.conf.sample httpd.conf

-Edit your httpd.conf
Change the user/group variables in the Apache httpd.conf to be the Unix user/group that
you'll use to run the NeDi executable

Add an alias statement:
Alias /nedi "${prefix}/share/nedi/html"

-Start Apache and set it to run at system boot:
sudo launchctl load -w /Library/LaunchdDaemons/org.macports.apache2.plist

4) Configure NeDi, initialize NeDi database, and Login to NeDi
-----------------------------------------------
-Set NeDi owner: sudo chown -R <nedi-user>:<nedi-group> ${prefix}/share/nedi

-Edit nedi.conf Backend/Authen/Device Access sections: sudo pico ${prefix}/share/nedi/nedi.conf
Leave nedi.conf permissions at 600 to protect your network passwords!

backend MSQ
dbpass <nedidb-password>
authuser mysql

comm <my-community-string> (community string of your Cisco devices)
<usr> <pass> <enablepass> (user/pass of your Cisco devices)

-Initialize the NeDi database:
cd ${prefix}/share/nedi
sudo ./nedi.pl -i
When prompted for "MySQL admin user:" and enter 'root' and then MySQL root password.

-Verify the NeDi DB:
mysql -u root -p
mysql> use nedi;
mysql> show tables;
mysql> exit;

-Login to the NeDi web interface: http://localhost/nedi
Initial user/pass is 'admin'/'admin'

5) Discover Your Network with NeDi
-----------------------------------------------
-Edit nedi.conf Device Acc. variables: sudo pico ${prefix}/share/nedi/nedi.conf

comm <my-community-string>
<usr> <pass> <enablepass>

-Make any other desired changes in nedi.conf

-Start NeDi data collection:
cd ${prefix}/share/nedi
sudo -u <nedi-user> nedi.pl -pr (options shown set CDP and routing tables for discovery)

-Put a command in the crontab to discover your network at regular intervals.
A typical interval is 1 hour; to get accurate NeDi rrdtool graphs at
NeDi's default settings you must run NeDi at 1 hour intervals.
Otherwise, you must adjust NeDi's default rrdtool settings. To run
NeDi every hour, the cron entry is:

0 * * * * cd ${prefix}/share/nedi ; ./nedi.pl -pr >> /dev/null 2>&1

6) Set NeDi to receive device alerts, syslogs, and SNMP traps. (optional)
-----------------------------------------------
-To enable NeDi alerts

sudo launchctl load -w /Library/LaunchDaemons/org.macports.nedimonitor.plist

-To enable the NeDi syslog daemon:

sudo launchctl load -w /Library/LaunchDaemons/org.macports.nedisyslog.plist A startup item has been generated that will aid in starting nedi with launchd. It is disabled by default. Execute the following command to start it, and to cause it to launch at startup:

sudo port load nedi


Port Health:

Loading Port Health

Installations (30 days)

0

Requested Installations (30 days)

0

Livecheck error

Error: cannot check if nedi was updated (regex didn't match)

last updated: 3 hours ago