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.14k stars 506 forks source link

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

Open provencio opened 8 months ago

provencio commented 8 months ago

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