recipes | ||
LICENSE | ||
README.md | ||
recipe_gentoo.sh | ||
vars.sh |
recipe_gentoo
Check system configuration for a gentoo machine (VM or PHYSICAL) based on GRIFON's architecture. It's a Gentoo OS configuration recipe. This script normally doesn't modify anything on the system.
To use : ./recipe_gentoo.sh [--physical]
Not finished, in progress....
TO DO :
- Reorganise script to limit text repetitions (make functions for example)
- Check postfix config
- Check if sending a mail works (find a way to check)
- Check snmpd config
- Check if IPs/informations are recorded in IPAM
- Check detailled DNS records (PTR, A, AAAA)
- Check if files in etc need to be updated (etc-update)
- Check if borgbackup is configured (+ connexion to backup server)
- Check if auto-update script is configured
Checked point :
- User is root to run the script
- Check requirements
- Installed packages
- Hostname configuration
- DNS configuration (resolve external name, configured nameserver and check if all IPs are configured in DNS)
- Ping external machine for IPv4 and IPv6
- If Admin IPs are configured
- Services status
- SSH configuration (PasswordAuthentication no, PermitRootLogin no, and ListenAddress only on Admin LAN)
- NRPE basic configuration (allowed_hosts)
- MUNIN basic configuration (allow)
- Mail alias configuration (root mail alias configured)