|
|
| Author |
Message |
elmer
Joined: 21 Oct 2006 Posts: 8
|
Posted: Wed Mar 07, 2007 3:41 pm Post subject: weathermap no poller, no data source from cacti |
|
|
HI FORO
I have problems with weathermap.
I installed cacti 0.8.6.j with puling architecture and thold, monitor, ntop, mactrack
I installed weathermap0.8.2 I can access to page editor http://localhost/weathermap/editor.php
I create a map, put a node and link BUT when I click in node properties and link properties, I cant use the data sources of cacti (the box is empty without options) like if no have relation with cacti.
Another thing else, in cacti log I don’t see poller with weathermap
I installed weather map follow this steps
I copy the folder weathermap into /usr/share/cacti/SITE/plugins/
I edit the config.php (add plugin weathermap)
I copy the folder weathermap into /var/www/ too
I renamed the file edito-config.php-dist to editor-config.php (in var/www/weathermap/ AND usr/share/cacti/site/plugins/weathermap
I gave the permissions
I have a questions?
Where I edit the file editor-config.php (in /var../ OR usr…./)
******************
Is correct put in editor-config.php
$cacti_base = /usr/share/cacti/ or /usr/share/cacti/site or /var/www/ (my cacti directory is in /usr/share/cacti)
$config (‘base_url’)=’http://localhost/cacti/’
$map=’configs’;
*******************8
When I click in tab weathermap I see the messages (thumbnail for 3 not created yet)
(thumbnail for 2 not created yet)
Is necessary add in crontab a line to poller weathermap ??
What i need to poller weathermap?
what i need to that in web editor maps graphs have relation with cacti (use the data sources of cacti)?
Thx for your help |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2037 Location: United Kingdom
|
Posted: Wed Mar 07, 2007 5:44 pm Post subject: Re: weathermap no poller, no data source from cacti |
|
|
| elmer wrote: | HI FORO
I have problems with weathermap.
I installed cacti 0.8.6.j with puling architecture and thold, monitor, ntop, mactrack
I installed weathermap0.8.2 I can access to page editor http://localhost/weathermap/editor.php
I create a map, put a node and link BUT when I click in node properties and link properties, I cant use the data sources of cacti (the box is empty without options) like if no have relation with cacti.
Another thing else, in cacti log I don |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2037 Location: United Kingdom
|
Posted: Wed Mar 07, 2007 5:44 pm Post subject: Re: weathermap no poller, no data source from cacti |
|
|
| elmer wrote: | HI FORO
I have problems with weathermap.
I installed cacti 0.8.6.j with puling architecture and thold, monitor, ntop, mactrack
I installed weathermap0.8.2 I can access to page editor http://localhost/weathermap/editor.php
I create a map, put a node and link BUT when I click in node properties and link properties, I cant use the data sources of cacti (the box is empty without options) like if no have relation with cacti.
Another thing else, in cacti log I don |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2037 Location: United Kingdom
|
Posted: Wed Mar 07, 2007 5:45 pm Post subject: Re: weathermap no poller, no data source from cacti |
|
|
| elmer wrote: | HI FORO
I have problems with weathermap.
I installed cacti 0.8.6.j with puling architecture and thold, monitor, ntop, mactrack
I installed weathermap0.8.2 I can access to page editor http://localhost/weathermap/editor.php
I create a map, put a node and link BUT when I click in node properties and link properties, I cant use the data sources of cacti (the box is empty without options) like if no have relation with cacti.
Another thing else, in cacti log I don |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2037 Location: United Kingdom
|
Posted: Wed Mar 07, 2007 5:47 pm Post subject: Re: weathermap no poller, no data source from cacti |
|
|
| elmer wrote: | HI FORO
I have problems with weathermap.
I installed cacti 0.8.6.j with puling architecture and thold, monitor, ntop, mactrack
I installed weathermap0.8.2 I can access to page editor http://localhost/weathermap/editor.php
I create a map, put a node and link BUT when I click in node properties and link properties, I cant use the data sources of cacti (the box is empty without options) like if no have relation with cacti.
Another thing else, in cacti log I don |
|
| Back to top |
|
 |
elmer
Joined: 21 Oct 2006 Posts: 8
|
Posted: Sat Mar 10, 2007 10:52 am Post subject: Install weathermap tips |
|
|
Hi forum:
Thx fou your help:
I find the mistake:
To weathermap link the data source of cacti is important edit the file edit-config.php and put the correct path in:
$cacti_base = “/usr/share/cacti/site”;
$config[‘base_url’] = ‘http://localhost/cacti/’;
$mapdir=cacti_base./plugins/weathermap/configs’;
And if you hace problme with the graph map is importatn give permission
chown -R cactiuser output (cactiusers = database_username in config.php)
chown -R wwwuser configs (wwwusers = www-data usuario con permiso para escribir en servidor )
chmod 755 output configs
chmod 644 output/* configs/*
And is very important check if you have the follow porgrmas installs
- php5 for the server-based script
- php5-cli - php5 command line interface
- php5-gd - for handling graphics
- php-pear - PEAR for PHP Extension and Application Repository
- rrdtool - a perl script to format collected data to rrd files.
Dependig the version of your php
Well friends wiht it you can install weathermap withouth problems. |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2037 Location: United Kingdom
|
Posted: Sun Mar 11, 2007 5:24 am Post subject: Re: Install weathermap tips |
|
|
| elmer wrote: | Hi forum:
Thx fou your help:
I find the mistake:
To weathermap link the data source of cacti is important edit the file edit-config.php and put the correct path in:
$cacti_base = |
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|
| | | | |