check_systemd icon indicating copy to clipboard operation
check_systemd copied to clipboard

timers check on rhel7 failing on readahead service

Open martinrm77 opened this issue 2 years ago • 9 comments

Using check_systemd 2.3.1. Fully patched RHEL7.9 server has this issue. It is a virtualised server on a vmware platform. It keeps failing on a service, which it should not, as it is n/a in the next field, correct?

[root@server1 plugins]# systemctl status systemd-readahead-done.timer ● systemd-readahead-done.timer - Stop Read-Ahead Data Collection 10s After Completed Startup Loaded: loaded (/usr/lib/systemd/system/systemd-readahead-done.timer; indirect; vendor preset: enabled) Active: inactive (dead) Condition: start condition failed at Mon 2022-01-03 10:45:35 CET; 22h ago ConditionVirtualization=no was not met Docs: man:systemd-readahead-replay.service(8) [root@server1 plugins]# systemctl list-timers --all NEXT LEFT LAST PASSED UNIT ACTIVATES Tue 2022-01-04 10:58:02 CET 1h 48min left Mon 2022-01-03 10:58:02 CET 22h ago systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.service n/a n/a n/a n/a systemd-readahead-done.timer systemd-readahead-done.service

2 timers listed. [root@server1 plugins]# /usr/lib64/nagios/plugins/check_systemd.py -t -n -vvv SYSTEMD CRITICAL - systemd-readahead-done.timer critical: systemd-readahead-done.timer | count_units=319 data_source=cli units_activating=0 units_active=215 units_failed=0 units_inactive=104

martinrm77 avatar Jan 04 '22 08:01 martinrm77