View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000207 | My infrastructure | General | public | 2023-12-29 17:28 | 2024-09-28 17:21 |
Reporter | dvl | Assigned To | dvl | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Summary | 0000207: LibreNMS graphs not plotting | ||||
Description | Waiting: * zuul-mysql.vpn.unixathome.org MySQL - https://besser.int.unixathome.org/device/76/apps Fixed: * tallboy.unixathome.org SMART - https://besser.int.unixathome.org/device/28/apps/app=smart * zuul-pg02.vpn.unixathome.org postgres - https://besser.int.unixathome.org/device/75/apps/app=postgres * x8dtu-nginx01.vpn.unixathome.org php-fpm - https://besser.int.unixathome.org/device/device=70/tab=apps/app=php-fpm/ * bsdcan.vpn.unixathome.org php-fpm https://besser.int.unixathome.org/device/83/apps/app=php-fpm | ||||
Tags | No tags attached. | ||||
|
fixed: zuul-pg02.vpn.unixathome.org postgres - https://besser.int.unixathome.org/device/75/apps/app=postgres |
|
* tallboy.unixathome.org SMART - https://besser.int.unixathome.org/device/28/apps/app=smart Added drives to /usr/local/etc/snmp/smart.config - now fixed. |
|
x8dtu-nginx01.vpn.unixathome.org php-fpm - https://besser.int.unixathome.org/device/device=70/tab=apps/app=php-fpm/ This was an access problem. The script (/usr/local/etc/snmp/phpfpm-sp) invokes `/usr/local/bin/curl "http://localhost/status?full"`: [12:51 x8dtu-nginx01 root /usr/local/etc/snmp] # /usr/local/bin/curl -Ss "http://localhost/status?full" <html> <head><title>403 Forbidden</title></head> <body> <center><h1>403 Forbidden</h1></center> <hr><center>nginx/1.24.0</center> </body> </html> The jail does not have 127.0.0.1 - it has 127.163.0.80 Fetch works: [12:47 x8dtu-nginx01 root ~/tmp] # fetch http://localhost/status fetch: http://localhost/status: size of remote file is not known status 379 B 5280 kBps 00s [12:47 x8dtu-nginx01 root ~/tmp] # less status pool: www process manager: dynamic start time: 25/Dec/2023:17:39:05 +0000 start since: 414503 accepted conn: 2015 listen queue: 0 max listen queue: 0 listen queue len: 0 idle processes: 19 active processes: 1 total processes: 20 max active processes: 1 max children reached: 0 slow requests: 0 |
|
The solution: modify the script to use an IP address, not localhost. [12:54 x8dtu-nginx01 root /usr/local/etc/nginx] # /usr/local/bin/curl -Ss "http://127.163.0.80/status?full" pool: www process manager: dynamic start time: 25/Dec/2023:17:39:05 +0000 start since: 414923 accepted conn: 2019 listen queue: 0 max listen queue: 0 listen queue len: 0 idle processes: 19 active processes: 1 total processes: 20 max active processes: 1 max children reached: 0 slow requests: 0 ************************ ..... etc |
|
Same issue with * bsdcan.vpn.unixathome.org php-fpm https://besser.int.unixathome.org/device/83/apps/app=php-fpm |
|
all seems good now. |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-12-29 17:28 | dvl | New Issue | |
2023-12-29 17:28 | dvl | Status | new => assigned |
2023-12-29 17:28 | dvl | Assigned To | => dvl |
2023-12-29 22:33 | dvl | Note Added: 0000225 | |
2023-12-29 22:39 | dvl | Note Added: 0000226 | |
2023-12-29 22:44 | dvl | Note Edited: 0000226 | |
2023-12-29 22:45 | dvl | Description Updated | |
2023-12-30 13:02 | dvl | Note Added: 0000227 | |
2023-12-30 13:04 | dvl | Note Added: 0000228 | |
2023-12-30 13:06 | dvl | Note Edited: 0000227 | |
2023-12-30 13:09 | dvl | Note Added: 0000229 | |
2023-12-30 13:09 | dvl | Description Updated | |
2024-09-28 16:27 | dvl | Note Added: 0000319 | |
2024-09-28 17:21 | dvl | Status | assigned => closed |
2024-09-28 17:21 | dvl | Resolution | open => fixed |