Weathermap - Cacti 1.x compatible release available for testing
Moderators: Developers, Moderators
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Weathermap - Cacti 1.x compatible release available for testing
HI All,
I've rewritten the 0.98a version of Weathermap to run on a Cacti 1.x ( tested on 1.2.8, Linux and Windows versions ) system. There have been no new features and it may not be compatible with all themes but it should be working just fine.
Please have a go at this version and post back any issues you find within this thread.
Update: Contains the URL fix reported
https://www.urban-software.com/wp-conte ... pdated.zip
GitHub Repository:
https://github.com/thurban/plugin_weathermap
I've rewritten the 0.98a version of Weathermap to run on a Cacti 1.x ( tested on 1.2.8, Linux and Windows versions ) system. There have been no new features and it may not be compatible with all themes but it should be working just fine.
Please have a go at this version and post back any issues you find within this thread.
Update: Contains the URL fix reported
https://www.urban-software.com/wp-conte ... pdated.zip
GitHub Repository:
https://github.com/thurban/plugin_weathermap
Last edited by phalek on Thu Dec 12, 2019 1:49 am, edited 2 times in total.
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Weathermap - Cacti 1.x compatible release available for testing
Are you doing this in a git repo?
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!)
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!)
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: Weathermap - Cacti 1.x compatible release available for testing
Nope. But that file is currently the latest Version.
I can create a github repo though if you like ?
I can create a github repo though if you like ?
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Weathermap - Cacti 1.x compatible release available for testing
Nope, no need - I'll diff to see if it could be used with the current version (quite a big difference)
Great that this exists though!
Great that this exists though!
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!)
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!)
-
- Cacti User
- Posts: 250
- Joined: Wed Mar 13, 2019 3:37 pm
- Location: toronto
- Contact:
Re: Weathermap - Cacti 1.x compatible release available for testing
This is great !
Telecom Lifer, Monitoring and performance enthusiast, Father, Husband
Cacti Bug Hunter and Member
www.seanmancini.com
sean(at)seanmancini.com
github.com/bmfmancini
My Cacti scripts and templates ( Non official)
Cacti install wizard https://github.com/bmfmancini/cacti-install-wizard
Cacti templates https://github.com/bmfmancini/Cacti-templates
Always willing to help!
Cacti Bug Hunter and Member
www.seanmancini.com
sean(at)seanmancini.com
github.com/bmfmancini
My Cacti scripts and templates ( Non official)
Cacti install wizard https://github.com/bmfmancini/cacti-install-wizard
Cacti templates https://github.com/bmfmancini/Cacti-templates
Always willing to help!
-
- Cacti User
- Posts: 250
- Joined: Wed Mar 13, 2019 3:37 pm
- Location: toronto
- Contact:
Re: Weathermap - Cacti 1.x compatible release available for testing
found a small bug so far
when you click on manage network weather maps there is a " at the end of the url
/cacti/plugins/weathermap/weathermap-cacti-plugin-mgmt.php"
should be
/cacti/plugins/weathermap/weathermap-cacti-plugin-mgmt.php
when you click on manage network weather maps there is a " at the end of the url
/cacti/plugins/weathermap/weathermap-cacti-plugin-mgmt.php"
should be
/cacti/plugins/weathermap/weathermap-cacti-plugin-mgmt.php
Telecom Lifer, Monitoring and performance enthusiast, Father, Husband
Cacti Bug Hunter and Member
www.seanmancini.com
sean(at)seanmancini.com
github.com/bmfmancini
My Cacti scripts and templates ( Non official)
Cacti install wizard https://github.com/bmfmancini/cacti-install-wizard
Cacti templates https://github.com/bmfmancini/Cacti-templates
Always willing to help!
Cacti Bug Hunter and Member
www.seanmancini.com
sean(at)seanmancini.com
github.com/bmfmancini
My Cacti scripts and templates ( Non official)
Cacti install wizard https://github.com/bmfmancini/cacti-install-wizard
Cacti templates https://github.com/bmfmancini/Cacti-templates
Always willing to help!
-
- Cacti User
- Posts: 250
- Joined: Wed Mar 13, 2019 3:37 pm
- Location: toronto
- Contact:
Re: Weathermap - Cacti 1.x compatible release available for testing
modify this line to correct it
print '<p>To add a map to the schedule, go to the <a href=' . $config[ 'url_path' ] . 'plugins/weathermap/weathermap-cacti-plugin-mgmt.php">Manage...Weathermaps page</a> and add one.</p>';
TO
print '<p>To add a map to the schedule, go to the <a href=' . $config[ 'url_path' ] . 'plugins/weathermap/weathermap-cacti-plugin-mgmt.php>Manage...Weathermaps page</a> and add one.</p>';
All fixed
print '<p>To add a map to the schedule, go to the <a href=' . $config[ 'url_path' ] . 'plugins/weathermap/weathermap-cacti-plugin-mgmt.php">Manage...Weathermaps page</a> and add one.</p>';
TO
print '<p>To add a map to the schedule, go to the <a href=' . $config[ 'url_path' ] . 'plugins/weathermap/weathermap-cacti-plugin-mgmt.php>Manage...Weathermaps page</a> and add one.</p>';
All fixed
Telecom Lifer, Monitoring and performance enthusiast, Father, Husband
Cacti Bug Hunter and Member
www.seanmancini.com
sean(at)seanmancini.com
github.com/bmfmancini
My Cacti scripts and templates ( Non official)
Cacti install wizard https://github.com/bmfmancini/cacti-install-wizard
Cacti templates https://github.com/bmfmancini/Cacti-templates
Always willing to help!
Cacti Bug Hunter and Member
www.seanmancini.com
sean(at)seanmancini.com
github.com/bmfmancini
My Cacti scripts and templates ( Non official)
Cacti install wizard https://github.com/bmfmancini/cacti-install-wizard
Cacti templates https://github.com/bmfmancini/Cacti-templates
Always willing to help!
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: Weathermap - Cacti 1.x compatible release available for testing
Updated the code and uploaded it. Initial post has been updated with the new url.
I fixed that live on my customers system but forgot to add it to the code on my own PC Probably need to upload it to github anyway ...
I fixed that live on my customers system but forgot to add it to the code on my own PC Probably need to upload it to github anyway ...
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
-
- Cacti User
- Posts: 250
- Joined: Wed Mar 13, 2019 3:37 pm
- Location: toronto
- Contact:
Re: Weathermap - Cacti 1.x compatible release available for testing
Yes ! please upload to github would be nice to work toegther on this as its a real gap in cacti right now
Telecom Lifer, Monitoring and performance enthusiast, Father, Husband
Cacti Bug Hunter and Member
www.seanmancini.com
sean(at)seanmancini.com
github.com/bmfmancini
My Cacti scripts and templates ( Non official)
Cacti install wizard https://github.com/bmfmancini/cacti-install-wizard
Cacti templates https://github.com/bmfmancini/Cacti-templates
Always willing to help!
Cacti Bug Hunter and Member
www.seanmancini.com
sean(at)seanmancini.com
github.com/bmfmancini
My Cacti scripts and templates ( Non official)
Cacti install wizard https://github.com/bmfmancini/cacti-install-wizard
Cacti templates https://github.com/bmfmancini/Cacti-templates
Always willing to help!
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: Weathermap - Cacti 1.x compatible release available for testing
Here you go: https://github.com/thurban/plugin_weathermap
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Re: Weathermap - Cacti 1.x compatible release available for testing
thank you everyone for the effort. I have tested on Cacti 1.1.38, Ubuntu 18.04.3 LTS and so far it is working as expected. No bug found yet.
-
- Posts: 3
- Joined: Sun Jan 19, 2020 12:21 pm
- Location: Bavaria, Germany
Re: Weathermap - Cacti 1.x compatible release available for testing
Hello
Thanks for porting. I tested it with my installation and found the following.
MfG
Leo
Thanks for porting. I tested it with my installation and found the following.
- The image for "button_go.gif" in the File /weathermap-cacti-plugin.php (LIne 802) is no longer available in Cacti version 1.2.8.
=> You can use "enable_icon.png" for that.
- With version 7 of PHP there is another error message that does not apply in the logbook.
My memory_limit in the php.ini is 800M. So much should be enough for a small map?"WEATHERMAP [Map 1] sample.conf: About to write image file. If this is the last message in your log, increase memory_limit in php.ini [WMPOLL01]".
MfG
Leo
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Weathermap - Cacti 1.x compatible release available for testing
This message has been there for years... the key part is If this is the last message
Basically, when PHP hits its memory_limit, it just dies, so this is just before the point where weathermap will use a bunch of memory. If it isn't the last message for that particular run, you are all good. This was mainly an issue with older PHP versions where the default memory_limit was 16M. 128M is usually plenty.
Basically, when PHP hits its memory_limit, it just dies, so this is just before the point where weathermap will use a bunch of memory. If it isn't the last message for that particular run, you are all good. This was mainly an issue with older PHP versions where the default memory_limit was 16M. 128M is usually plenty.
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!)
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!)
-
- Posts: 3
- Joined: Sun Jan 19, 2020 12:21 pm
- Location: Bavaria, Germany
Re: Weathermap - Cacti 1.x compatible release available for testing
How can I debug it if it is the last message?Howie wrote: ↑Mon Jan 20, 2020 4:09 am This message has been there for years... the key part is If this is the last message
Basically, when PHP hits its memory_limit, it just dies, so this is just before the point where weathermap will use a bunch of memory. If it isn't the last message for that particular run, you are all good. This was mainly an issue with older PHP versions where the default memory_limit was 16M. 128M is usually plenty.
For me, the message always comes last, right after the MAP message.
I didn't find anything in the instructions/FAQ.
Here the Log:
Code: Select all
2020/01/16 12:40:06 - WEATHERMAP STATS: Weathermap 0.98a run complete - Thu, 16 Jan 20 12:40:06 +0000: 1 maps were run in 1 seconds with 0 warnings.
2020/01/16 12:40:05 - WEATHERMAP [Map 1] sample.conf: Wrote map to /usr/share/cacti/site/plugins/weathermap/output/176b055ac210a17a2c70.png and /usr/share/cacti/site/plugins/weathermap/output/176b055ac210a17a2c70.thumb.png
2020/01/16 12:40:05 - WEATHERMAP [Map 1] sample.conf: About to write image file. If this is the last message in your log, increase memory_limit in php.ini [WMPOLL01]
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Weathermap - Cacti 1.x compatible release available for testing
Cacti helpfully shows messages in reverse order. The two above it in your screenshot are after it, if you look at the times. i.e. the map was actually written. You can confirm by looking at the file dates in the output/ folder.
What issue are you actually seeing?
What issue are you actually seeing?
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!)
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!)
Who is online
Users browsing this forum: No registered users and 1 guest