Because you have an incomplete install, permission problems, etc.
 
Ntop serves pages from .html files if it can find them (/usr/share/ntop/html/index.html, for example) (check http.c around line 1050- the comment is /* Search in the local directory first... */).

 
If it can't find the file (which is true for all of the internally generated graphs and reports), it generates them from internal code.  As a backup (or left over from older version), there is also code to generate a simplified menu system if it can't find index.html - (see http.c about line 1275).  That's the different look you are seeing.
 
Where does Ntop look for the files - check globals-core.c around line 75:
static char *_dataFileDirs[]   = { ".", DATAFILE_DIR, NULL };
(DATAFILE_DIR is defined in config.h, the default is $prefix/share/ntop, where $prefix is set from the ./configure step - typically /usr or /usr/local)
 
So, check your installation locations and make sure the .html files are installed...
 
-----Burton
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Devon Harding - GTHLA
Sent: Friday, February 08, 2002 9:22 AM
To: '[EMAIL PROTECTED]'
Subject: [Ntop] ntop Layout?

How come when I start ntop 2.0.1MT with 'ntop -S 1 -E -D -P /home/ntop', the layout looks different than the previous version?  e. g. the menu is now at the left and numbered 1-27 as opposed to having a graphical background and graphical menu at the top right corner of the screen?

 

__________________

Devon Harding

System Administrator

Gilat Latin America

954-858-1600


This e-mail is intended for the above named addressee(s), and may contain information which is confidential or privileged. If you are not the intended recipient, please inform us immediately: you should not copy or use this e-mail for any purpose nor disclose its contents to any person.

 

Reply via email to