Re: cacti 0.8.8b +thold 0.5

Anant Tickoo <[email protected]> Sun, 22 Jun 2014 23:06:46 +0530
Newsgroups gmane.network.cacti.user
Message-ID <CAC8t+CA+1Od4cPb2fi9t4ULg4LSNopy07Nkf4fPjyPusp7bFYg@mail.gmail.com>
Hi Reinhard


i installed reinstalled settings and thold again.

when i click the thold tab on top or any other entry relating to thold it
breaks the page.

thold was looking for
/var/www/html/plugins/thold/include folder, so i made a soft link to
"include" pointing to includes.


errors i see in are


 File does not exist: /var/www/html/plugins/thold/include/main.css,
referer: http://10.176.62.2/plugins/thold/thold_graph.php
 File does not exist: /var/www/html/plugins/thold/images/tab_console.gif,
referer: http://10.176.62.2/plugins/thold/thold_graph.php
 File does not exist:
/var/www/html/plugins/thold/images/transparent_line.gif, referer:
http://10.176.62.2/plugins/thold/thold_graph.php
 File does not exist:
/var/www/html/plugins/thold/images/cacti_backdrop2.gif, referer:
http://10.176.62.2/plugins/thold/thold_graph.php
 File does not exist: /var/www/html/plugins/thold/images/tab_graphs.gif,
referer: http://10.176.62.2/plugins/thold/thold_graph.php
 File does not exist: /var/www/html/plugins/thold/plugins, referer:
http://10.176.62.2/plugins/thold/thold_graph.php
 File does not exist: /var/www/html/plugins/thold/images/shadow_gray.gif,
referer: http://10.176.62.2/plugins/thold/thold_graph.php
 File does not exist: /var/www/html/plugins/thold/images/shadow.gif,
referer: http://10.176.62.2/plugins/thold/thold_graph.php



and then i click on the "threshold" link  it directs me to

"The requested URL* /plugins/thold/plugins/thold/th*old_graph.php was not
found on this server."

i do not understand what is wrong?



On Fri, Jun 13, 2014 at 7:13 PM, Gandalf <[email protected]> wrote:

> As I already mentioned, there is a plugin named "SETTINGS".
> This provided the required and currently missing functions. It's kinda
> "system
> plugin", as other plugins are based on top of this.
> So it would be a good move to install this plugin, as already told.
> Please come back, then, with any results you will receive
> Reinhard
>
> On 13.06.2014 11:05, John Horne wrote:
> > On Thu, 2014-06-12 at 20:10 +0530, Anant Tickoo wrote:
> >
> >>>>
> >>>> On 10.06.2014 19:36, Anant Tickoo wrote:
> >>>>> guys any one know below error
> >>>>>
> >>>>> Fatal error: Call to undefined function settings_version() in
> >>>>> /var/www/html/plugins/thold/setup.php on line 120
> >>>>>
> > Hello,
> >
> > Well the code in thold/setup.php shows:
> >
> > =================
> >     if (!function_exists('settings_version')) {
> >         if (file_exists($config['base_path'] .
> > '/plugins/settings/setup.php')) {
> >             include_once($config['base_path'] .
> > '/plugins/settings/setup.php');
> >             if (!function_exists('settings_version')) {
> >                 return false;
> >             }
> >         }
> >     }
> >     $v = settings_version();                  (this is line 120)
> > =================
> >
> > So there is a check that the function exists, and if it doesn't then it
> > loads the settings/setup.php file. In that file is a definition of
> > 'settings_version'.
> >
> > However, I don't think the code above is right anyway. If the function
> > doesn't exist, and the settings/setup.php file doesn't exist, then the
> > code still drops through to line 120 (and give the above error). Surely
> > it should return false instead.
> >
> > In your case I would say initially check that the settings/setup.php
> > file exists (using the 'locate' command is probably easiest). Then check
> > that it does contain the settings_version definition.
> >
> > We are using the same versions of cacti, thold and settings as you, but
> > are running them on CentOS 6.5 and so php version 5.3.3. I doubt that
> > makes a difference to this problem though.
> >
> >
> >
> > John.
> >
>
>
> ------------------------------------------------------------------------------
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
> _______________________________________________
> cacti-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cacti-user
>



-- 
-- 
Thanks and Regards
Anant Tickoo


Time is never wasted when you’re wasted all the time.
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
cacti-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cacti-user