On 10/03/2013 02:19 PM, Eargle, Frank wrote:
I have been able to manually make the rpm. However, the build process
gave some errors:
mkdir -p ntopng-data-1.0.2_6836/usr/local/share/ntopng/httpdocs/geoip/
cp ~/dat_files/*
ntopng-data-1.0.2_6836/usr/local/share/ntopng/httpdocs/geoip/
cp: cannot stat `/home/user/dat_files/*': No such file or directory
make: *** [maketar] Error 1
I made the directory and copied the /usr/share/GeoIP/* files to that
directory. Then they needed to be gziped. If logged in as root the
directory was /root/dat_files.
create such directory and put dat files there
Next was:
rm -f /home/user/rpmbuild/RPMS/`uname
-p`/ntopng-1.0.2_6836-6836.`uname -p`.rpm
cp ntopng-1.0.2_6836.tgz /home/user/rpmbuild/SOURCES/
cp: cannot create regular file `/home/user/rpmbuild/SOURCES/': No such
file or directory
make: *** [build-rpm] Error 1
Created /home/user/rpmbuild/SOURCES, /home/user/rpmbuild/BUILD
not simple as that. Read the rpmbuild docs
Then:
+ rm -fr /home/user/rpmbuild/BUILDROOT/ntopng-1.0.2_6836-6836.x86_64
+ exit 0
/bin/sh: ./packages/rpm-sign.exp: /usr/bin/expect: bad interpreter: No
such file or directory
make: *** [build-rpm] Error 126
I installed expect which added tcl as a dependancy.
Next was:
spawn rpm --addsign
/home/user/rpmbuild/RPMS/x86_64/ntopng-1.0.2_6836-6836.x86_64.rpm
error: You must set "%_gpg_name" in your macro file
Pass phrase check failed
send: spawn id exp4 not open
while executing
"send -- "\r""
(file "./packages/rpm-sign.exp" line 7)
make: *** [build-rpm] Error 1
Which I didn't mess with as I didn't need it signed.
so remove it
Suggestions:
The rpm always over writes the configuration file. I'd like to
suggest a "%attr(0644,root,root) %config(no replace) %{_sysconfdir}"
for the ntopng.conf file in the spec file.
please send me the diff as attachmnt
Also, could you put the build number in the about.lua file?
We have version and SVN release. What would you need exactly?
Luca
From: Luca Deri <[email protected] <mailto:[email protected]>>
Reply-To: "[email protected] <mailto:[email protected]>"
<[email protected] <mailto:[email protected]>>
Date: Thursday, September 19, 2013 8:53 AM
To: "[email protected] <mailto:[email protected]>" <[email protected]
<mailto:[email protected]>>
Subject: Re: [Ntop-dev] Storage requirements
On 09/19/2013 02:29 PM, Eargle, Frank wrote:
Is it possible to build an RPM from the SVN? We are pretty committed
to keeping it packaged due to rolling It out on around 700 hosts.
svn co https://svn.ntop.org/svn/ntop/trunk/ntopng/
./configure
make build-rpm
-F
From: Luca Deri <[email protected] <mailto:[email protected]>>
Reply-To: "[email protected] <mailto:[email protected]>"
<[email protected] <mailto:[email protected]>>
Date: Thursday, September 19, 2013 8:14 AM
To: "[email protected] <mailto:[email protected]>" <[email protected]
<mailto:[email protected]>>
Subject: Re: [Ntop-dev] Storage requirements
Frank
please resync (svn 6779) and delete first your existing RRDs. The
ones that will be created will be much smaller.
Soon I will add the ability to disable data dump on disk for machines
with little/no storage
Luca
On 09/18/2013 03:43 PM, Eargle, Frank wrote:
[root@hostname eth1]# du -sh *
29Grrd
1.9Mtop_talkers
5700 hosts, 40K flows
From: <Eargle>, "Frank W. Eargle" <[email protected]
<mailto:[email protected]>>
Reply-To: "[email protected] <mailto:[email protected]>"
<[email protected] <mailto:[email protected]>>
Date: Wednesday, September 18, 2013 7:17 AM
To: "[email protected] <mailto:[email protected]>"
<[email protected] <mailto:[email protected]>>
Subject: Re: [Ntop-dev] Storage requirements
Daemon crashed during the night. Nothing in logs to help. Started
right back up. Anything need to be done to limits?
[root@hostname eth1]# du -sh *
24Grrd
1.3Mtop_talkers
This early here there are only around 1500 clients 10K Flows.
Yesterday I was seeing a peak of 6300 machines.
What does the --P do?
From: Luca Deri <[email protected] <mailto:[email protected]>>
Reply-To: "[email protected] <mailto:[email protected]>"
<[email protected] <mailto:[email protected]>>
Date: Tuesday, September 17, 2013 4:58 PM
To: "[email protected] <mailto:[email protected]>"
<[email protected] <mailto:[email protected]>>
Subject: Re: [Ntop-dev] Storage requirements
Frank
thanks for the good news. I need to tune the storage as RRDs are
taking a lot of space on my system. Is this the problem you are
experiencing?
After release 1.1 I want to create a version of ntopng able to run
on diskless systems such as those based on openwrt, but this will be
after the 1.1 release.
Please tell me where most of the disk space spent.
Cheers Luca
On Sep 17, 2013, at 9:08 PM, "Eargle, Frank" <[email protected]
<mailto:[email protected]>> wrote:
Luca, congratulations on a very stable, clean RPM and release!!
Using Centos 6.4 X86_64 we only had to install redis. Worked out
of the box with a little tweaking for storage volumes, internal
networks, etc. Wow is this impressive!
We have put the 6712 rpm build on a host with 6500 machines behind
it. Runtime for ntopng so far is 2:47. During that time its used
22GB of storage. I am using the "--P" switch which I though turned
off the client persistence. When we put it on the hosts with 70 --
240 K clients, how much storage is going to be required? Is there
a way to not track individual machines but keep the network stats?
Thanks!
_______________________________________________
Ntop-dev mailing list
[email protected] <mailto:[email protected]>
http://listgateway.unipi.it/mailman/listinfo/ntop-dev
_______________________________________________
Ntop-dev mailing list
[email protected]http://listgateway.unipi.it/mailman/listinfo/ntop-dev
_______________________________________________
Ntop-dev mailing list
[email protected]http://listgateway.unipi.it/mailman/listinfo/ntop-dev
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev