Go to file
2019-06-01 17:34:39 +02:00
recipes Add auto-backup check, WARN : not fully tested 2019-06-01 17:24:47 +02:00
LICENSE Initial commit 2019-03-24 15:56:17 +01:00
README.md Update Todolist 2019-06-01 17:34:39 +02:00
recipe_gentoo.sh Modification : script design, lots of minor updates 2019-06-01 13:40:22 +02:00
vars.sh Modification : script design, lots of minor updates 2019-06-01 13:40:22 +02: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 :

  • Reorganise script to limit text repetitions (make functions for example)
  • Check if sending a mail works (find a way to check)
  • Check detailled DNS records (PTR, A, AAAA)
  • Check if borgbackup is configured (OK, need to be fully tested)
  • Check if auto-update script is configured
  • Portage configuration (for VM and Physical)

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 (scope global) 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, nrpe_user and nrpe_group)
  • MUNIN basic configuration (allow and port)
  • SNMP basic config (agentAddress, rocommunity, trap2sink, informsink, sysLocation and sysContact)
  • Mail alias configuration (root and operator mail alias configured)
  • Check postfix config (inet_protocols, mail_owner)
  • Add to check service if they are enabled
  • Check if IPs (scope global) are recorded in IPAM