The graph icon (attached) shows up when ntop finds rrd files relevant to the page. So either there aren't any, or the plugin isn't active...
If you grep for graph\.gif in the code, you'll see the blocks:
/* RRDs for domains */
if (domainName != NULL) {
struct stat statbufDomain;
/* Do NOT add a '/' at the end of the path because Win32 will complain
about it */
safe_snprintf(__FILE__, __LINE__, buf, sizeof(buf),
"%s/interfaces/%s/domains/%s",
myGlobals.rrdPath != NULL ? myGlobals.rrdPath : ".",
myGlobals.device[myGlobals.actualReportDeviceId].humanFriendlyName,domainNam
e);
for(i=0; i<strlen(buf); i++) if(buf[i] == ' ') buf[i] = '_';
if((i = stat(buf, &statbufDomain)) == 0) {
safe_snprintf(__FILE__, __LINE__, buf, sizeof(buf),
"<p> </p>\n"
"<center><table border=\"0\"><tr>"
"<td valign=\"middle\" align=\"right\">Show domain-wide
traffic charts:</td>\n"
"<td align=\"right\">"
" "
"[ <a href=\"/" CONST_PLUGINS_HEADER
"rrdPlugin?action=list&key=interfaces/%s/domains/%s&title=Domain%%20%s\">"
"<img border=\"0\" src=\"/graph.gif\" alt=\"Domain-wide
Historical Data\"></a> ]"
" "
"</td>\n"
"</tr></table>\n</center>\n"
"<p> </p>\n",
myGlobals.device[myGlobals.actualReportDeviceId].humanFriendlyName,
domainName,domainName);
sendString(buf);
}
}
The pattern in the safe_snprintf line is what ntop is looking for, e.g.
<prefix>/interfaces/<interfacename>/domains/<domainname> in this case.
Prefix is set on the rrd plugin configuration page.
-----Burton
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
deepak seshadri
Sent: Monday, December 20, 2004 9:33 AM
To: [EMAIL PROTECTED]
Subject: RE: [Ntop] Where are the graphs for hosts?
Hi Burton,
I looked a lot in the webpages man I could not find any "graphs for
services" for each host. I remember when I click on a host along with all
the information about the host there was a small graph icon in that web
page. When I click on that graph icon, I got a page that had the graphs of
all services used by the host. Now I am not seeing that graph icon on any of
the host webpages. Could you please help me out here?
Thank you,
Best regards,
Deepak
----Original Message Follows----
From: "Burton Strauss" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: <[EMAIL PROTECTED]>
Subject: RE: [Ntop] Where are the graphs for hosts?
Date: Wed, 8 Dec 2004 10:21:36 -0600
Lots of oages have graphs. Just poke around...
If you are looking for the rrd graphs, look for the little icon - that leads
them on pages that don't automatically include them.
-----Burton
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
deepak seshadri
Sent: Wednesday, December 08, 2004 9:53 AM
To: [EMAIL PROTECTED]
Subject: [Ntop] Where are the graphs for hosts?
Hello everybody,
I remember seeing graphs for hosts in the NTOP. I am unable to find it now.
I forgot on which page I saw the graphs. Could someone please point out on
which page I could find it.
Thank you,
Regards,
Deepak
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop
<<attachment: graph.gif>>
_______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
