[root@ns2 plugins]# su - nagios
-bash-3.2$ cd /usr/lib64/nagios/plugins
-bash-3.2$ ./check_updates -vvv --no-boot-check -t 200 -c 2
[extra-opts] check_updates -vvv --no-boot-check -t 200 -c 2
Checking a linux system
Running on CentOS release 5.9 (Final)
Using yum
Loaded plugins: fastestmirror, priorities, security
Security plugin installed
271 packages excluded due to repository priority protections
Skipping security plugin, no data
CHECK_UPDATES OK - no updates available | total_updates=0;0;2 security_updates=0;0;2
Original reporter: wolfgang10@gmail.com
Here is the output as user nagios
[root@ns2 plugins]# su - nagios -bash-3.2$ cd /usr/lib64/nagios/plugins -bash-3.2$ ./check_updates -vvv --no-boot-check -t 200 -c 2 [extra-opts] check_updates -vvv --no-boot-check -t 200 -c 2 Checking a linux system Running on CentOS release 5.9 (Final) Using yum Loaded plugins: fastestmirror, priorities, security Security plugin installed 271 packages excluded due to repository priority protections Skipping security plugin, no data CHECK_UPDATES OK - no updates available | total_updates=0;0;2 security_updates=0;0;2