Weether Map Error/No map ceated

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
kenchie
Posts: 18
Joined: Sat Apr 14, 2007 5:43 am
Location: Singapore
Contact:

Weether Map Error/No map ceated

Post by kenchie »

Hi,

I just installed the weathermap 0.9 and i have this error. Can someone please help?

Thanks in advance
Attachments
weathermap_error.png
weathermap_error.png (238.63 KiB) Viewed 8647 times
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Weether Map Error/No map ceated

Post by Howie »

kenchie wrote:Hi,

I just installed the weathermap 0.9 and i have this error. Can someone please help?

Thanks in advance
You need to install the php GD module. How you do this depends on your operating system, and where you got PHP from. For redhat-like systems, it would be a package called something like php-gd or php5-gd, for example.

It might just be that you need to enable the module, and it's already installed. Have a look in your php.ini for lines starting 'extension=', and see if the GD one (if it exists), is commented out.
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!)
kenchie
Posts: 18
Joined: Sat Apr 14, 2007 5:43 am
Location: Singapore
Contact:

Weather Map error/No map created

Post by kenchie »

Hi Howie,

Thanks for your reply. I look at my php.ini file and the only tha i found is in the attached file. I uncomment that and change it to 1 but Im still getting the same error. I am using Fedora 6 and did a yum install. My cacti folder is on /usr/share/cacti.

Can you please help on how to install GD module and to which directory.

Appreciate all the help.

Thanks and kind regards.

Melvin
Attachments
Screenshot.png
Screenshot.png (256.38 KiB) Viewed 8622 times
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Weather Map error/No map created

Post by Howie »

kenchie wrote:Can you please help on how to install GD module and to which directory.
It depends a lot on your OS, where you got your PHP from and a few other things.
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!)
kenchie
Posts: 18
Joined: Sat Apr 14, 2007 5:43 am
Location: Singapore
Contact:

Weather Map error/No map created

Post by kenchie »

Hi Howie,

Ok, i am not sure since this is my first time to install a weathermap and a newbi in linux. What I did is install the gd requirement using yum and restarted my http. The gd error was gone and a new error come out which is:

04/28/2007 12:40:03 AM - WEATHERMAP: Poller[0] Weathermap 0.9 run complete - 0 maps were run
04/28/2007 12:40:03 AM - WEATHERMAP: Poller[0] Output directory (/usr/share/cacti/plugins/weathermap/output) isn't writable (tried to create '/usr/share/cacti/plugins/weathermap/output/weathermap.permissions.test'). No maps created. You probably need to make it writable by the poller process (like you did with the RRA directory)

Then i follow the code in your manual: chown cactiuser output, and i get this:

04/28/2007 12:50:03 AM - WEATHERMAP: Poller[0] Weathermap 0.9 run complete - 1 maps were run
04/28/2007 12:50:03 AM - WEATHERMAP: Poller[0] Wrote map to /usr/share/cacti/plugins/weathermap/output/weathermap_2.png and /usr/share/cacti/plugins/weathermap/output/weathermap_thumb_2.png
04/28/2007 12:50:02 AM - WEATHERMAP: Poller[0] About to write image file. If this is the last message in your log, increase memory_limit in php.ini
04/28/2007 12:50:02 AM - WEATHERMAP: Poller[0] Unrecognised config on line 8: KEYPOS DEFAULT -1 -1 Traffic Load
04/28/2007 12:50:02 AM - WEATHERMAP: Poller[0] Map: /usr/share/cacti/plugins/weathermap/configs/simple.conf -> /usr/share/cacti/plugins/weathermap/output/weathermap_2.html & /usr/share/cacti/plugins/weathermap/output/weathermap_2.png
04/28/2007 12:50:02 AM - WEATHERMAP: Poller[0] Weathermap 0.9 starting - Normal logging mode. Turn on DEBUG in Cacti for more information
04/28/2007 12:50:02 AM - SYSTEM STATS: Time:1.0674 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:5
04/28/2007 12:45:03 AM - WEATHERMAP: Poller[0] Weathermap 0.9 run complete - 1 maps were run
04/28/2007 12:45:03 AM - WEATHERMAP: Poller[0] Wrote map to /usr/share/cacti/plugins/weathermap/output/weathermap_2.png and /usr/share/cacti/plugins/weathermap/output/weathermap_thumb_2.png
04/28/2007 12:45:02 AM - WEATHERMAP: Poller[0] About to write image file. If this is the last message in your log, increase memory_limit in php.ini
04/28/2007 12:45:02 AM - WEATHERMAP: Poller[0] Unrecognised config on line 8: KEYPOS DEFAULT -1 -1 Traffic Load
04/28/2007 12:45:02 AM - WEATHERMAP: Poller[0] Map: /usr/share/cacti/plugins/weathermap/configs/simple.conf -> /usr/share/cacti/plugins/weathermap/output/weathermap_2.html & /usr/share/cacti/plugins/weathermap/output/weathermap_2.png

And finally, I check the map and it shows on the attached file.

One question though, after this, is there any available manual on how to design my map based on my existin network? Can you please give site?

Thanks again in advance and more power to cacti user....

Melvin
Attachments
Screenshot-1.png
Screenshot-1.png (99.95 KiB) Viewed 8616 times
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Weather Map error/No map created

Post by Howie »

kenchie wrote:One question though, after this, is there any available manual on how to design my map based on my existin network? Can you please give site?

Thanks again in advance and more power to cacti user....

Melvin
Yes! It's in the docs folder on your PC - index.html

It's also at www.network-weathermap.com/manual/0.9/

Both the problems you had are in the installation instructions there.
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!)
kenchie
Posts: 18
Joined: Sat Apr 14, 2007 5:43 am
Location: Singapore
Contact:

Weathermap Error/No graph

Post by kenchie »

Hi Howie,

Thanks for the link. I've seen some of the maps have cisco router on each node. Is there a way i could use it my map as well?

Another thing, on the weathermap, can i make a graph for my remote router as well?

Thanks and regards.

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

Re: Weathermap Error/No graph

Post by Howie »

kenchie wrote:Hi Howie,

Thanks for the link. I've seen some of the maps have cisco router on each node. Is there a way i could use it my map as well?
Yes. Find an icon (in PNG format). Use it in an ICON line in your map config file. The example.conf map has some of these, I think.
kenchie wrote: Another thing, on the weathermap, can i make a graph for my remote router as well?
If you can get the graph into Cacti, then weathermap can use it. Weathermap doesn't collect data itself - only what you already have from somewhere else (MRTG, Cacti, text file, etc).
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!)
kenchie
Posts: 18
Joined: Sat Apr 14, 2007 5:43 am
Location: Singapore
Contact:

Weathermap

Post by kenchie »

Hi Howie,

Thanks for all the support. I have a little problem though. I dont how to include my remote router in my cacti server. I can graph my local router which directly connected to the switch with same subnet with my server. The local to remote are connected via a serial port and using a private ip but remote can connect to the internet using nat with route to the gateway.

Do you have any idea on how to graph my remote router with this setup?

Thanks in advance.
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Weathermap

Post by Howie »

kenchie wrote:Hi Howie,

Thanks for all the support. I have a little problem though. I dont how to include my remote router in my cacti server. I can graph my local router which directly connected to the switch with same subnet with my server. The local to remote are connected via a serial port and using a private ip but remote can connect to the internet using nat with route to the gateway.

Do you have any idea on how to graph my remote router with this setup?

Thanks in advance.
So you can't manage the router (with telnet or anything) either? You would need some route from the cacti server to the router for SNMP to work, either on the private link or out onto the internet, then back in again through the nat on the other end (with port forwarding).
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!)
kenchie
Posts: 18
Joined: Sat Apr 14, 2007 5:43 am
Location: Singapore
Contact:

Weathermap error/no graph

Post by kenchie »

Hi Howie,

Really thanks for taking your time to reply to my queries. Actually, i can manage the remote routers through telnet. My only problem is how to put this remote routers in my cacti server so that i can monitor their traffic utilization and put in the weathermap.

i tried putting static route on my remote router pointing to my cacti server but it seems not working for me.Example config is:

Sample route on remote:
ip route 0.0.0.0 0.0.0.0 (local router serial interface private address)-->default route
ip route (cacti server public address) (subnet mask) (local router private address)--> static route going to my cacti server

On local router:
ip route 0.0.0.0 0.0.0.0 (gateway ethernet public address)--> default route to gateway
ip route (remote router ethernet int. private add) (subnet mask) (remote serial ip add) ---> route to lan on remote

Any additional idea or route that I need to do? Or maybe a sample config on the same setup.

Thanks and regards.

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

Re: Weathermap error/no graph

Post by Howie »

kenchie wrote:Hi Howie,

Really thanks for taking your time to reply to my queries. Actually, i can manage the remote routers through telnet. My only problem is how to put this remote routers in my cacti server so that i can monitor their traffic utilization and put in the weathermap.

i tried putting static route on my remote router pointing to my cacti server but it seems not working for me.Example config is:

Sample route on remote:
ip route 0.0.0.0 0.0.0.0 (local router serial interface private address)-->default route
ip route (cacti server public address) (subnet mask) (local router private address)--> static route going to my cacti server

On local router:
ip route 0.0.0.0 0.0.0.0 (gateway ethernet public address)--> default route to gateway
ip route (remote router ethernet int. private add) (subnet mask) (remote serial ip add) ---> route to lan on remote

Any additional idea or route that I need to do? Or maybe a sample config on the same setup.

Thanks and regards.

Melvin
I don't understand. You can telnet to the router from the cacti server? Then surely snmp works too? :-?
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!)
kenchie
Posts: 18
Joined: Sat Apr 14, 2007 5:43 am
Location: Singapore
Contact:

Weathermap created/no graph

Post by kenchie »

Hi Howie,

I can graph my local router because I can directly to it from my cacti server. Cacti server is on the same subnet with local router which is using the public ip. Both are connected to the my gateway router on the switch.

But I can telnet to my remote router from my cacti server since it connected to my local router via serial port and use a private ip. i cannot even ping local router's serial int. ip address from my cacti server.

Have you had the setup? can you please help.

Thanks in advance. I will post the network diagram if that is ok.

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

Re: Weathermap created/no graph

Post by Howie »

kenchie wrote:Thanks in advance. I will post the network diagram if that is ok.
Perhaps you should. I don't see why you would be able to telnet to a router, but not ping it, apart from some ACL-related 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!)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests