System:Ubuntu 9.10
Cacti on:/usr/share/cacti/site
Wheathermap on:/usr/share/cacti/site/plugins/weathermap
I have some problem for use Weathermap 0.96a.
When I select "console->weathermaps->Weathermap Editor ,but the page display.
$cacti_base is not set correctly. Cacti integration will be disabled in the editor.
So,I modity the /usr/share/cacti/site/plugins/weathermap/editor-config.php
<?php
//
// The editor tries to guess where your cacti installation is, but you
// may need to copy this file to editor-config.php, and edit the lines below
// if it doesn't guess correctly.
//
// CHANGE: Uncomment one of the lines below and change it to point to the base directory
// of your cacti install to enable cacti support in the editor
$cacti_base = "/usr/share/cacti";
// $cacti_base = "/var/www/html/cacti";
// CHANGE: this to be the URL of the base of your Cacti install
// it MUST end with a / character!
$cacti_url = 'http://localhost/cacti';
// where to look for config files. The directory must be readable
// AND writable by whatever user your webserver runs as.
// this name is correct if you are using the Cacti plugin
// NOTE: You MIGHT need to use the full path to the configs folder here,
// (it seems to depend on the PHP or OS version)
// $mapdir= $cacti_base.'/plugins/weathermap/configs';
$mapdir='configs';
//$mapdir='/usr/share/cacti/site/plugins/weathermap/configs';
// if you DON'T use Cacti, and the warning in the editor annoys you,
// then set this to TRUE
$ignore_cacti = FALSE;
?>
But still it is wrong.
Sorry,it problem solve after minutes.
It modify the $cacti_base = "/usr/share/cacti/site";
Weathermap 0.96a editor problem-(solve)
Moderators: Developers, Moderators
-
- Posts: 3
- Joined: Fri Sep 19, 2008 11:33 am
I'm with the same problem.
I changed the line to:
$cacti_base = '/var/www/cacti'; --> This is where my cacti folder is located.
$cacti_url = 'http://localhost/cacti/';
But i'm still getting the same error message:
$cacti_base is not set correctly. Cacti integration will be disabled in the editor.
what could it be?
I changed the line to:
$cacti_base = '/var/www/cacti'; --> This is where my cacti folder is located.
$cacti_url = 'http://localhost/cacti/';
But i'm still getting the same error message:
$cacti_base is not set correctly. Cacti integration will be disabled in the editor.
what could it be?
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Ubuntu packagers move around the config files and the rra files, if you are using the Ubuntu Cacti package.
Weathermap 0.97a should handle this correctly - please upgrade and retest.
Weathermap 0.97a should handle this correctly - please upgrade and retest.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Re: Weathermap 0.96a editor problem-(solve)
hello all,
i've the same problem:
I'm on CentOS 5.5 64-bit and using PHP Weathermap version 0.97a, my editor.php conf is:
How can i solve ?
thank you so much for help
N.
i've the same problem:
Code: Select all
$cacti_base is not set correctly. Cacti integration will be disabled in the editor.
Code: Select all
<?php
require_once 'editor.inc.php';
require_once 'Weathermap.class.php';
// so that you can't have the editor active, and not know about it.
$ENABLED=true;
if(! $ENABLED)
{
print "<p>The editor has not been enabled yet. You need to set ENABLED=true at the top of editor.php</p>";
print "<p>Before you do that, you should consider using FilesMatch (in Apache) or similar to limit who can access the editor. There is more information in the install guide section of the manual.</p>";
exit();
}
// sensible defaults
$mapdir='configs';
//$mapdir='/usr/share/cacti/plugins/weathermap/configs';
$cacti_base='/usr/share/cacti';
$cacti_url='http://10.1.100.105/cacti';
$ignore_cacti=FALSE;
$configerror = '';
$config_loaded = @include_once 'editor-config.php';
...
...
thank you so much for help
N.
Re: Weathermap 0.96a editor problem-(solve)
hI
I had the same trouble, Actually I had created another "editor-config.php"
-rw-r--r-- 1 root root 1095 Oct 4 15:22 editor-config.php (this file creates that error)
-rw-r--r-- 1 root root 1095 Mar 19 2008 editor-config.php-dist
So I deleted, and got fix it!
It must be only:
-rw-r--r-- 1 root root 1095 Mar 19 2008 editor-config.php-dist
Jose
I had the same trouble, Actually I had created another "editor-config.php"
-rw-r--r-- 1 root root 1095 Oct 4 15:22 editor-config.php (this file creates that error)
-rw-r--r-- 1 root root 1095 Mar 19 2008 editor-config.php-dist
So I deleted, and got fix it!
It must be only:
-rw-r--r-- 1 root root 1095 Mar 19 2008 editor-config.php-dist
Jose
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Weathermap 0.96a editor problem-(solve)
Most of the time you don't need editor-config.php, but your problem wasn't that you had one - it was that you had made an error in it!
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Who is online
Users browsing this forum: No registered users and 0 guests