weathermap no poller, no data source from cacti

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
elmer
Posts: 8
Joined: Sat Oct 21, 2006 8:07 pm
Contact:

weathermap no poller, no data source from cacti

Post by elmer »

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
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: weathermap no poller, no data source from cacti

Post by Howie »

[quote="elmer"]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
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!)
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: weathermap no poller, no data source from cacti

Post by Howie »

[quote="elmer"]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
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!)
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: weathermap no poller, no data source from cacti

Post by Howie »

[quote="elmer"]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
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!)
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: weathermap no poller, no data source from cacti

Post by Howie »

[quote="elmer"]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
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!)
elmer
Posts: 8
Joined: Sat Oct 21, 2006 8:07 pm
Contact:

Install weathermap tips

Post by elmer »

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.
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Install weathermap tips

Post by Howie »

[quote="elmer"]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 =
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!)
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests