problem with weathermap 0.81
Moderators: Developers, Moderators
problem with weathermap 0.81
i have problem with weathermap 0.81 related to not creating the thumb, original image and html output in the output file by the poller , although i gave cactiuser owner permission and allowed every one to have write permission in the directory . i don't know what to do next .
when i execute weathermap as a stand alone it produce the picture.
please if any one can help me.
when i execute weathermap as a stand alone it produce the picture.
please if any one can help me.
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: problem with weathermap 0.81
What does the Cacti log say?HCT wrote:i have problem with weathermap 0.81 related to not creating the thumb, original image and html output in the output file by the poller , although i gave cactiuser owner permission and allowed every one to have write permission in the directory . i don't know what to do next .
when i execute weathermap as a stand alone it produce the picture.
please if any one can help me.
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!)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Yes it should. Do any other plugins work? (you did install the plugin architecture, I hope!).HCT wrote:The strange is that it didn't say anything , it should appear in the normal log file right (cacti directory/log/cacti.log) .
Does the 'Weathermaps' option appear under Manage on the console? I guess it must do, otherwise you would not have been able to add a map.
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!)
Another problem
Hi there,
I didn't want to start a new topic so I hope there is room here for another Weathermap Q.
First let me say that Cacti keeps impressing me and my collegues, right now I have impressed my collegues with Weathermap.
Unfortunately something has changed. Suddently the editor says "NO DIRECTORY named configs" and when i go on and create a new map the icons are missing, if I choose to create a node no box is placed on the working area, I can locate it by watching the cursor change and select it but when I would like to change the icon there is nothing to chose among.
I have two working Weathermaps in the ../configs subdir and many icons in the ../images subdir.
I have checked the permissions on the two subdirs, they seem OK.
I have installed the plugin for download/upload routers switches configuration after Weathermap, could it be that it conflicts or has changed something that conflicts with Wheatermap.
My setup:
RH linux
PHP4
Apache
Cacti 0.8.6h
I have attached a pic of my plugins.
I hope someone can give me a clou what has been tampered with.
Greetings
- Dritz
I didn't want to start a new topic so I hope there is room here for another Weathermap Q.
First let me say that Cacti keeps impressing me and my collegues, right now I have impressed my collegues with Weathermap.
Unfortunately something has changed. Suddently the editor says "NO DIRECTORY named configs" and when i go on and create a new map the icons are missing, if I choose to create a node no box is placed on the working area, I can locate it by watching the cursor change and select it but when I would like to change the icon there is nothing to chose among.
I have two working Weathermaps in the ../configs subdir and many icons in the ../images subdir.
I have checked the permissions on the two subdirs, they seem OK.
I have installed the plugin for download/upload routers switches configuration after Weathermap, could it be that it conflicts or has changed something that conflicts with Wheatermap.
My setup:
RH linux
PHP4
Apache
Cacti 0.8.6h
I have attached a pic of my plugins.
I hope someone can give me a clou what has been tampered with.
Greetings
- Dritz
- Attachments
-
- Shot of my Plugin Updates
- Cacti_Plugins.png (15.91 KiB) Viewed 10389 times
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Another problem
You might want to try putting the full path to the configs directory in your editor config file, rather than the relative one. I guess it's possible that the current working directory isn't what the editor expects it to be.Dr.Dritz wrote: Unfortunately something has changed. Suddently the editor says "NO DIRECTORY named configs" and when i go on and create a new map the icons are missing, if I choose to create a node no box is placed on the working area, I can locate it by watching the cursor change and select it but when I would like to change the icon there is nothing to chose among.
I have two working Weathermaps in the ../configs subdir and many icons in the ../images subdir.
I have checked the permissions on the two subdirs, they seem OK.
I don't think so... maybe try having weathermap before the other plugin in your config.inc.php if you don't already? If that does fix it, then I suppose the other plugin does cause a problem. I don't think it would with the editor though.Dr.Dritz wrote: I have installed the plugin for download/upload routers switches configuration after Weathermap, could it be that it conflicts or has changed something that conflicts with Wheatermap.
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!)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
HCT wrote:regarding to my problem with weathermap , yes i had installed the plugins architectureand i am already have Thold plugin working correctly .
also i can see the config file when i choose view the map from the console .
And did changing to use the full path in the editor config file help?
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!)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
(sorry - I got confused there - the full path thing was for Dritz)HCT wrote:i replaced to the full path in the editor config but it didn't work, i may can trace the problem if i know which part of the code is responsible for reading the config file and producing the images. .
If you get nothing at all in the logs, then something is seriously wrong.
All code for the plugin goes through setup.php Since the user-interface is working, then that code is mostly fine.
The poller_bottom() function is the part that runs during the poller cycle. You might want to try running the poller.php from the command line (php poller.php) to see if there are any errors that don't end up in the logs for some reason.
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!)
Full path in the editor config solved one of my problems.
Hi again Howie,
- sorry for the confusion.
Tnx for your prompt support!
Full path in the editor config solved one of my problems. Now my maps are in the list and I'm able to click them open.
But there are no icons (and no images are available)
If I open my maps via the WeatherMap tab (normal viewing), the icons are there.
- Dritz
- sorry for the confusion.
Tnx for your prompt support!
Full path in the editor config solved one of my problems. Now my maps are in the list and I'm able to click them open.
But there are no icons (and no images are available)
If I open my maps via the WeatherMap tab (normal viewing), the icons are there.
- Dritz
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Full path in the editor config solved one of my problems
OK. What do your icon lines look like? If something is screwing with the current directory, as it seems, then you probably need the full path for the icons too, unfortunately.Dr.Dritz wrote:Full path in the editor config solved one of my problems. Now my maps are in the list and I'm able to click them open.
But there are no icons (and no images are available)
If I open my maps via the WeatherMap tab (normal viewing), the icons are there.
Actually, before you do that, try adding
Code: Select all
chdir(dirname(__FILE__));
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!)
Full path in the editor config solved one of my problems
Hi again,
I have put in chdir(dirname(__FILE__)); into editor.php but no change.
Where do I have to put in the path for my images dir?
- Dritz
I have put in chdir(dirname(__FILE__)); into editor.php but no change.
Where do I have to put in the path for my images dir?
- Dritz
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Full path in the editor config solved one of my problems
Anywhere you have an ICON or BACKGROUND line in your map config.Dr.Dritz wrote:Hi again,
I have put in chdir(dirname(__FILE__)); into editor.php but no change.
Where do I have to put in the path for my images dir?
- Dritz
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 1 guest