Issue with RRD file

Hello,

I have a problem with rrd file
My librenms dont’t graph.
I seem my librenms don’t update my rrd file.

Hello aauvinet,

Please Run ./validate.php from cli and fix any errors you receive.

Hi,
I do.
It’s Ok
But, when a use poller.php, it’s ok…not poller-wrapper.py

we need more info … can you post some screenshots or more info what exactly you are having an issue with.

thank you -

Hello,

It’s very strange.
poller-wrapper.py is not work when use cron!!!
For example, when I start manualy for polling all switch with the name starting loop0-pn :

/poller.php -h loop0-pn* ---->>> It's ok , RRD Ok
When I configure Cron for this , it’s Ok

When use /poller-wrapper.py manualy it’s Ok
RRD file is updated.

But when I use poller-wrapper.py in cron, it’s not ok

For exemple, i configure cron for polling my device with poller-wrapper.py (all 15mn)

I can see, via rrdtool dump rrd/sw-23-strasbourg-1.reseau.nantes.net/ping-perf.rrd
The rrd file isn’t not updated.


                    <!-- 2017-07-04 08:35:00 CEST / 1499150100 --> <row><v>NaN</v></row>
                    <!-- 2017-07-04 08:40:00 CEST / 1499150400 --> <row><v>NaN</v></row>
                    <!-- 2017-07-04 08:45:00 CEST / 1499150700 --> <row><v>NaN</v></row>
                    <!-- 2017-07-04 08:50:00 CEST / 1499151000 --> <row><v>NaN</v></row>
                    <!-- 2017-07-04 08:55:00 CEST / 1499151300 --> <row><v>NaN</v></row>
                    <!-- 2017-07-04 09:00:00 CEST / 1499151600 --> <row><v>NaN</v></row>

just after 09:05 , i start manualy

root@test-librenms:/opt/librenms# ./poller-wrapper.py
INFO: starting the poller at 2017-07-04 09:07:53 with 16 threads, slowest devices first
INFO: 271 >> Thread-1   finished device 107 in 3 seconds
INFO: poller-wrapper polled 1 devices in 3 seconds with 16 workers
root@test-librenms:/opt/librenms# rrdtool dump  rrd/sw-23-strasbourg-1.reseau.nantes.net/ping-perf.rrd
                        ....
						<!-- 2017-07-04 08:55:00 CEST / 1499151300 --> <row><v>NaN</v></row>
                        <!-- 2017-07-04 09:00:00 CEST / 1499151600 --> <row><v>NaN</v></row>
                        <!-- 2017-07-04 09:05:00 CEST / 1499151900 --> <row><v>9.7526373867e-01</v></row>
                </database>
        </rra>

I can see rrd file updated

Hi,

I think to have undertand,
It’s complicated to me to explained to you…

In my cron, i launch poller-wrapper.py all 15mn, it’s not ok
If I launch all 5mn, it’s ok.

Cdlt,

We use 5 minute polling, if you want to change to 15 minutes then follow http://docs.librenms.org/Support/1-Minute-Polling/