Error messages logged when using the cactihost plugin

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
donc
Posts: 13
Joined: Wed Oct 25, 2006 2:45 pm

Error messages logged when using the cactihost plugin

Post by donc »

I'm seeing the following errors logged when I generate maps with the target set as the cacti host:

Code: Select all

Warning:  preg_match() expects parameter 2 to be string, array given in /monitoring/cacti/cacti-0.8.6j/plugins/weathermap/Weathermap.class.php on line 2478

Warning:  htmlspecialchars() expects parameter 1 to be string, array given in /monitoring/cacti/cacti-0.8.6j/plugins/weathermap/Weathermap.class.php on line 4559
I'm calling it in my config like so:

TARGET cactihost:8


The map is still generated and everything looks correct so I wouldn't call this a high priority bug. Still, I did want to bring it to your attention.
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Error messages logged when using the cactihost plugin

Post by Howie »

donc wrote:I'm seeing the following errors logged when I generate maps with the target set as the cacti host:

Code: Select all

Warning:  preg_match() expects parameter 2 to be string, array given in /monitoring/cacti/cacti-0.8.6j/plugins/weathermap/Weathermap.class.php on line 2478

Warning:  htmlspecialchars() expects parameter 1 to be string, array given in /monitoring/cacti/cacti-0.8.6j/plugins/weathermap/Weathermap.class.php on line 4559
I'm calling it in my config like so:

TARGET cactihost:8


The map is still generated and everything looks correct so I wouldn't call this a high priority bug. Still, I did want to bring it to your attention.
Actually it's a wierd symptom of another bug. Thanks for pointing it out :oops:

NOTES is probably broken in 0.9, or at least NOTES and cactihost together are. Fixed in 0.91
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!)
donc
Posts: 13
Joined: Wed Oct 25, 2006 2:45 pm

Post by donc »

Cool ... I'll wait for the update.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests