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
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 ?
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 ?
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