How can I update ntopng?

NethServer Version: 7
Module: Bandwith Montior

I have installed NTOPNG, but I have an alert on the home page that say:
A new ntopng (v.3.0.0) is available for download: please upgrade.

How can I update ntopng?
Thanks

Federico Ballarini

We currently don’t support ntopng 3.

From the official site, you need payed support to upgrade from 2 (see http://www.ntop.org/ntopng/introducing-ntopng-3-0/).

I suggest you to remove it and try to manually install the new release, you can try to start from here: http://packages.ntop.org/

I don’t update to ntopng 3 if is not supported… thanks.

@giacomo it happened again

A new ntopng (v.3.4.0) is available for download: please upgrade.

Current version is:
ntopng Community Edition v.3.3.180109

Would you like to start the job and try to integrate the new release inside NS?

You can start from here: https://github.com/NethServer/nethserver-ntopng

1 Like

Mmm … why not, although it will have to wait to May, I’m currently dealing with some other things at the moment, but after I’m done with it, I will get to this.

1 Like

Just tried, went to http://packages.ntop.org/centos-stable/

Did:
cd /etc/yum.repos.d/
wget http://packages.ntop.org/centos-stable/ntop.repo -O ntop.repo
yum clean all
yum install pfring n2disk nprobe ntopng ntopng-data cento
systemctl enable ntopng.service
systemctl start ntopng.service

And voila! Got the latest version of ntopng

5 Likes

I updated
from: ntopng Community Edition v.3.3.180109
to: ntopng Enterprise Edition v.3.8.200105

using this procedure:

cd /etc/yum.repos.d/
wget http://packages.ntop.org/centos-stable/ntop.repo -O ntop.repo
yum clean all
yum update pfring n2disk nprobe ntopng ntopng-data cento
systemctl enable ntopng.service
systemctl start ntopng.service

Additionally I migrated the data directory:

systemctl stop ntopng
rmdir /var/lib/ntopng
mv /var/tmp/ntopng /var/lib/ntopng
chown -R ntopng:ntopng /var/lib/ntopng
systemctl start ntopng

But… is still ntopg interesting for NethServer, due to NetData implementation?

I can’t find an application for it and I didn’t know about Netdata as an alternative for ntopng.

Update up to 4.0.x:
cd /etc/yum.repos.d
wget http://packages.ntop.org/centos-stable/ntop.repo -O ntop.repo
yum clean all
yum update

Dependency Installed:
  at.x86_64 0:3.1.13-24.el7  bc.x86_64 0:1.06.95-13.el7 cups-client.x86_64 1:1.6.3-40.el7 ed.x86_64 0:1.9-4.el7 m4.x86_64 0:1.4.16-10.el7 redhat-lsb-core.x86_64 0:4.1-27.el7.centos.1 redhat-lsb-submod-security.x86_64 0:4.1-27.el7.centos.1
  spax.x86_64 0:1.5.2-13.el7 time.x86_64 0:1.7-45.el7

Updated:
n2n.x86_64 0:2.6.0-250 ndpi.x86_64 0:3.2.0-2353 ntopng.x86_64 0:4.0.200403-9195 ntopng-data.noarch 0:4.0.200403-9195 pfring.x86_64 0:7.6.0-2891

systemctl restart ntopng.service

1 Like