Hello, for some time now I'm working on a tool which is supposed to do basic health-check on Spacewalk/Satellite.
It lives on: https://github.com/SatelliteQE/satellite-sanity and Fedora 22, 23 and RHEL/CentOS 7 packages are in corresponding yum repos on: https://copr-be.cloud.fedoraproject.org/results/jhutar/satellite-sanity/ I would be very grateful if you could give it a try and, ideally, share yours favourite things you check on Spacewalk when you want to test if it behaves correctly. It is very easy to use the tool: # rpm -ivh https://copr-be.cloud.fedoraproject.org/results/jhutar/satellite-sanity/fedora-22-x86_64/00155535-satellite-sanity/satellite-sanity-0.1.2-1.fc22.noarch.rpm # or setup yum repo and install from there # satellite-sanity -h usage: satellite-sanity [-h] [-d] [--list-tags | --list-rules] [-t TAGS] [-s] [-i FROM_DIR] [-f] [-n] Check Red Hat Satellite sanity optional arguments: -h, --help show this help message and exit -d, --debug enable debug messages --list-tags list available tags --list-rules list available rules -t TAGS, --tags TAGS run rules tagged with one of these tags (comma separated) -s, --save just save all collectable data and quit -i FROM_DIR, --from_dir FROM_DIR run rules on data in given directory -f, --force run even if checks for selected tags failed -n, --nagios-plugin run as nagios plugin (exit code and output set appropriately) # satellite-sanity --list-tags general Satellite_5 Spacewalk Satellite_6 Satellite_6_preinst # satellite-sanity -t general,Spacewalk Selected tag(s): general, Spacewalk ERROR:satellite_sanity.config:Data not available for neighbour_table_overflow [ PASS ] Check that hostname is configured properly (hostname_matches) [ SKIP ] Check for ARP cache being full signs (neighbour_table_overflow) [ PASS ] Basic Cobbler settings are correct (sat5_cobbler_config) [ PASS ] There is enough free disk-space in key places (sat5_diskspace_check) [ PASS ] Make sure osad on client is not disconnecting frequently (sat5_frequent_osad_disconnects) [ PASS ] Database have correct encoding set (sat5_rhn_charsets) [ PASS ] Taskomatic service is running (sat5_taskomatic_running) [ PASS ] Taskomatic service is not stuck (sat5_taskomatic_working) [ PASS ] Only lower-case letters allowed in hostname (sat_uppercase_hostname) In case some rule fails, will get more info. Thank you in advance, Jan -- Jan Hutar Systems Management QA [email protected] Red Hat, Inc. _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
