|
Maybe ... though the message doesn't seem large enough to
bounce.
In the current code in void makeDot() in report.c, there is
code that is supposed to catch problems from the calls to dot. There
should also be comments in the output (html) showing what was executed,
e.g.:
<!-- sort command is sort -u /devel/ntop/ntop-all.dot
> /devel/ntop/ntop-sort.dot -->
<!-- dot(cmap) command is /usr/local/bin/dot -Tcmap -Goverlap=false /devel/ntop/ntop.dot --> Probably should add one more:
sendString("<!-- dot(generate)
command is ");
sendString(path); sendString(" -->\n"); after this:
snprintf(path, sizeof(path), "%s -Tpng -Goverlap=false
%s/ntop.dot -o %s/"CONST_NETWORK_IMAGE_MAP " 2>&1
",
dotPath, myGlobals.spoolPath, myGlobals.spoolPath); Still,
any errors are supposed to be caught and reflected back into
the page.
I suggest you try these commands directly from the command
line and see what outputs you get (esp, return codes, e.g. run this after each
command:
rc=$?
echo "rc=$rc"
-----Burton From: Michael Wenzelmaier [mailto:[EMAIL PROTECTED] Sent: Thursday, May 26, 2005 10:28 AM To: [EMAIL PROTECTED] Subject: RE: [Ntop] graphviz I replied to the list,
but it didn’t show up. Is there a size limit? I downloaded ntop again
from CVS about an hour after your reply and installed it again. I also installed
the graphviz rpm you recommended. I’m still getting no network traffic map. Here
is the Syslog output for the
ntop server –K -L –t 6 May 25 12:46:33 syslog
ntop[1521]: [MSGID8700356] [prefs:782] ntop will be started as user
nobody May 25 12:46:33 syslog
ntop[1521]: [MSGID0540387] [main:451] ntop v.3.1.2 MT
(SSL) May 25 12:46:33 syslog ntop[1521]: [MSGID8997049] [main:452] Configured on May 25 2005 12:16:02, built on May 25 2005 12:18:30. <snip /> syslog:/var/log/syslog
# rpm -q graphviz -i Name
:
graphviz
Relocations: /usr Version
:
2.2.1
Vendor: http://www.graphviz.org/ Release
:
1.fc1
Build Date: Thu Apr 7 15:11:01 2005 Install date: Wed May
25 11:52:45 2005 Build Host:
ellsonFC1.research.att.com Group
: Applications/Graphics Source
RPM: graphviz-2.2.1-1.fc1.src.rpm Size
:
2004968
License: CPL (see COPYING) Signature :
(none) Packager
: John Ellson ([EMAIL PROTECTED]) URL
: http://www.graphviz.org/ Summary
: Graph Visualization Tools Description
: A collection of tools
and tcl packages for the manipulation and layout of graphs (as in nodes
and edges, not as in barcharts). Distribution:
(none) Michael
Wenzelmaier Interlink
Companies From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Burton Strauss With the cvs version
you should be picking up my fixes to trap errors. What's in the log?
Also read the back
traffic - I posted a note re problems with (IIRC) Dag's version ... use the one
at graphviz.org... $ rpm -q graphviz -i
----- From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael
Wenzelmaier Hi, I’m
running Suse Linux 9.0 and 9.2. I installed ntp from CVS a couple
days ago. I also installed graphviz 2.2.1. I added dot.path to make sure it’s
pointing at the right file. I’m
still getting nothing on the network traffic map. Any
ideas? Thanks in
advance. Interlink
Companies
|
_______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
