Closed folax closed 2 years ago
Is that all the output from -vvv
mode?
Yes. that's all:
[05:06] [serv66] # ./check_software_updates -vvv
Nagios Plugin for Yum updates on RedHat/CentOS systems - Version 0.10.3
Author: Hari Sekhon
setting plugin timeout to 30 seconds
running command: /usr/bin/yum --security check-update
Returncode: '0'
Output: 'This system is receiving updates from CloudLinux Network server.
Last metadata expiration check: 0:08:48 ago on Mon 01 Aug 2022 05:45:40 AM EDT.
'
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
[05:54] [serv66] #
Try using the latest version, you are on 0.10.3 but in this repo there is 0.12.3 which has had updates for your system.
The same in the latest version:
[05:54] [serv66] # ./check_software_updates_new -vvv
Nagios Plugin for Yum updates on RedHat/CentOS systems - Version 0.12.3
Author: Hari Sekhon
setting plugin timeout to 30 seconds
running command: /usr/bin/yum --security check-update
Returncode: '0'
Output: 'This system is receiving updates from CloudLinux Network server.
Last metadata expiration check: 0:11:27 ago on Mon 01 Aug 2022 05:45:40 AM EDT.
'
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
[05:57] [serv66] #
The OS system is: CloudLinux release 8.6
Ok, please try version 0.12.5 that I've just pushed, this should solve your problem.
Thank you so much. Now it works. I will test it on all systems.
[06:16] [serv66] # ./check_software_updates_new
YUM OK: 0 Security Updates Available. 0 Non-Security Updates Available | security_updates_available=0 non_security_updates_available=0 total_updates_available=0
[06:16] [serv66] # ./check_software_updates_new --no-warn-on-lock -C --warn-on-any-update -t 60
YUM OK: 0 Security Updates Available. 0 Non-Security Updates Available | security_updates_available=0 non_security_updates_available=0 total_updates_available=0
Thanks for confirming, closing ticket.
Hello. Can anybody help me? I got an error:
My system is CloudLinux 8.6.