New Device / Error Drawing Graph

Hello,

ive got an new Centos8 Librenms running and everything worked fine but:

2 of 40 Hosts shows “Error Drawing Graph” für Traffic. CPU, Memory and others are there.
Ive deleted the hosts, done an rediscover device but noting changed.
An manuel snmpwalk looks similar then the others that works.

All Devices are Cisco Nexus with the same NXOS.

Thanks!

please run ./validate

  1. ./validate.php runs >2-3 Min:

====================================

Component Version
LibreNMS 1.70.1-26-g53bc78c9d
DB Schema 2020_11_02_164331_add_powerstate_enum_to_vminfo (191)
PHP 7.3.20
Python 3.6.8
MySQL 10.3.17-MariaDB
RRDTool 1.7.0
SNMP NET-SNMP 5.8

====================================

[OK] Composer Version: 2.0.8
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct

  1. Somtimes ive got 3 php processes running on 100% CPU Usage without any visible reason until i kill them.

You probably need to optimize your install or see what device is taking too long to pull.

check out.https://docs.librenms.org/Support/Performance/

Ive tried to figure out which process / cronjob starts the php process that never ends.
Ive started the discovery Wrapper manually and it doesnt end.
./opt/librenms/cronic /opt/librenms/discovery-wrapper.py

[librenms@~]$ strace -p 3347148
strace: Process 3347148 attached
strace: [ Process PID=3347148 runs in x32 mode. ]
“NO MORE OUTPUT”

PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND

3347148 librenms 20 0 260320 49596 18528 R 99.7 1.3 19:25.20 php

cat /etc/cron.d/librenms
33 */6 * * * librenms /opt/librenms/cronic /opt/librenms/discovery-wrapper.py 1
*/5 * * * * librenms /opt/librenms/discovery.php -h new >> /dev/null 2>&1
*/5 * * * * librenms /opt/librenms/cronic /opt/librenms/poller-wrapper.py 16

          • librenms /opt/librenms/alerts.php >> /dev/null 2>&1
            */5 * * * * librenms /opt/librenms/poll-billing.php >> /dev/null 2>&1
            01 * * * * librenms /opt/librenms/billing-calculate.php >> /dev/null 2>&1
            */5 * * * * librenms /opt/librenms/check-services.php >> /dev/null 2>&1

15 0 * * * librenms /opt/librenms/daily.sh >> /dev/null 2>&1

Does ist makes sence ?

Ive Found out that the discovery-wrapper stuck on device 8 which is an Cisco ACI Controller.
4 Controllers and one failed.

Any Idea why:

  1. One of four APIC caused an stuck? (Ive deleted this Device now)
  2. Two of the Switches are not drawing traffic graphs?

Thanks!

1 Like

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