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

check_yum.py failing on Oracle Linux 8 #403

Open
polski-g opened this issue Mar 1, 2023 · 0 comments
Open

check_yum.py failing on Oracle Linux 8 #403

polski-g opened this issue Mar 1, 2023 · 0 comments

Comments

@polski-g
Copy link

polski-g commented Mar 1, 2023

check-update is notifying that there are perl...src packages available, but I don't have any of them installed. Very strange.

Plugin output

# /usr/local/nagios/plugins/check_yum.py -A -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 check-update
Returncode: '100'
Output: 'Last metadata expiration check: 1:34:41 ago on Wed 01 Mar 2023 12:24:58 PM EST.

perl-Algorithm-Diff.src          1.1903-10.module+el8.6.0+20545+312b6629      ol8_appstream
perl-Archive-Tar.src             2.38-3.module+el8.6.0+20545+312b6629         ol8_appstream
perl-Archive-Zip.src             1.68-3.module+el8.6.0+20545+312b6629         ol8_appstream
perl-CPAN.src                    2.28-5.module+el8.6.0+20545+312b6629         ol8_appstream
perl-CPAN-Meta.src               2.150010-397.module+el8.6.0+20545+312b6629   ol8_appstream
perl-CPAN-Meta-Requirements.src  2.140-397.module+el8.6.0+20545+312b6629      ol8_appstream
perl-CPAN-Meta-YAML.src          0.018-1001.module+el8.6.0+20545+312b6629     ol8_appstream
perl-Carp.src                    1.50-439.module+el8.6.0+20545+312b6629       ol8_appstream
perl-Config-Perl-V.src           0.32-441.module+el8.6.0+20545+312b6629       ol8_appstream
perl-Data-OptList.src            0.110-7.module+el8.6.0+20545+312b6629        ol8_appstream
perl-Data-Section.src            0.200007-8.module+el8.6.0+20545+312b6629     ol8_appstream
perl-Digest.src                  1.20-1.module+el8.6.0+20545+312b6629         ol8_appstream
perl-Env.src                     1.04-396.module+el8.6.0+20545+312b6629       ol8_appstream
perl-Exporter.src                5.74-458.module+el8.6.0+20545+312b6629       ol8_appstream
perl-ExtUtils-CBuilder.src       1:0.280236-1.module+el8.6.0+20545+312b6629   ol8_appstream
perl-ExtUtils-Install.src        2.20-1.module+el8.6.0+20545+312b6629         ol8_appstream
perl-ExtUtils-MakeMaker.src      2:7.46-3.module+el8.6.0+20545+312b6629       ol8_appstream
perl-ExtUtils-Manifest.src       1:1.73-1.module+el8.6.0+20545+312b6629       ol8_appstream
perl-ExtUtils-ParseXS.src        1:3.40-439.module+el8.6.0+20545+312b6629     ol8_appstream
perl-File-Fetch.src              1.00-1.module+el8.6.0+20545+312b6629         ol8_appstream
perl-File-HomeDir.src            1.004-6.module+el8.6.0+20545+312b6629        ol8_appstream
perl-File-Path.src               2.16-439.module+el8.6.0+20545+312b6629       ol8_appstream
perl-File-Temp.src               1:0.231.100-1.module+el8.6.0+20545+312b6629  ol8_appstream
perl-File-Which.src              1.23-4.module+el8.6.0+20545+312b6629         ol8_appstream
perl-Filter-Simple.src           0.96-457.module+el8.6.0+20545+312b6629       ol8_appstream
perl-Getopt-Long.src             1:2.52-1.module+el8.6.0+20545+312b6629       ol8_appstream
perl-HTTP-Tiny.src               0.078-1.module+el8.6.0+20545+312b6629        ol8_appstream
perl-IO-Compress.src             2.096-1.module+el8.6.0+20545+312b6629        ol8_appstream
perl-IO-Socket-IP.src            0.41-2.module+el8.6.0+20545+312b6629         ol8_appstream
perl-IPC-Cmd.src                 2:1.04-2.module+el8.6.0+20545+312b6629       ol8_appstream
perl-IPC-System-Simple.src       1.30-3.module+el8.6.0+20545+312b6629         ol8_appstream
perl-JSON-PP.src                 1:4.04-2.module+el8.6.0+20545+312b6629       ol8_appstream
perl-Locale-Maketext.src         1.29-440.module+el8.6.0+20545+312b6629       ol8_appstream
perl-MRO-Compat.src              0.13-5.module+el8.6.0+20545+312b6629         ol8_appstream
perl-Math-BigInt.src             1:1.9998.18-1.module+el8.6.0+20545+312b6629  ol8_appstream
perl-Math-BigRat.src             0.2614-2.module+el8.6.0+20545+312b6629       ol8_appstream
perl-Module-Build.src            2:0.42.31-5.module+el8.6.0+20545+312b6629    ol8_appstream
perl-Module-CoreList.src         1:5.20211020-1.module+el8.6.0+20545+312b6629 ol8_appstream
perl-Module-Load.src             1:0.36-1.module+el8.6.0+20545+312b6629       ol8_appstream
perl-Module-Load-Conditional.src 0.74-1.module+el8.6.0+20545+312b6629         ol8_appstream
perl-Module-Metadata.src         1.000037-1.module+el8.6.0+20545+312b6629     ol8_appstream
perl-Package-Generator.src       1.106-12.module+el8.6.0+20545+312b6629       ol8_appstream
perl-Params-Check.src            1:0.38-396.module+el8.6.0+20545+312b6629     ol8_appstream
perl-Perl-OSType.src             1.010-397.module+el8.6.0+20545+312b6629      ol8_appstream
perl-PerlIO-via-QuotedPrint.src  0.09-1.module+el8.6.0+20545+312b6629         ol8_appstream
perl-Pod-Checker.src             4:1.74-1.module+el8.6.0+20545+312b6629       ol8_appstream
perl-Pod-Escapes.src             1:1.07-396.module+el8.6.0+20545+312b6629     ol8_appstream
perl-Pod-Parser.src              1.63-1001.module+el8.6.0+20545+312b6629      ol8_appstream
perl-Pod-Perldoc.src             3.28.01-443.module+el8.6.0+20545+312b6629    ol8_appstream
perl-Pod-Simple.src              1:3.42-1.module+el8.6.0+20545+312b6629       ol8_appstream
perl-Pod-Usage.src               4:2.01-1.module+el8.6.0+20545+312b6629       ol8_appstream
perl-Software-License.src        0.103014-5.module+el8.6.0+20545+312b6629     ol8_appstream
perl-Sub-Exporter.src            0.987-17.module+el8.6.0+20545+312b6629       ol8_appstream
perl-Sub-Install.src             0.928-15.module+el8.6.0+20545+312b6629       ol8_appstream
perl-Term-ANSIColor.src          5.01-458.module+el8.6.0+20545+312b6629       ol8_appstream
perl-Term-Cap.src                1.17-396.module+el8.6.0+20545+312b6629       ol8_appstream
perl-Test-Harness.src            1:3.42-2.module+el8.6.0+20545+312b6629       ol8_appstream
perl-Test-Simple.src             3:1.302181-2.module+el8.6.0+20545+312b6629   ol8_appstream
perl-Text-Balanced.src           2.04-1.module+el8.6.0+20545+312b6629         ol8_appstream
perl-Text-Diff.src               1.45-7.module+el8.6.0+20545+312b6629         ol8_appstream
perl-Text-Glob.src               0.11-5.module+el8.6.0+20545+312b6629         ol8_appstream
perl-Text-ParseWords.src         3.30-396.module+el8.6.0+20545+312b6629       ol8_appstream
perl-Text-Tabs+Wrap.src          2013.0523-396.module+el8.6.0+20545+312b6629  ol8_appstream
perl-Text-Template.src           1.58-1.module+el8.6.0+20545+312b6629         ol8_appstream
perl-Thread-Queue.src            3.14-457.module+el8.6.0+20545+312b6629       ol8_appstream
perl-Time-Local.src              2:1.300-4.module+el8.6.0+20545+312b6629      ol8_appstream
perl-URI.src                     1.76-5.module+el8.6.0+20545+312b6629         ol8_appstream
perl-autodie.src                 2.34-1.module+el8.6.0+20545+312b6629         ol8_appstream
perl-bignum.src                  0.51-439.module+el8.6.0+20545+312b6629       ol8_appstream
perl-constant.src                1.33-1001.module+el8.6.0+20545+312b6629      ol8_appstream
perl-experimental.src            0.025-1.module+el8.6.0+20545+312b6629        ol8_appstream
perl-inc-latest.src              2:0.500-10.module+el8.6.0+20545+312b6629     ol8_appstream
perl-libnet.src                  3.13-1.module+el8.6.0+20545+312b6629         ol8_appstream
perl-local-lib.src               2.000024-7.module+el8.6.0+20545+312b6629     ol8_appstream
perl-parent.src                  1:0.238-457.module+el8.6.0+20545+312b6629    ol8_appstream
perl-perlfaq.src                 5.20210520-1.module+el8.6.0+20545+312b6629   ol8_appstream
perl-podlators.src               1:4.14-457.module+el8.6.0+20545+312b6629     ol8_appstream
'
UNKNOWN: Error parsing package information, inconsistent package count (0 count vs 77 num packages), yum output may have changed. 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

OS Version

# cat /etc/os-release 
NAME="Oracle Linux Server"
VERSION="8.7"
ID="ol"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="8.7"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Oracle Linux Server 8.7"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:oracle:linux:8:7:server"
HOME_URL="https://linux.oracle.com/"
BUG_REPORT_URL="https://bugzilla.oracle.com/"

ORACLE_BUGZILLA_PRODUCT="Oracle Linux 8"
ORACLE_BUGZILLA_PRODUCT_VERSION=8.7
ORACLE_SUPPORT_PRODUCT="Oracle Linux"
ORACLE_SUPPORT_PRODUCT_VERSION=8.7

yum update output

# yum update
Last metadata expiration check: 1:35:07 ago on Wed 01 Mar 2023 12:24:58 PM EST.
Dependencies resolved.
Nothing to do.
Complete!
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