Graph not working

hi, having this issue more than a month and try to follow all suggestions but all not working.

https://p.libren.ms/view/a0786e91
https://p.libren.ms/view/63550917

your total poll time exceeds 5 minutes, hence the gaps in the graphs

are you running distributed or a single host? can you give the host more resources?

have you tuned your database, running rrdcached etc?

single host.

[root@librenms ~]# free -m
total used free shared buff/cache available
Mem: 7820 2667 612 31 4540 4822
Swap: 3967 9 3958

[root@librenms ~]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 3.9G 0 3.9G 0% /dev
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 3.9G 33M 3.8G 1% /run
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/mapper/centos-root 265G 94G 172G 36% /
/dev/sda1 1014M 322M 693M 32% /boot
/dev/mapper/centos-home 245G 33M 245G 1% /home
tmpfs 783M 0 783M 0% /run/user/998
tmpfs 783M 0 783M 0% /run/user/0

top - 08:14:43 up 21:26, 1 user, load average: 12.04, 8.93, 7.43
Tasks: 242 total, 1 running, 241 sleeping, 0 stopped, 0 zombie
%Cpu(s): 22.5 us, 8.9 sy, 0.0 ni, 58.3 id, 10.1 wa, 0.0 hi, 0.1 si, 0.0 st
KiB Mem : 8008148 total, 1396136 free, 1956648 used, 4655364 buff/cache
KiB Swap: 4063228 total, 4053492 free, 9736 used. 5712876 avail Mem

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
28281 apache 20 0 505324 42004 5876 S 41.6 0.5 1:27.65 httpd
18719 librenms 20 0 330572 45768 10388 S 22.8 0.6 0:00.69 php
1207 mysql 20 0 4881848 372972 12116 S 22.1 4.7 284:17.87 mariadbd
18698 librenms 20 0 330572 47216 10516 S 11.2 0.6 0:00.82 php
2041 librenms 20 0 2685336 26148 5524 S 5.0 0.3 0:09.84 python3
14689 librenms 20 0 340940 55856 10536 S 4.3 0.7 0:01.22 php
16140 librenms 20 0 334668 50868 10532 S 3.3 0.6 0:01.04 php
8414 librenms 20 0 336716 53016 10532 S 3.0 0.7 0:01.28 php
11064 librenms 20 0 338892 53836 10536 S 3.0 0.7 0:01.56 php
10321 librenms 20 0 336716 52696 10532 S 2.6 0.7 0:01.25 php
12780 librenms 20 0 336716 51540 10532 S 2.6 0.6 0:01.33 php
14015 librenms 20 0 336716 52048 10532 S 2.6 0.6 0:00.97 php
12602 librenms 20 0 334668 51112 10532 S 2.3 0.6 0:01.00 php
13350 librenms 20 0 334668 51032 10532 S 2.3 0.6 0:00.88 php
14950 librenms 20 0 334668 50844 10532 S 2.3 0.6 0:01.06 php
13635 librenms 20 0 334668 51232 10532 S 2.0 0.6 0:01.04 php
14669 librenms 20 0 334668 51004 10532 S 2.0 0.6 0:01.02 php
18758 apache 20 0 44784 3500 2412 S 1.7 0.0 0:00.05 snmpget
1168 root 20 0 3792632 46248 924 S 1.3 0.6 19:43.40 rrdcached
13322 librenms 20 0 334668 50832 10532 S 1.3 0.6 0:00.86 php
18259 root 20 0 162236 2428 1584 R 1.0 0.0 0:00.19 top
9 root 20 0 0 0 0 S 0.7 0.0 7:03.53 rcu_sched
17235 librenms 20 0 332620 49040 10528 S 0.7 0.6 0:00.90 php
18704 librenms 20 0 201048 3452 2508 S 0.7 0.0 0:00.02 rrdtool
18750 librenms 20 0 148476 3536 2472 S 0.7 0.0 0:00.02 snmpbulkwalk

Hi, this could be related to port speed. What is the speed of this port? It also can be the configuration, depending on the device, if you set bandwidth of a value and the port speed is higher than the bandwidth librenms will create this gaps.

I would add more CPU cores and/or more polling threads depending on the load on the existing CPUs

its works after adding more cpu, how to add more polling threads ?

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