View Issue Details

IDProjectCategoryView StatusLast Update
0000207My infrastructureGeneralpublic2023-12-30 13:09
Reporterdvl Assigned Todvl  
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
Summary0000207: LibreNMS graphs not plotting
DescriptionWaiting:

* 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
TagsNo tags attached.

Activities

dvl

2023-12-29 22:33

manager   ~0000225

fixed: zuul-pg02.vpn.unixathome.org postgres - https://besser.int.unixathome.org/device/75/apps/app=postgres

dvl

2023-12-29 22:39

manager   ~0000226

Last edited: 2023-12-29 22:44

* 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.

dvl

2023-12-30 13:02

manager   ~0000227

Last edited: 2023-12-30 13:06

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

dvl

2023-12-30 13:04

manager   ~0000228

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

dvl

2023-12-30 13:09

manager   ~0000229

Same issue with * bsdcan.vpn.unixathome.org php-fpm https://besser.int.unixathome.org/device/83/apps/app=php-fpm

Issue History

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