Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Thu Aug 17, 2017 2:49 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: issues with plug instalation
PostPosted: Tue Jan 17, 2017 5:55 pm 
Offline

Joined: Sat Feb 20, 2016 12:53 pm
Posts: 26
Hello :)


I am able to install and enable module, but i dont see weathermap tab near "CONSOLE" and "GRAPHS" tab.

Do you know what happen ?

Also why my cacti is referring to the .conf files that doesn't exist ?

Quote:
01/18/2017 12:16:04 AM - WEATHERMAP: Poller[0] WARNING: [Map 9] VirtualOliviaGlobalNetwork.conf: Mapfile /usr/share/cacti/site/plugins/weathermap/configs/VirtualOliviaGlobalNetwork.conf is not readable or doesn't exist [WMPOLL04]
01/18/2017 12:16:04 AM - WEATHERMAP: Poller[0] WARNING: [Map 15] VirtualOliviaGlobalNetworkNEW.conf: Mapfile /usr/share/cacti/site/plugins/weathermap/configs/VirtualOliviaGlobalNetworkNEW.conf is not readable or doesn't exist [WMPOLL04]
01/18/2017 12:16:04 AM - WEATHERMAP: Poller[0] WARNING: [Map 16] WANEdgeandVPN.conf: Mapfile /usr/share/cacti/site/plugins/weathermap/configs/WANEdgeandVPN.conf is not readable or doesn't exist [WMPOLL04]
01/18/2017 12:16:04 AM - WEATHERMAP: Poller[0] WARNING: [Map 17] OctopusVPS-PL.conf: Mapfile /usr/share/cacti/site/plugins/weathermap/configs/OctopusVPS-PL.conf is not readable or doesn't exist [WMPOLL04]
01/18/2017 12:16:04 AM - WEATHERMAP: Poller[0] WARNING: [Map 18] test2.conf: Mapfile /usr/share/cacti/site/plugins/weathermap/configs/test2.conf is not readable or doesn't exist [WMPOLL04]



Some logs....

Code:
01/18/2017 12:16:05 AM - WEATHERMAP: Poller[0] STATS: Weathermap 0.98 run complete - Wed, 18 Jan 17 00:16:05 +0100: 1 maps were run in 1 seconds with 5 warnings.
01/18/2017 12:16:05 AM - WEATHERMAP: Poller[0] [Map 5] simple.conf: Wrote map to /usr/share/cacti/site/plugins/weathermap/output/071e7f6bb7cf6d6e530d.png and /usr/share/cacti/site/plugins/weathermap/output/071e7f6bb7cf6d6e530d.thumb.png
01/18/2017 12:16:04 AM - WEATHERMAP: Poller[0] [Map 5] simple.conf: About to write image file. If this is the last message in your log, increase memory_limit in php.ini [WMPOLL01]
01/18/2017 12:16:04 AM - WEATHERMAP: Poller[0] [Map 5] simple.conf: Map: /usr/share/cacti/site/plugins/weathermap/configs/simple.conf -> /usr/share/cacti/site/plugins/weathermap/output/071e7f6bb7cf6d6e530d.html & /usr/share/cacti/site/plugins/weathermap/output/071e7f6bb7cf6d6e530d.png


Hope, i am waiting for quick replay.


Top
 Profile  
 
 Post subject: Re: issues with plug instalation
PostPosted: Tue Jan 17, 2017 6:20 pm 
Offline
Cacti Guru User
User avatar

Joined: Thu Sep 16, 2004 5:53 am
Posts: 5117
Location: United Kingdom
Does the user you are logged in as have permission to manage or view weathermaps? (in the Cacti user admin?)

Do the config files actually exist in the configs/ directory? (check with ls)

Are those the names of map config files that you have added?

I'm confused what you did before this - was it working, and stopped working? Or never worked? (how did you add those maps if it never worked?) If it stopped working, what changed then? Cacti upgrade? PHP upgrade? OS upgrade? Weathermap upgrade? Disk full?

_________________
Weathermap 0.98 is out! & QuickTree 0.2. Superlinks is over there now.
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!)


Top
 Profile  
 
 Post subject: Re: issues with plug instalation
PostPosted: Thu Apr 20, 2017 8:20 am 
Offline

Joined: Wed Mar 01, 2017 11:11 am
Posts: 23
Hi,

I figured I would hop on this thread because I have the same issue and I didn't see an answer. I have upgraded weather map from .97a to .98 and I am getting the following failures. I have changed nothing else but weathermap. After trying many times to untar .98 over the old directory without success I removed its contents and then un tared. After a few more failures of the plugin not being recognized it finally worked. I have permissions wide open but am still getting these errors ".conf is not readable or doesn't exist [WMPOLL04]". I did not recreate the map I just copied the conf file that was created under .97a. Is this a problem , Any Ideas?

04/20/2017 09:05:12 AM - WEATHERMAP: Poller[0] Weathermap 0.98 starting - Normal logging mode. Turn on DEBUG in Cacti for more information

04/20/2017 09:05:12 AM - WEATHERMAP: Poller[0] WARNING: [Map 296] Core.conf: Mapfile /opt/lampp/htdocs/cacti/plugins/weathermap/configs/Core.conf is not readable or doesn't exist [WMPOLL04]
04/20/2017 09:05:12 AM - WEATHERMAP: Poller[0] [Map 198] CoreMAX.conf: Map: /opt/lampp/htdocs/cacti/plugins/weathermap/configs/CoreMAX.conf -> /opt/lampp/htdocs/cacti/plugins/weathermap/output/9c8fe407ce8c8ee003a6.html & /opt/lampp/htdocs/cacti/plugins/weathermap/output/9c8fe407ce8c8ee003a6.png
04/20/2017 09:05:12 AM - WEATHERMAP: Poller[0] [Map 198] CoreMAX.conf: About to write image file. If this is the last message in your log, increase memory_limit in php.ini [WMPOLL01]
04/20/2017 09:05:12 AM - SYSTEM DSSTATS STATS: Type:HOURLY, Time:0.0758
04/20/2017 09:05:12 AM - WEATHERMAP: Poller[0] [Map 198] CoreMAX.conf: Wrote map to /opt/lampp/htdocs/cacti/plugins/weathermap/output/9c8fe407ce8c8ee003a6.png and /opt/lampp/htdocs/cacti/plugins/weathermap/output/9c8fe407ce8c8ee003a6.thumb.png
04/20/2017 09:05:12 AM - WEATHERMAP: Poller[0] STATS: Weathermap 0.98 run complete - Thu, 20 Apr 17 09:05:12 -0400: 1 maps were run in 0 seconds with 1 warnings.


Top
 Profile  
 
 Post subject: Re: issues with plug instalation
PostPosted: Thu Apr 20, 2017 11:26 am 
Offline

Joined: Wed Mar 01, 2017 11:11 am
Posts: 23
After looking a bit closer at the names of conf files, I had moved over one that was named similar but not the map I was testing with. So all good now.

FYI - Installing .98 over .97 does not work. Clear out the weathermap directory, then un tar. I still had to do this several times until the plugin was fully recognized, even though command line weathermap worked fine.

If you are using angled text in your maps , dont forget to put back your font file back otherwise it complains about it.
VeraBd.ttf

Hope this saves you some time....


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group