Poller.php ERROR opening / update new files and no RRD graph on AP WLC 5520

Hello community,
I don’t get any graphs on my APs that are on a WLC like on the screenshot.
The poller command displays an error and there is no rrd file with this name in the directory
./poller.php -d -v -h wlc.xxx.fr -m os

Can someone help me? Why the file does not exist? Thanks

array (
  'device_id' => 423,
  'name' => 'APV-B-301',
  'radio_number' => 1,
  'type' => 'dot11a',
  'mac_addr' => 'a0:23:9f:f7:3c:80',
  'channel' => '60',
  'txpow' => '1',
  'radioutil' => '5',
  'numasoclients' => '2',
  'nummonclients' => 0,
  'nummonbssid' => 0,
  'interference' => 0,
)  
RRD[update /opt/librenms/rrd/wlc.xxx.fr/arubaap-APV-B-3011.rrd N:60:1:5:0:0:2:0]  
RRDtool Output: ERROR: opening '/opt/librenms/rrd/wlc.xxx.fr/arubaap-APV-B-3010.rrd': Aucun fichier ou dossier de ce type
SQL[update `access_points` set `radioutil` = ? where `accesspoint_id` = ? ["5",718] 0.81ms] 

Does the file exist?
What are the permissions on the file?
What are the permissions on the parent folder?
Did you run ./validate.php?

Hello,

  • The files do not exist for the APs but the files for the wlc like wireless-sensor-clients-ciscowlc-0.rrd exist and are updated.
-rw-rw-r-- 1 librenms librenms 171272 oct. 24 09:35 wireless-sensor-clients-ciscowlc-0.rrd
drwxrwxr-x+ 2 librenms librenms 4096 Oct. 21 16:25 wlc.xxx.fr
  • I ran a ./validate.php and a ./daily.php with a server reboot :
Component | Version
--------- | -------
LibreNMS | 22.10.0-22-g707f2cd29 (2022-10-23T20:00:29+02:00)
DB Schema | 2022_09_03_091314_update_ports_adsl_table_with_defaults (246)
PHP | 8.1.11
Python | 3.8.10
Database | MariaDB 10.3.34-MariaDB-0ubuntu0.20.04.1
RRDTool | 1.7.2
SNMP | 5.8
===========================================

[OK] Composer Version: 2.4.3
[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] rrd_dir is writable
[OK] rrdtool version ok

Is it possible to create the graph manually with the data from the database to test ?

rrdtool create /opt/librenms/rrd/wlc.xxx.fr/arubaap-APS-B-0070.rrd ...

Thank you for your help :slight_smile:

To move forward because I am lost and the problem continues:

When I look at the logs (verbose+debug) of a poller -d -v -h wlc.xxx.fr -m os.

The sequence starts like this, you will notice the absence of a SQL log. And right after that, a shift, the Array Y followed by an RRDtool update Y then an RRDtool Error X and a SQL update Y. What does the RRDtool Error X do at this point? An shift?

RRD [update ciscowlc.rrd…] → the file is updated
RRDtool Output OK
SQL[ select access_points where access_points.devic_id…]

array (APV-L-001, radio_number 0, radioutil 25 )
RRD [update arubaap-APV-L-0010.rrd N:6:1:25… ] → the file is not created
RRDtool Output OK → but no file
SQL[update access_point se radioutil where accesspoint = 25,1]

array (APV-L-001, radio_number 1, radioutil 1)
RRD[update arubaap-APV-L0011 N:44:2:1…] → the file is not created
RRDtool Outpout ERROR arubaap-APV-L-00100.rrd no file
??? No SQL [update…??]

array (APV-L-122, radio_number 0, radioutil 25)
RRD[update arubaap-APV-L-1220 N:6:1:25] → file is not created
RRDtool Output ERROR arubaap-APV-L-0011.rrd no file
SQL[update access_points set radioutil where accesspoint = 25,3]

array ( APV-L-122, radio_number 1, radioutil 5)
RRD[update arubaap-APV-L-1221.rrd] → file is not created
RRDtool Output ERROR arubaap-APV-L-1220.rrd no file
SQL [update access_point set radioutil where accesspoint 5,4]

I am looking in the file /opt/librenms/LibreNMS/Data/Store/Rrd.php for an error in the code … Do you have an idea ?

Thanks

Did you confirmed that rrdcached service is running? If it is try to restart rrdcached.service

Thanks :slight_smile: unfortunately I don’t use rrdcached. I also tested installing rrdcache but it doesn’t work better, so I uninstalled it.

Is it possible to add to the debug mode of the command


./poller.php -dd -v -h wlc.xxx.fr -m os

The display of the command that is executed behind the error RRDtool output:
RRDtool Output: ERROR: opening ‘/opt/librenms/rrd/wlc.xxx.fr/arubaap-APV-B-3120.rrd’: No file or folder of this type
?
Thanks
Have a nice weekend

I did the update and its works:

|Version |22.10.0-86-g9cb6e7b66 - Mon Nov 07 2022 00:06:10 GMT+0100|
|Schéma de base de données |2022_08_15_084507_add_rrd_type_to_wireless_sensors_table (248)|
|Serveur Web |nginx/1.22.1|
|PHP |8.1.12|
|Python |3.8.10|
|Database |MariaDB 10.3.34-MariaDB-0ubuntu0.20.04.1|
|Laravel |8.83.23|
|RRDtool |1.7.2|

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.