Comments (4)
I have the same problem on RHEL7.9 -> 3.10.0-1160.71.1.el7.x86_64
....
--> sssd-common-pac-1.14.0-43.el7_3.11.x86_64 from rhel-7-server-rpms excluded (updateinfo)
No packages needed for security; 0 packages available
Security: kernel-3.10.0-1160.76.1.el7.x86_64 is an installed security update
Security: kernel-3.10.0-1160.71.1.el7.x86_64 is the currently running version
Uploading Enabled Repositories Report
Loaded plugins: priorities, product-id, subscription-manager
'
output lines not accounted for: ['Security: kernel-3.10.0-1160.76.1.el7.x86_64 is an installed security update', 'Security: kernel-3.10.0-1160.71.1.el7.x86_64 is the currently running version']
YUM WARNING: Yum output signature (1 unique lines) is larger than number of total updates (0). 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
The Problem ist only with no option or with option -W. No Problem with the option -A
Nagios Plugin for Yum updates on RedHat/CentOS systems - Version 0.12.6
Author: Hari Sekhon
setting plugin timeout to 30 seconds
running command: /usr/bin/yum check-update
Returncode: '0'
Output: 'Loaded plugins: changelog, enabled_repos_upload, package_upload, priorities,
: product-id, search-disabled-repos, subscription-manager
825 packages excluded due to repository priority protections
Security: kernel-3.10.0-1160.76.1.el7.x86_64 is an installed security update
Security: kernel-3.10.0-1160.71.1.el7.x86_64 is the currently running version
Uploading Enabled Repositories Report
Loaded plugins: priorities, product-id, subscription-manager
'
YUM WARNING: Kernel security update is installed but requires a reboot
when i am set in line 429 the using_dnf = False to True, no problem.
No packages needed for security; 0 packages available
Security: kernel-3.10.0-1160.76.1.el7.x86_64 is an installed security update
Security: kernel-3.10.0-1160.71.1.el7.x86_64 is the currently running version
Uploading Enabled Repositories Report
Loaded plugins: priorities, product-id, subscription-manager
'
YUM CRITICAL: 1 Security Update Available. 0 Non-Security Updates Available | security_updates_available=1 non_security_updates_available=0 total_updates_available=1
On RHEL8 no problems
./new.py
YUM CRITICAL: Kernel security update is installed but requires a reboot
./new.py -W
YUM CRITICAL: Kernel security update is installed but requires a reboot
./new.py -A
YUM WARNING: Kernel security update is installed but requires a reboot
from nagios-plugins.
I've just pushed a fix, please git pull and try version 0.12.7.
from nagios-plugins.
I had to change DEFAULT_TIMEOUT from 30 to 60 on my server but this works now. Thank you!!
from nagios-plugins.
Thanks for confirming.
The -t / --timeout
switch means you shouldn't need to edit the DEFAULT_TIMEOUT
in the code, but it's up to you.
from nagios-plugins.
Related Issues (20)
- check_yum plugin shows 0 non-security updates HOT 4
- check_cassandra_netstats.pl examples for all options pls HOT 2
- Support prometheus-enabled zookeeper mntr metrics HOT 1
- Issue with check_yum in CloudLinux HOT 8
- Issue with check_yum in CloudLinux HOT 6
- jwhois / whois HOT 4
- check_cassandra_tpstats.pl not working on DSE 6.8.25 (compatible with Cassandra 3.11) HOT 1
- Cloudera Manager plugins SSL connect attempt failed | --tls-noverify is ignored HOT 7
- Project dependencies may have API risk issues
- Check_yum.py not working on CentOS9 HOT 3
- Nagios Exchange handover HOT 3
- check_yum.py failing on Oracle Linux 8
- Check_yum fails after execute $yum update
- check_yum fails after clearing metadata
- check_dns.pl doesn't work for internal domains HOT 1
- MapR plugins SSL connect attempt failed | --tls-noverify is ignored
- "Cannot find summary line...", possibly due to message about "Not root..."
- check_yum.py
- check_rabbitmq.py HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nagios-plugins.