Hi, I have a poller issue, I;m polling the same set of devices with a VM on x86 no issues
poller is completing in 6 seconds, (I’ve reduced interfaces and services to minimum)
as you can see I get huge gaps…
can anyone suggest what might be stopping the poller either running ? or possibly writing to the dB ?
./validate.php
Component |
Version |
LibreNMS |
1.66-7-gab6fa22c4 |
DB Schema |
2020_07_29_143221_add_device_perf_index (172) |
PHP |
7.3.19-1~deb10u1 |
Python |
3.7.3 |
MySQL |
10.3.22-MariaDB-0+deb10u1 |
RRDTool |
1.7.1 |
SNMP |
NET-SNMP 5.7.3 |
==================================== |
|
[OK] Composer Version: 1.10.9
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
You can manually run ./poller.php -d -h device_id|all
then check what is causing the gaps as in the output will be printed stats about snmp, rrd and mysql.
Alternatively you can check what proc is taking your full cpu/disk IO.
ok - nothing there that worries me… everything completes ok… as per the graph above… any suggestions on how to spot why it’s perhaps not polling at all ?
I’ve run it 10 times and get same results.
./poller.php all 2020-08-02 07:37:44 - 9 devices polled in 13.64 secs
SNMP [64/2.65s]: Get[30/1.11s] Getnext[4/0.11s] Walk[30/1.44s]
MySQL [62/0.37s]: Cell[2/0.00s] Row[-2/-0.00s] Rows[15/0.05s] Column[1/0.00s] Update[36/0.23s] Insert[10/0.08s] Delete[0/0.00s]
seems if I manually run it I don’t get any gaps?
I think I’ve found a solution… added a new cron job and it’s running properly???
that doesnt make sense unless the number of threads.
Paste your old and new crons