Missing icons and background image

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
Simon
Posts: 8
Joined: Tue Dec 26, 2006 3:29 pm

Missing icons and background image

Post by Simon »

Hello,

Weathermap generates successfully my map, but no icons and no image background are used.

I'm using the BACKGROUND instruction at the top of my config file, and ICON for 5 nodes.

I've tested with ICON myfile.png and ICON 32 32 myfile.png.

No errors on the debug log.

Can you help me ?

Thanks
Cacti 0.8.6j | W2K3 and W2K | MySQL 5 | PHP 5 | Net-Snmp 5.3 | IIS 6 and IIS 5 | RRDtool 1.2.15
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

With no errors at all, not really.

Does http://yourserver/plugins/weathermap/check.php show any problems? I can't think of anything that would produce output but not produce any errors if something was wrong.
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!)
Simon
Posts: 8
Joined: Tue Dec 26, 2006 3:29 pm

Post by Simon »

Thanks for your reply.

The check.php returns no error.

I've finally found the problem: I must specify the folder "configs/" before the filename (ex: configs/background.png).

The example.conf file doesn't use the folder name, so I never inserted him...

Thanks
Cacti 0.8.6j | W2K3 and W2K | MySQL 5 | PHP 5 | Net-Snmp 5.3 | IIS 6 and IIS 5 | RRDtool 1.2.15
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

Simon wrote:Thanks for your reply.

The check.php returns no error.

I've finally found the problem: I must specify the folder "configs/" before the filename (ex: configs/background.png).

The example.conf file doesn't use the folder name, so I never inserted him...

Thanks
Only if you put the image in the configs directory...

Hmm, and you got no error about the image file couldn't be found?? :-s
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!)
Simon
Posts: 8
Joined: Tue Dec 26, 2006 3:29 pm

Post by Simon »

If I write ICON myfile.png, there's no line on the log.

When I write ICON c:/myfullpath/myfile.png, I've got an error on the log (file not found).

And when I write ICON myfolder/myfile.png, there's no line but the image appears on the graph...

Thanks
Cacti 0.8.6j | W2K3 and W2K | MySQL 5 | PHP 5 | Net-Snmp 5.3 | IIS 6 and IIS 5 | RRDtool 1.2.15
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

OK. I'll look into that one. Thanks for the info.
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 1 guest