So, I am tired getting fake alerts. LibreNMS says me “Host is down”, but it’s not true. Or Service is down…
I turned off check ICMP globaly. How can I increase polling and discovering time? Do you have any idea?
I read that
But I always get message: “Device is not polled”. Usually I have 5 devices which are not polled
How to increase polling time? What is default? 5 minutes?
root@monitor:/opt/librenms# ./validate.php
ldap_url_parse_ext(ldap://localhost/)
ldap_init: trying /etc/ldap/ldap.conf
ldap_init: using /etc/ldap/ldap.conf
ldap_init: HOME env is /root
ldap_init: trying /root/ldaprc
ldap_init: trying /root/.ldaprc
ldap_init: trying ldaprc
ldap_init: LDAPCONF env is NULL
ldap_init: LDAPRC env is NULL
ldap_create
ldap_url_parse_ext(ldaps://.**.org)
Component
Version
LibreNMS
1.31.03-43-gf158a56
DB Schema
206
PHP
7.0.22-0ubuntu0.16.04.1
MySQL
10.0.31-MariaDB-0ubuntu0.16.04.2
RRDTool
1.5.5
SNMP
NET-SNMP 5.7.3
====================================
[OK] Database connection successful
[OK] Database schema correct
[WARN] Your install is over 24 hours out of date, last update: Thu, 14 Sep 2017 05:43:14 +0000
[FAIL] You have no timezone set for php. [FIX] http://php.net/manual/en/datetime.configuration.php#ini.date.timezone
[FAIL] Some devices have not completed their polling run in 5 minutes, this will create gaps in data.
Check your poll log and refer to http://docs.librenms.org/Support/Performance/
****.name.net
178.**9..
178.**9..
10.**0..
I changed ICMP check to TRUE
I added this to MySQL config
innodb_flush_log_at_trx_commit = 0
and I played with /etc/cron.d/librenms - "poller-wrapper.py"
in default it was:
/5 * * * librenms /opt/librenms/cronic /opt/librenms/poller-wrapper.py 16
If I setup:
/5 * * * librenms /opt/librenms/cronic /opt/librenms/poller-wrapper.py 8
it makes the system worse
Now I’ve changed it to:
/5 * * * librenms /opt/librenms/cronic /opt/librenms/poller-wrapper.py 128
It became little bit better (I don’t know is it normal or not)
So we have many remote hosts with not stable connections, we are getting alerts, but I do not understand, why poller cannot recognize our local hosts? Right now I disabled remote hosts, and poller has been identified local hosts. What is wrong?
After all these actions and updating system the widget “Alerts” in dashboard does not update window (only widget). I need every time update tab in browser. What is it.
Also, 128 threads for poller-wrapper.py is way too much in my opinion, unless you have the hardware to handle that. If you don’t you are just going to overload the servers CPU’s every poll.
try a more modest number.
ok! I installed RRDCached and changed theads to 64. I do not see any overloading CPU…
Right now it is better, but any way sometimes I have unpolled devices (1 or 2), and they are local. If I disable remote hosts (they are in different continents), it works fine.
One more problem: I have same troubles with services. openmanage.pl 14m 57s openmanage SNMP UNKNOWN: No response from remote host "172.X.X.X"
ping 49 days, 15h 11m 50s check_ping 172.X.X.X is alive
Or I have message timeout-ping
But this host is local, it is in our server room…
And I am sure, connection is fine. And usually I do not see any alerts from this host
So. Thank you for your help!
I turned off almost all poller and discovery modules. After that I turned on only modules which we need on every host.
And We have excellent result!