HariSekhon / Nagios-Plugins

450+ AWS, Hadoop, Cloud, Kafka, Docker, Elasticsearch, RabbitMQ, Redis, HBase, Solr, Cassandra, ZooKeeper, HDFS, Yarn, Hive, Presto, Drill, Impala, Consul, Spark, Jenkins, Travis CI, Git, MySQL, Linux, DNS, Whois, SSL Certs, Yum Security Updates, Kubernetes, Cloudera etc...
https://www.linkedin.com/in/HariSekhon
Other
1.13k stars 502 forks source link

Check_yum fails after execute $yum update #405

Open kevinruizgarcia opened 11 months ago

kevinruizgarcia commented 11 months ago

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