recipe_gentoo/README.md

36 lines
1.4 KiB
Markdown
Raw Normal View History

2019-03-24 15:56:17 +01:00
# 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 :
2019-03-24 16:01:56 +01:00
- Reorganise script to limit text repetitions (make functions for example)
2019-03-24 15:56:17 +01:00
- Check if sending a mail works (find a way to check)
- 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
2019-03-30 16:37:21 +01:00
- Portage configuration (for VM and Physical)
2019-03-24 15:56:17 +01:00
Checked point :
2019-03-29 20:21:09 +01:00
- User is root to run the script
- Check requirements
2019-03-24 15:56:17 +01:00
- 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)
2019-03-30 16:37:21 +01:00
- SNMP basic config (gentAddress, rocommunity and trapsink/trap2sink)
2019-03-24 15:56:17 +01:00
- Mail alias configuration (root mail alias configured)
- Check postfix config (inet_protocols)
- Add to check service if they are enabled
2019-03-31 12:27:51 +02:00
- Check if IPs are recorded in IPAM