Try it without the names, just the list of networks. -----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Muschalek, Daniel Sent: Monday, August 25, 2008 9:14 AM To: [email protected] Subject: [Ntop] Known Subnets
Hello there, i´m new to this mailinglist, so don´t kill me if i ask a FAQ. I just do not find any documentation to this. I have a network with a pretty big number of subnets (400+ and counting) that must be monitored passively (so mrtg is no option). As there is the possibility to specify "known subnets" i create a file "subnets.txt" that ist filled with the subnets. But ntop keeps producing error messages. I have tested it with several variations of the subnet.txt file to no avail. This is the output of the reference subnets.txt and it has the same error messages. Version is 3.3.7 --------------------------------------------------snip---------------------- ------------------------------ [EMAIL PROTECTED]:/install/ntop-3.3.7# sudo ./ntop -u root --known-subnets @/install/ntop-3.3.7/subnets.txt Processing file /install/ntop-3.3.7/subnets.txt for parameters... Mon Aug 25 15:21:29 2008 NOTE: Interface merge enabled by default Mon Aug 25 15:21:29 2008 Initializing gdbm databases --------------------------------------------------snip---------------------- ------------------------------ Here come the errors --------------------------------------------------snip---------------------- ------------------------------ Mon Aug 25 15:21:29 2008 **ERROR** '192.168.17.0/24=home' Mon Aug 25 15:21:29 2008 **ERROR** '172.16.0.0/16=my private net' Mon Aug 25 15:21:29 2008 **ERROR** '131.114.0.0/16=unipi.it' Mon Aug 25 15:21:29 2008 **ERROR** '10.96.4.0/22=work' Mon Aug 25 15:21:29 2008 **ERROR** '' Mon Aug 25 15:21:29 2008 ntop v.3.3.7 Mon Aug 25 15:21:29 2008 Configured on Aug 25 2008 11:43:46, built on Aug 25 2008 11:44:39. Mon Aug 25 15:21:29 2008 Copyright 1998-2007 by Luca Deri <[EMAIL PROTECTED]> Mon Aug 25 15:21:29 2008 Get the freshest ntop from http://www.ntop.org/ Mon Aug 25 15:21:29 2008 NOTE: ntop is running from '/install/ntop-3.3.7/.libs' Mon Aug 25 15:21:29 2008 NOTE: (but see warning on man page for the --instance parameter) Mon Aug 25 15:21:29 2008 Initializing ntop Mon Aug 25 15:21:29 2008 Creating dummy interface, 'none' Mon Aug 25 15:21:29 2008 **ERROR** pcap_open_offline(192.168.17.0/24=home): '192.168.17.0/24=home: No such file or directory' --------------------------------------------------snip---------------------- ------------------------------ And here the starting of ntop comes to an end. Is there an error in the --known-subnets argument? Or must the subnets.txt file have a specific coding (utf8, big endian, little endian, etc) to work? I´d be grateful for your input. Greetings Daniel _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
