Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Cannot find summary line...", possibly due to message about "Not root..." #420

Open
provencio opened this issue Mar 15, 2024 · 0 comments

Comments

@provencio
Copy link

I installed this on a number of machines and all are working well with the exception of five RHEL 8 machines (all the others are CentOS 9).

The output is as follows:
$ /usr/local/ncpa/plugins/check_yum.py --cache-only -vvv
Nagios Plugin for Yum updates on RedHat/CentOS systems - Version 0.12.7
Author: Hari Sekhon

setting plugin timeout to 30 seconds
running command: /usr/bin/yum --security check-update -C
Returncode: '0'
Output: 'Not root, Subscription Management repositories not updated
Last metadata expiration check: 0:12:54 ago on Fri 15 Mar 2024 12:04:07 PM PDT.
'
YUM WARNING: Cannot find summary line in yum output. Please make sure you have upgraded to the latest version from https://github.com/HariSekhon/Nagios-Plugins. If the problem persists, please raise a ticket at https://github.com/HariSekhon/Nagios-Plugins/issues with the full -vvv output

I'm wondering if the "Not root, Subscription Management repositories not updated" line is throwing things off perhaps? Works fine on all of the CentOS machines.

Thanks,
Tim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant