hi all
since some days we have issues with the ping or icmp on our icinga2 server. we change nothing and don’t know why they have troubles right now. This apears from time to time. We also have issues with other plugins, they connect trough http. Any ideas how I can troubleshoot this?
I have try to put some information bellow, hope somebody have any idea. Is running on Ubuntu 18.04.
sudo -u nagios /usr/lib/nagios/plugins/check_icmp -H 217.26.50.243 -t 30
CRITICAL - 217.26.50.243: rta nan, lost 100%|rta=0.000ms;200.000;500.000;0; pl=100%;40;80;; rtmax=0.000ms;;;; rtmin=0.000ms;;;;
service icinga2 status
● icinga2.service - Icinga host/service/network monitoring system
Loaded: loaded (/lib/systemd/system/icinga2.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2021-04-11 07:07:58 CEST; 9min ago
Process: 27799 ExecStartPre=/usr/lib/icinga2/prepare-dirs /usr/lib/icinga2/icinga2 (code=exited, status=0/SUCCESS)
Main PID: 27890 (icinga2)
Tasks: 110 (limit: 4915)
CGroup: /system.slice/icinga2.service
├─27890 /usr/lib/x86_64-linux-gnu/icinga2/sbin/icinga2 --no-stack-rlimit daemon -e /var/log/icinga2/error.log
├─27916 /usr/lib/x86_64-linux-gnu/icinga2/sbin/icinga2 --no-stack-rlimit daemon -e /var/log/icinga2/error.log
├─32098 /usr/lib/nagios/plugins/check_ping -H 217.26.50.243 -c 5000,100% -w 3000,80%
├─32101 /bin/ping -n -U -w 30 -c 5 217.26.50.243
├─32103 /usr/lib/nagios/plugins/check_ping -H 217.26.50.243 -c 5000,100% -w 3000,80%
├─32104 /usr/lib/nagios/plugins/check_ping -H 217.26.50.243 -c 5000,100% -w 3000,80%
├─32105 /bin/ping -n -U -w 30 -c 5 217.26.50.243
├─32107 /bin/ping -n -U -w 30 -c 5 217.26.50.243
├─32125 /usr/lib/nagios/plugins/check_ping -H 217.26.50.243 -c 5000,100% -w 3000,80%
├─32127 /bin/ping -n -U -w 30 -c 5 217.26.50.243
├─32159 /usr/lib/nagios/plugins/check_ping -H 217.26.50.243 -c 5000,100% -w 3000,80%
├─32160 /bin/ping -n -U -w 30 -c 5 217.26.50.243
├─32169 /usr/lib/nagios/plugins/check_ping -H 217.26.53.223 -c 5000,100% -w 3000,80%
├─32170 /bin/ping -n -U -w 30 -c 5 217.26.53.223
├─32171 /usr/lib/nagios/plugins/check_ping -H 217.26.50.243 -c 5000,100% -w 3000,80%
├─32172 /bin/ping -n -U -w 30 -c 5 217.26.50.243
├─32173 /usr/lib/nagios/plugins/check_ping -H 217.26.54.118 -c 5000,100% -w 3000,80%
├─32174 /bin/ping -n -U -w 30 -c 5 217.26.54.118
├─32178 /usr/lib/nagios/plugins/check_ping -H 217.26.50.243 -c 5000,100% -w 3000,80%
├─32179 /usr/lib/nagios/plugins/check_ping -H 217.26.50.243 -c 5000,100% -w 3000,80%
├─32180 /bin/ping -n -U -w 30 -c 5 217.26.50.243
├─32181 /bin/ping -n -U -w 30 -c 5 217.26.50.243
├─32185 /usr/lib/nagios/plugins/check_ping -H 217.26.50.243 -c 5000,100% -w 3000,80%
├─32186 /bin/ping -n -U -w 30 -c 5 217.26.50.243
├─32187 /usr/lib/nagios/plugins/check_ping -H 217.26.51.49 -c 5000,100% -w 3000,80%
├─32188 /bin/ping -n -U -w 30 -c 5 217.26.51.49
├─32192 /usr/lib/nagios/plugins/check_ping -H 217.26.50.243 -c 5000,100% -w 3000,80%
├─32193 /bin/ping -n -U -w 30 -c 5 217.26.50.243
├─32196 /usr/lib/nagios/plugins/check_ping -H 217.26.50.243 -c 5000,100% -w 3000,80%
├─32197 /bin/ping -n -U -w 30 -c 5 217.26.50.243
├─32204 /usr/lib/nagios/plugins/check_ping -H 217.26.50.194 -c 5000,100% -w 3000,80%
├─32206 /bin/ping -n -U -w 30 -c 5 217.26.50.194
├─32215 /usr/lib/nagios/plugins/check_ping -H 217.26.50.243 -c 5000,100% -w 3000,80%
├─32216 /usr/lib/nagios/plugins/check_ping -H 217.26.50.243 -c 5000,100% -w 3000,80%
├─32217 /bin/ping -n -U -w 30 -c 5 217.26.50.243
├─32218 /bin/ping -n -U -w 30 -c 5 217.26.50.243
├─32223 /usr/lib/nagios/plugins/check_ping -H 217.26.50.243 -c 5000,100% -w 3000,80%
├─32224 /usr/lib/nagios/plugins/check_ping -H 217.26.50.243 -c 5000,100% -w 3000,80%
├─32225 /usr/lib/nagios/plugins/check_ping -H 217.26.50.243 -c 5000,100% -w 3000,80%
├─32226 /bin/ping -n -U -w 30 -c 5 217.26.50.243
├─32227 /bin/ping -n -U -w 30 -c 5 217.26.50.243
icinga2 --version
icinga2 - The Icinga 2 network monitoring daemon (version: r2.8.1-1)
Copyright (c) 2012-2017 Icinga Development Team (https://www.icinga.com/)
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl2.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Application information:
Installation root: /usr
Sysconf directory: /etc
Run directory: /run
Local state directory: /var
Package data directory: /usr/share/icinga2
State path: /var/lib/icinga2/icinga2.state
Modified attributes path: /var/lib/icinga2/modified-attributes.conf
Objects path: /var/cache/icinga2/icinga2.debug
Vars path: /var/cache/icinga2/icinga2.vars
PID path: /run/icinga2/icinga2.pid
System information:
Platform: Ubuntu
Platform version: 18.04.5 LTS (Bionic Beaver)
Kernel: Linux
Kernel version: 4.15.0-140-generic
Architecture: x86_64
Build information:
Compiler: GNU 7.3.0
Build host: lcy01-amd64-027
icinga2 feature list
Disabled features: compatlog debuglog elasticsearch gelf graphite influxdb livestatus opentsdb perfdata statusdata syslog
Enabled features: api checker command ido-mysql mainlog notification
root@srvvl01://usr/lib/nagios/plugins# icinga2 daemon -C
information/cli: Icinga application loader (version: r2.8.1-1)
information/cli: Loading configuration file(s).
information/ConfigItem: Committing config item(s).
information/ApiListener: My API identity: srvvl01
warning/ApplyRule: Apply rule 'pushover-icingaadmin' (in /etc/icinga2/conf.d/notifications.conf: 22:1-22:49) for type 'Notification' does not match anywhere!
warning/ApplyRule: Apply rule 'slack-notifications-notification-hosts' (in /etc/icinga2/conf.d/slack-notifications/slack-notifications-configuration.conf: 64:1-64:67) for type 'Notification' does not match anywhere!
warning/ApplyRule: Apply rule 'backup-downtime' (in /etc/icinga2/conf.d/downtimes.conf: 5:1-5:52) for type 'ScheduledDowntime' does not match anywhere!
warning/ApplyRule: Apply rule '' (in /etc/icinga2/conf.d/services.conf: 58:1-58:65) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'Website - SSL Status' (in /etc/icinga2/conf.d/services.conf: 326:1-326:36) for type 'Service' does not match anywhere!
information/ConfigItem: Instantiated 1 ApiListener.
information/ConfigItem: Instantiated 8 Zones.
information/ConfigItem: Instantiated 6 Endpoints.
information/ConfigItem: Instantiated 1 ApiUser.
information/ConfigItem: Instantiated 1 FileLogger.
information/ConfigItem: Instantiated 874 Notifications.
information/ConfigItem: Instantiated 5 NotificationCommands.
information/ConfigItem: Instantiated 215 CheckCommands.
information/ConfigItem: Instantiated 6 Downtimes.
information/ConfigItem: Instantiated 2 HostGroups.
information/ConfigItem: Instantiated 1 IcingaApplication.
information/ConfigItem: Instantiated 83 Hosts.
information/ConfigItem: Instantiated 46 Comments.
information/ConfigItem: Instantiated 6 UserGroups.
information/ConfigItem: Instantiated 6 Users.
information/ConfigItem: Instantiated 5 TimePeriods.
information/ConfigItem: Instantiated 873 Services.
information/ConfigItem: Instantiated 3 ServiceGroups.
information/ConfigItem: Instantiated 1 CheckerComponent.
information/ConfigItem: Instantiated 1 ExternalCommandListener.
information/ConfigItem: Instantiated 1 IdoMysqlConnection.
information/ConfigItem: Instantiated 1 NotificationComponent.
information/ScriptGlobal: Dumping variables to file '/var/cache/icinga2/icinga2.vars'
information/cli: Finished validating the configuration file(s).