I’m running LibreNMS in AWS to monitor about 250 sites nation wide. In each site I have about 5 switches. I keep getting this message most of the time:
Polling took longer than 5 minutes! This will cause gaps in graphs.
I have performed all the optimization for performance steps mentioned in LibreNMS site. Can someone give me more information on how to optimize my instance for better outcome? can I schedule the polling or something since I have around 900 devices on my network?
I have also change those file permission always, and they come back again asking me to change ownership every few days.
-
Steps to reproduce an issue.
It happens from time to time, no specifics and not able to repeat it manually. -
The output of
./validate.php
[root@nms ec2-user]# /opt/librenms/validate.php
====================================
Component | Version
--------- | -------
LibreNMS | 1.48.1-59-g4504b20
DB Schema | 2019_01_16_195644_add_vrf_id_and_bgpLocalAs (131)
PHP | 7.2.14
MySQL | 5.5.60-MariaDB
RRDTool | 1.4.8
SNMP | NET-SNMP 5.7.2
====================================
[OK] Composer Version: 1.8.4
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[WARN] Some devices have not been polled in the last 5 minutes. You may have performance issues.
[FIX]:
Check your poll log and see: http://docs.librenms.org/Support/Performance/
Devices:
90100swtennis1.compux.com
92662sw5.compux.com
92175sw4.compux.com
90192sw4.compux.com
91054sw8.compux.com
91099rtr1.compux.com
93083sw2.compux.com
90522sw3.compux.com
10.127.4.12
90632sw2.compux.com
91556swgolfshop.compux.com
90100rtr1.compux.com
and 37 more…
[FAIL] Some folders have incorrect file permissions, this may cause issues.
[FIX]:
sudo chown -R librenms:librenms /opt/librenms
sudo setfacl -d -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
sudo chmod -R ug=rwX /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
Files:
/opt/librenms/storage/framework/views/cbecc806413997036d8bb74bf909c50d
Thank you,
Hosam