Monday, June 12, 2017

Security updates in the centos host, notified through nagios.

 ***** Nagios *****
    
    Notification Type: PROBLEM
    
    Service: Security updates
    Host: Hostname
    Address: ipaddress
    State: CRITICAL
    
    Date/Time: xxxxxxx 2017
    
    Additional Info:
    
    1 Security Update Available. 2 Non-Security Updates Available
    


To list all available security updates without installing them:
yum list-security --security 


This will ONLY install the security package needed:
yum -y update --security

No comments:

Post a Comment