Installing NOC.

Look for NOC overlay in: Install resent NOC overlay. Choice ebuild: stable release noc-15.05.1-r1ebuild or from repository noc-9999.ebuild (develop). Stable release can be installed and used completely ofline, and you need to be online during installation when you choice install from repository.

If you choice installation from repository (noc-9999.ebuild) you need add

 net-analyzer/noc **

to your keywords file, general in /etc/portage/package.keywords

Now you are ready to run:

 # emerge -a net-analyzer/noc

NOC comes with his own small overlay with dependencies. Some dependencies may be older then portage has, use /etc/portage/package.mask to block newer version from Gentoo portage packages. Also use /etc/portage/package.keywords to unmask not stable packages...

After installation complete, start mongo and postgresql:

 # /etc/init.d/mongodb start
 # /etc/init.d/postgresql-9.4 start

Take a look in /opt/noc/etc/upgrade.conf (don't worry emerge --config will do all you need)

If you choice noc-9999.ebuild you may want comment out:


And uncomment:


Then configure NOC by running:

 # emerge --config net-analyzer/noc

You will be prompted for device (eth0 ?) or IP address on which NOC will listen for Syslog messages and SNMP traps. Also for password for administrative account.

Now you can start NOC:

 # /etc/init.d/noc start

Go in you web browser to '' accept certificate and enable java scripts. You may edit web server configuration file for listening other interface...

Add one or more Managed Object (Service Activation > Managed Objects). You will get your network database initialized and device configuration grabbed in 5-15 minutes.

Upgrading NOC.

Upgrade resent NOC overlay from

You can always switch to ebuild from repository noc-9999.ebuild when doing upgrade.

Do not return back from noc-9999.ebuild to stable release noc-15.05.1-r1ebuild!!! If you want change back to stable release from develop you must wait for new stable release and switch to it when it newer then develop.

For NOC update:

 # /etc/init.d/noc stop
 # emerge -a net-analyzer/noc

Also, remember, after every NOC updates run as root:

 # cd /opt/noc
 # ./scripts/upgrade

If every think is OK start NOC:

 # /etc/init.d/noc start

Upgrading NOC from repository without new ebuild.

Alternatively if you install NOC using noc-9999.ebuild you can update:

 # /etc/init.d/noc stop
 # cd /opt/noc
 # hg pull -u
 # ./scripts/upgrade
 # /etc/init.d/noc start