Re: Current Load on Localhost
Posted: Mon Oct 18, 2021 2:54 am
HI,
I did the same as you were told.
I ran the passive check for Current load service
Please find the following logs of cat /usr/local/nagios/var/nagios.log | grep -Ei 'current load' -A 5 -B 1
[1634542781] SERVICE NOTIFICATION: nagiosadmin;localhost;Current Load;CRITICAL;xi_service_notification_handler;test
[1634542781] SERVICE NOTIFICATION: LVNYI;localhost;Current Load;CRITICAL;notify_service_xi_contact_copy_1;test
[1634542781] SERVICE ALERT: localhost;Current Load;CRITICAL;HARD;1;test
[1634542781] GLOBAL SERVICE EVENT HANDLER: localhost;Current Load;CRITICAL;HARD;1;xi_service_event_handler
[1634542781] SERVICE EVENT HANDLER: localhost;Current Load;CRITICAL;HARD;1;Service Restart - Linux
[1634542782] wproc: SERVICE EVENTHANDLER job 169 from worker Core Worker 959 is a non-check helper but exited with return code 1
[1634542782] wproc: early_timeout=0; exited_ok=1; wait_status=256; error_code=0;
[1634542782] wproc: stderr line 01: Failed to restart httpd.service: Interactive authentication required.
[1634542782] wproc: stderr line 02: See system logs and 'systemctl status httpd.service' for details.
[1634542788] wproc: Core Worker 958: job 58 (pid=2073) timed out. Killing it
Log info from /tmp/hostinfo.txt
[root@LAZURENGMO1VP tmp]# cat hostinfo.txt
top - 09:39:42 up 5 days, 4:32, 1 user, load average: 0.54, 0.37, 0.39
Tasks: 289 total, 11 running, 276 sleeping, 0 stopped, 2 zombie
%Cpu(s): 36.5 us, 19.0 sy, 0.0 ni, 44.4 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem : 32946500 total, 10986128 free, 2398156 used, 19562216 buff/cache
KiB Swap: 2097148 total, 2097148 free, 0 used. 29636468 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3635 nagios 20 0 443304 30140 11316 S 60.0 0.1 0:00.09 php
3625 root 20 0 0 0 0 Z 26.7 0.0 0:00.25 falcon-fx
17387 root 20 0 0 0 0 D 13.3 0.0 0:00.58 kworker/u8+
1066 root 20 0 495872 21360 17444 S 6.7 0.1 1:15.30 rsyslogd
1568 mysql 20 0 2645404 898960 10588 S 6.7 2.7 376:23.58 mysqld
3410 root 20 0 87028 22096 5252 R 6.7 0.1 0:00.37 rpm
3736 root 10 -10 84948 24824 3780 S 6.7 0.1 26:31.79 microsoft-+
4470 root 20 0 0 0 0 R 6.7 0.0 26:38.23 kcs-evbsyn+
4482 root 20 0 0 0 0 R 6.7 0.0 82:44.40 kcs-term
4483 root 20 0 0 0 0 S 6.7 0.0 79:25.91 kcs-created
1 root 20 0 191268 4344 2652 S 0.0 0.0 5:41.05 systemd
2 root 20 0 0 0 0 S 0.0 0.0 0:00.27 kthreadd
4 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:+
Mon Oct 18 09:39:42 CEST 2021
Please help us.
I did the same as you were told.
I ran the passive check for Current load service
Please find the following logs of cat /usr/local/nagios/var/nagios.log | grep -Ei 'current load' -A 5 -B 1
[1634542781] SERVICE NOTIFICATION: nagiosadmin;localhost;Current Load;CRITICAL;xi_service_notification_handler;test
[1634542781] SERVICE NOTIFICATION: LVNYI;localhost;Current Load;CRITICAL;notify_service_xi_contact_copy_1;test
[1634542781] SERVICE ALERT: localhost;Current Load;CRITICAL;HARD;1;test
[1634542781] GLOBAL SERVICE EVENT HANDLER: localhost;Current Load;CRITICAL;HARD;1;xi_service_event_handler
[1634542781] SERVICE EVENT HANDLER: localhost;Current Load;CRITICAL;HARD;1;Service Restart - Linux
[1634542782] wproc: SERVICE EVENTHANDLER job 169 from worker Core Worker 959 is a non-check helper but exited with return code 1
[1634542782] wproc: early_timeout=0; exited_ok=1; wait_status=256; error_code=0;
[1634542782] wproc: stderr line 01: Failed to restart httpd.service: Interactive authentication required.
[1634542782] wproc: stderr line 02: See system logs and 'systemctl status httpd.service' for details.
[1634542788] wproc: Core Worker 958: job 58 (pid=2073) timed out. Killing it
Log info from /tmp/hostinfo.txt
[root@LAZURENGMO1VP tmp]# cat hostinfo.txt
top - 09:39:42 up 5 days, 4:32, 1 user, load average: 0.54, 0.37, 0.39
Tasks: 289 total, 11 running, 276 sleeping, 0 stopped, 2 zombie
%Cpu(s): 36.5 us, 19.0 sy, 0.0 ni, 44.4 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem : 32946500 total, 10986128 free, 2398156 used, 19562216 buff/cache
KiB Swap: 2097148 total, 2097148 free, 0 used. 29636468 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3635 nagios 20 0 443304 30140 11316 S 60.0 0.1 0:00.09 php
3625 root 20 0 0 0 0 Z 26.7 0.0 0:00.25 falcon-fx
17387 root 20 0 0 0 0 D 13.3 0.0 0:00.58 kworker/u8+
1066 root 20 0 495872 21360 17444 S 6.7 0.1 1:15.30 rsyslogd
1568 mysql 20 0 2645404 898960 10588 S 6.7 2.7 376:23.58 mysqld
3410 root 20 0 87028 22096 5252 R 6.7 0.1 0:00.37 rpm
3736 root 10 -10 84948 24824 3780 S 6.7 0.1 26:31.79 microsoft-+
4470 root 20 0 0 0 0 R 6.7 0.0 26:38.23 kcs-evbsyn+
4482 root 20 0 0 0 0 R 6.7 0.0 82:44.40 kcs-term
4483 root 20 0 0 0 0 S 6.7 0.0 79:25.91 kcs-created
1 root 20 0 191268 4344 2652 S 0.0 0.0 5:41.05 systemd
2 root 20 0 0 0 0 S 0.0 0.0 0:00.27 kthreadd
4 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:+
Mon Oct 18 09:39:42 CEST 2021
Please help us.