Hi all, I just downloaded and try to installed weathermapV1.0. But when i try to installed the plugins weathermap with my cacti, i have this error php:
Validation error for variable id with a value of network-weathermap. See backtrace below for more details.
(/plugins.php: 51 get_filter_request_var)(/lib/html_utility.php: 439 die_html_input_error)(/lib/html_validate.php: 60 cacti_debug_backtrace)
I verify and i have well the directory plugins/network-weathermap.
Any help would be appreciated.
Thanks
Red Hat Enterprise Linux Server release 6.4
Cacti V1.1.33
Did you follow the README about bower and composer? This is required if you want to test the development version (it’s not ready for normal use yet). I think probably the vendor/autoload.php file is missing, which is created by composer.
The final release will include the relevant packages without extra steps needed.
You should be able to git checkout into cacti/plugins/weathermap, then go into that directory and composer update ---no-dev followed by bower install
The make release is for making a zip for distribution, and hasn’t been tested since the last release. The packing.list is almost certainly incomplete, as lots of things have moved or been added. There will now be additional build steps (not yet added to the Makefile) to build the two React applications (cacti-user and cacti-mgmt). The current compiled versions of those are already in cacti-resources/ though, even in the git version.
So does ‘/usr/local/share/cacti/plugins/weathermap/setup.php exist? It should do, if you unpacked weathermap in the right place… it needs to be plugins/weathermap and not plugins/network-weathermap