cant creat new map in cacti weathermap

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
fromarm
Posts: 3
Joined: Mon Jul 14, 2014 3:05 am

cant creat new map in cacti weathermap

Post by fromarm »

hello ,
I recently installed perfsonar with cacti ,then installed weathermap , but i'm having trouble creating a new map ? (in mysql the tables are created ), then i copied the examplemap and wanted to overwrite that map when i started to edit the with adding IP add or stuff it could'nt save . my output folder is root apache , the others are root root . I'm login as root .

thanks for the help.

and in cacti log file i got this error
CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT 1 AS id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory=ph.name WHERE ph.status = 1 AND hook = 'config_insert' AND ph.name IN ('settings', 'boost', 'dsstats') UNION SELECT pc.id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory=ph.name WHERE ph.status = 1 AND hook = 'config_insert' AND ph.name NOT IN ('settings', 'boost', 'dsstats') ORDER BY id ASC"
Last edited by fromarm on Tue Jul 15, 2014 2:05 am, edited 1 time in total.
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: cant creat new map in cacti weathermap

Post by Howie »

If you are using the Weathermap Editor, the config files need to be:

1) readable/writable by the www/apache/www-data user (depends on the OS)
2) readable by the cacti user (who runs the cacti poller)

If it is a permissions problem, usually the editor will say "(read only)" next to the filename. It also requires the filename to end in .conf and that doesn't have a very good error message at the moment.
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!)
fromarm
Posts: 3
Joined: Mon Jul 14, 2014 3:05 am

Re: cant creat new map in cacti weathermap

Post by fromarm »

i changed the permissions manually for those forlders the maps are .conf and after i chaned them 777 just to make sure i doesnt say (read only ).

thanks again
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests