Comments (11)
Turns out I did already start this, and it's in the 0.98-php8 branch:
https://github.com/howardjones/network-weathermap/tree/0.98-php8
Still more to go!
from network-weathermap.
from network-weathermap.
0.98a
0.98-php8
PHP Version 8.0.21
CentOS Linux release 7.9.2009
from network-weathermap.
(sorry for replying to issues on my phone - I didn't see that you had already given most of those details)
For the LoadPlugins issue - does the command-line tool still work then? I think it won't. It is expecting your current working directory to be the one containing lib
.
I did have a quick check through for PHP 8 updates, and I think the command-line tool also will have issues with CLI/Getopt. The curly brace error is also a quick fix - they just need to be replaced with [ ]. I'll try to get some time for this in the next week or so.
from network-weathermap.
here is another one:
HTML_ImageMap.class.php lines 112, 149, 230 has a required parameter after an optional parameter which is deprecated
PHP Deprecated: Required parameter $coords follows optional parameter $name in HTML_ImageMap.class.php on line 112
when I run weathermap cli script i am getting relative path issues with icons:
/usr/share/centreon/www/modules/centreon-weathermap/src/weathermap --config /usr/share/centreon/www/modules/centreon-weathermap/src/configs/test.conf --output ../output/test.png --htmloutput /usr/share/centreon/www/modules/centreon-weathermap/src/output/test.html
generates the following warning:
WARNING: /usr/share/centreon/www/modules/centreon-weathermap/src/configs/test.conf: ICON 'images/Cloud-Filled.png' does not exist, or is not readable. Check path and permissions. [WMARN38]
this file exists in /usr/share/centreon/www/modules/centreon-weathermap/src/images/Cloud-Filled.png
I tried to use --image-uri
but I think it does not applies for icons
from network-weathermap.
What is the current working directory?
(you can also use a full pathname for the icon)
from network-weathermap.
/usr/share/centreon/www/modules/centreon-weathermap/src/
I generate my config files using WriteConfig()
function, I don't know how to set full pathname for icons
from network-weathermap.
When you create the WeatherMapNode, just pass the full pathname to for iconfile instead of "images/blah.png"
from network-weathermap.
if I force WeatherMapNode iconfile it messes up the properties list next time I open it
I had to add this to pre_render() because somehow its reference is lib directory
if(!is_readable($this->iconfile)) {
$this->iconfile = __DIR__ . "/../" . $this->iconfile;
}
from network-weathermap.
Well, at least that is consistent with your LoadPlugins issue, too. I think the working directory is not correct.
from network-weathermap.
Hi there,
I came to share my initial release of centreon's module
https://github.com/kozfelipe/centreon-weathermap
from network-weathermap.
Related Issues (20)
- When host is disabled - have error HOT 1
- Anti-aliasing in v0.98 needs explanation HOT 4
- cant install on cacti 1.2.4 HOT 4
- Weathermap CACTI 1.2.7 HOT 5
- Any workaround for changing SNMP Indexes ? HOT 4
- Weathermap cannot run outside dir HOT 5
- Overlib Issue HOT 4
- Unable to view Realtime Graph in Weathermap HOT 10
- Weathermap full size view blank sometime HOT 7
- Incorrect calculation of points in angled "via" option HOT 6
- Editor does not work HOT 5
- Give Cacti User Read-only access of single weather Map HOT 3
- Incorrect calculation of COMMENTPOS
- Create copy - Incorrect permissions HOT 1
- I can't Unzip HOT 1
- Is this project abandoned? HOT 8
- PHP8 Deprecations HOT 2
- Weathermap issue with SQLSTATE[HY000]: General error: 1364 Field 'last_time' doesn't have a default value'
- New weathermap plugin installation error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from network-weathermap.