Skip to content

Working towards a script that will parse SOS logs

Notifications You must be signed in to change notification settings

henson-josh/sos_script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ansible SOS Report Analyzer

Working towards a script that will parse SOS logs

Current Features

asos [-c|d|df|h|hosts|i|ip|m|ne|nw|os|ps|s|te|tw|V]
options:

c               Remove SOS report directories
d               Enable debug
df              Print file system disk usage
h               Print this Help
hosts           Print all hostnames from respective SOS Reports
i               Print installed RPMs, will prompt user for input
ip              Print all IP addresses from respective SOS Reports
m               Print memory system free/used
mnt             Print findmnt output
os              Print /etc/os-release
ps              Print all running ansible processes
s               Print all denied messages from audit.log
V               Print software version
----------
awx-manage:
li              Print awx-manage list_instances output
cl              Print awx-manage check_license output
----------
nginx logs:
ne              Print all nginx error.log errors
nw              Print all nginx error.log warnings
----------
tower logs:
te              Print all tower.log errors
tw              Print all tower.log warnings

Example Output

Alt text

About

Working towards a script that will parse SOS logs

Resources

Stars

Watchers

Forks

Packages

No packages published