[OK] Composer Version: 2.4.2
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK]
[OK] Database schema correct
[OK] MySQl and PHP time match
[OK] Active pollers found
[OK] Dispatcher Service not detected
[OK] Locks are functional
[OK] Python poller wrapper is polling
[OK] Redis is unavailable
[OK] rrdtool version ok
[OK] Connected to rrdcached
bash-4.2$
could it be a permission problem? i tried all the known methods here
im running centos7
I’m in the same position as axsis_leet but on php8.1 - basically I can open the editor but nothing happens when click the buttons, also the maps don’t update
[OK] Composer Version: 2.4.2
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK]
[OK] Database schema correct
[OK] MySQl and PHP time match
[OK] Active pollers found
[OK] Dispatcher Service is enabled
[OK] Locks are functional
[OK] Python wrapper cron entry is not present
[OK] Redis is unavailable
[OK] rrd_dir is writable
[OK] rrdtool version ok
There’s my validate.php. Am running Ubuntu 20.04 LTS all was fine up until the upgrade to php8.1. Any help on this would be greatly appreciated. Also first time poster so apologies if formatting is incorrect etc. and let me know if you need more information.
I had the same problem and then I discovered that the error is associated with the type of data (BWLABEL ) presented in the links, if you selected BWLABEL bits; it does not present the editor, but if you go to the code and comment or remove it change the default (percentage) you will already have the editor back, after editing back to bit, I’ve been doing this since updating php.
Hate to admit this but it turns out my initial issue where none of the button working in the editor is a browser issue - it doesn’t work in Microsoft Edge (surprise surprise!)
I then had another issue where it wasn’t updating I had to modify the cron job for the map-poller.php execution to the following:
Yeah all my maps are showing utilization fine I just had the issue with them not uodating also I dont get that error when I run the map-poller.php manually.
So I was poking around some more this morning in relation to the maps not showing any link data. If I comment out the $rrdcached in the /opt/librenms/config.php after about 15 minutes my map will return to normal.
I suspect there is a path issue between the $rrdcached or possibly a permissions issue? but there is nothing related in the installation/configuration notes for Weathermap that pertains to rrdcached.
I have the same issue with the path not working, the relative path ./devicename/port.rrd gives a not found error. I have not tried commenting out the $config[‘rrdcached’] but i am running in a distributed rrd cache so i wouldnt want to comment that out unless this was no longer controlled by the config file.
This (git pull in the Weathermap directory) did it for me; had to su to the librenms account first but then that fixed the error from the editor… but now my graphs are spitting out 0s.
I’m getting a bunch of errors from the map-poller.php like:
ERROR: realpath(foo-rtr01.mgmt.example.net/port-id107.rrd): No such file or directory
WARNING: configs//default.conf: RRD ReadData: At least one of your DS names (INOCTETS and OUTOCTETS) were not found, even though there was a valid data line. Maybe they ar
e wrong? Valid DS names in this file are: [WMRRD06]
WARNING: configs//default.conf: ReadData: LINK foo-rtr01_to_dc01-core01, target: ./foo-rtr01.mgmt.example.net/port-id107.rrd:INOCTETS:OUTOCTETS on config line 176 of co
nfigs//default.conf had no valid data, according to WeatherMapDataSource_rrd
ERROR: realpath(quux-rtr01.mgmt.example.net/port-id121.rrd): No such file or directory
WARNING: configs//default.conf: RRD ReadData: At least one of your DS names (INOCTETS and OUTOCTETS) were not found, even though there was a valid data line. Maybe they ar
e wrong? Valid DS names in this file are: [WMRRD06]
WARNING: configs//default.conf: ReadData: LINK quux-rtr01_to_dc01-core01, target: ./quux-rtr01.mgmt.example.net/port-id121.rrd:INOCTETS:OUTOCTETS on config line 1
84 of configs//default.conf had no valid data, according to WeatherMapDataSource_rrd
ERROR: realpath(baz-rtr01.mgmt.example.net/port-id207.rrd): No such file or directory
WARNING: configs//default.conf: RRD ReadData: At least one of your DS names (INOCTETS and OUTOCTETS) were not found, even though there was a valid data line. Maybe they ar
e wrong? Valid DS names in this file are: [WMRRD06]
WARNING: configs//default.conf: ReadData: LINK baz-rtr01_to_dc01-core01, target: ./baz-rtr01.mgmt.example.net/port-id207.rrd:INOCTETS:OUTOCTETS on confi
g line 192 of configs//default.conf had no valid data, according to WeatherMapDataSource_rrd
ERROR: realpath(rivendell-rtr01.mgmt.example.net/port-id238.rrd): No such file or directory
WARNING: configs//default.conf: RRD ReadData: At least one of your DS names (INOCTETS and OUTOCTETS) were not found, even though there was a valid data line. Maybe they ar
e wrong? Valid DS names in this file are: [WMRRD06]
WARNING: configs//default.conf: ReadData: LINK rivendell-rtr01_to_dc01-core01, target: ./rivendell-rtr01.mgmt.example.net/port-id238.rrd:INOCTETS:OUTOCTETS on config li
ne 200 of configs//default.conf had no valid data, according to WeatherMapDataSource_rrd
ERROR: realpath(quark-twr-rtr01.mgmt.example.net/port-id167.rrd): No such file or directory
WARNING: configs//default.conf: RRD ReadData: At least one of your DS names (INOCTETS and OUTOCTETS) were not found, even though there was a valid data line. Maybe they ar
e wrong? Valid DS names in this file are: [WMRRD06]
WARNING: configs//default.conf: ReadData: LINK quark-twr-rtr01_to_dc01-core01, target: ./quark-twr-rtr01.mgmt.example.net/port-id167.rrd:INOCTETS:OUTOCTETS on config
line 208 of configs//default.conf had no valid data, according to WeatherMapDataSource_rrd
ERROR: realpath(ward-twr-rtr01.mgmt.example.net/port-id285.rrd): No such file or directory
WARNING: configs//default.conf: RRD ReadData: At least one of your DS names (INOCTETS and OUTOCTETS) were not found, even though there was a valid data line. Maybe they ar
e wrong? Valid DS names in this file are: [WMRRD06]
WARNING: configs//default.conf: ReadData: LINK ward-twr-rtr01_to_dc01-core01, target: ./ward-twr-rtr01.mgmt.example.net/port-id285.rrd:INOCTETS:OUTOCTETS on config line
216 of configs//default.conf had no valid data, according to WeatherMapDataSource_rrd
ERROR: realpath(pine-rtr01.mgmt.example.net/port-id2305.rrd): No such file or directory
WARNING: configs//default.conf: RRD ReadData: At least one of your DS names (INOCTETS and OUTOCTETS) were not found, even though there was a valid data line. Maybe they ar
e wrong? Valid DS names in this file are: [WMRRD06]
WARNING: configs//default.conf: ReadData: LINK pine-rtr01_to_rivendell-rtr01, target: ./pine-rtr01.mgmt.example.net/port-id2305.rrd:INOCTETS:OUTOCTETS on config line
225 of configs//default.conf had no valid data, according to WeatherMapDataSource_rrd
ERROR: realpath(pine-rtr01.mgmt.example.net/port-id2393.rrd): No such file or directory
All of the RRD files are untouched from where they were before though… I was on Ubuntu 20.04 LTS and upgraded to 22.04 LTS and that’s what started the problems here (so mainly, the PHP version change).
This little hack (editing the individual weathermap’s .conf file to set rrd_default_path) also worked to get my (single file) working again. For those concerned, it seems like you can still used the PHP/web-based editor on the file afterwards and it does not clobber that stanza.
But I’d like to figure out how to fix it elsewhere instead of requiring that line to be manually added to the file…?
This PR does seem to take care of everything as best I can tell (using a local / unix socket rrdcached and a single poller, so the RRD files are all local too).
I honestly don’t know what (if anything) rrdcached is doing here or if weathermap.php is actually talking to it in any meaningful way, though…
I’ve gotten to the point where I can open the editor now. I can make changes but they never actually save. I also can’t create new config files. Seems like a permissions issue, but validate.php checks out so I’m not sure what the problem is.