Unable to use editor.php

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
gustavhelgi
Posts: 16
Joined: Thu Nov 13, 2008 10:43 am

Unable to use editor.php

Post by gustavhelgi »

Hi guys,

Has anyone had the same problem that when you have set "ICON {node:this:inscaletag}" editor.php will not open up that map ? :).
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Unable to use editor.php

Post by Howie »

gustavhelgi wrote:Hi guys,

Has anyone had the same problem that when you have set "ICON {node:this:inscaletag}" editor.php will not open up that map ? :).
No, I just tried this with a copy of simple.conf and it works for me (with my dev version, though).

Does the map work from the poller? (do you get the map updating?)
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!)
gustavhelgi
Posts: 16
Joined: Thu Nov 13, 2008 10:43 am

Post by gustavhelgi »

Hi Howie,

Yeah the poller works fine it just doesnt open in the editor with that line of code in the conf. I spent a bit of time finding which line it was uncommending each and this was the one. Pretty wierd. I even tried to create a new file just to test this and the same happened :).
gustavhelgi
Posts: 16
Joined: Thu Nov 13, 2008 10:43 am

Post by gustavhelgi »

Well now i tried it on another setup on another machine and this time with weathermap inside Cacti and i´m unable to load editor.php.

NODE ASA-Primary
TARGET cactihost:3
ICON images/asa-primary_{node:this:state}.png
POSITION 300 600

Any ideas ?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

Do you get any errors in httpd-errors.log?

This did work for me, as I said.
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!)
gustavhelgi
Posts: 16
Joined: Thu Nov 13, 2008 10:43 am

Post by gustavhelgi »

*** glibc detected *** /usr/sbin/httpd: realloc(): invalid next size: 0x09aafe88 ***
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

gustavhelgi wrote:*** glibc detected *** /usr/sbin/httpd: realloc(): invalid next size: 0x09aafe88 ***
What is memory_limit set to in your php.ini? That sounds like some kind of memory fault.
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!)
gustavhelgi
Posts: 16
Joined: Thu Nov 13, 2008 10:43 am

Post by gustavhelgi »

i´ve tried that, it's now at 256mb :(.
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

OK, and it works with an ordinary icon, right?
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!)
gustavhelgi
Posts: 16
Joined: Thu Nov 13, 2008 10:43 am

Post by gustavhelgi »

Hi Howie,

found out what it was the problem is with the

ICON images/asa-primary_{node:this:state}.png

The problem is i had created asa-primary_up.png/down.png/recovering.png/disabled.png

However when i try to go to the editor it is looking for asa-primary_[UNKNOWN].png as it cant check for the state. And when it doesn´t find the image it crashes with the memory fault.

Just tought any one who has this problem should know :).
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest