Skip to content

Check_yum fails after execute $yum update #405

@kevinruizgarcia

Description

@kevinruizgarcia

I configure the Check_yum script to monitor all the availables update, when i execute $yum update, this script fails.

That's the -VVV output:

Nagios Plugin for Yum updates on RedHat/CentOS systems - Version 0.12.7
Author: Hari Sekhon

setting plugin timeout to 120 seconds
running command: /usr/bin/yum --security check-update
Returncode: '0'
Output: 'Failed to set locale, defaulting to C.UTF-8
Last metadata expiration check: 0:59:14 ago on Mon Jul 31 09:40:44 2023.
'
DNF 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions