Unrecognised config on line 1 ?

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
cly
Posts: 2
Joined: Wed Dec 26, 2012 3:56 am
Location: Taiwan

Unrecognised config on line 1 ?

Post by cly »

Hi all,

I am trying to setup weathermap as a Cacti plugin with editor,
I followed weathermap install instruction and some articles on Internet.
Most things are OK now, but the graphs just come out with whole blank and have time stamp at top right corner.

I enabled DEBUG logging, and found some strange log as PNG attachment file.
I'm pretty sure there are nothing in configs/ folder but only 2 configure files that I edit through weathermap editor.

It looks like the Cacti poller can't read my weathermap correctly. ( how? )
Does anybody have this problem before?

Here are my environment:
OS: FreeBSD 8.3-Release-p5
Web server: Apache 2.2.23 + PHP 5.4.10
Cacti ver.: 0.8.8a1
Weathermap ver.: 0.97a
Attachments
When I click into one of them.
When I click into one of them.
20121226003.PNG (52.13 KiB) Viewed 1336 times
I have two config files
I have two config files
20121226002.PNG (37.45 KiB) Viewed 1336 times
strange log
strange log
20121226001.PNG (37.28 KiB) Viewed 1336 times
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Unrecognised config on line 1 ?

Post by Howie »

Could you post a picture of the Manage Weathermaps screen please? It looks like somehow the directory itself has been added as 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!)
cly
Posts: 2
Joined: Wed Dec 26, 2012 3:56 am
Location: Taiwan

Re: Unrecognised config on line 1 ?

Post by cly »

Howie,

Thanks for your reply.
The attachment file is my weathermap management screenshot.
But this screenshot is different from I posted before cause I remove whole weathermap plugin from Cacti and start over again...

Through the logs, I found there are some thing lost in table "weathermap_maps" of weathermap database.
I created a new config file with editor and add the config file at weathermap management,
and it looks like the attachment... two columns are empty.
And the weathermap database (phpmysqladmin) screenshot is the other attachment.
The columns "configfile", "imagefile" and "htmlfile" are empty.
Are these cause my weathermap not functional?

I had tried field these columns "configfile", "imagefile" and "htmlfile" manually,
the weathermap thumbnail shown in Cacti, but in output folder, it still only these 3 files ".png", ".html", "thumb.png".
Attachments
weathermap_maps of weathermap database
weathermap_maps of weathermap database
20121226005.PNG (6.79 KiB) Viewed 1330 times
weathermap management screenshot
weathermap management screenshot
20121226004.PNG (40.87 KiB) Viewed 1330 times
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Unrecognised config on line 1 ?

Post by Howie »

I know this is a long time ago now, but do you remember what the filename was for this map? I think I need to check for special characters.
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 3 guests