diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -24,11 +24,12 @@ Nagios ------ To have nagios checks setup automatically for sshd services, simply set -$use_nagios = true before the class is included. If you want to disable ssh +manage_nagios to true for that class. If you want to disable ssh nagios checking for a particular node (such as when ssh is firewalled), then you -can set $nagios_check_ssh to false and that node will not be monitored. +can set the class parameter nagios_check_ssh to false and that node will not bei +monitored. -Nagios will automatically check the ports defined in $sshd_ports, and the +Nagios will automatically check the ports defined in $sshd::ports, and the hostname specified by $nagios_check_ssh_hostname. NOTE: this requires that you are using the shared-nagios puppet module which @@ -209,7 +210,7 @@ Generate a public/private keypair with the ssh_keygen function. For example, the following will generate ssh keys and put the different parts of the key into variables: -$ssh_keys = ssh_keygen("${$ssh_key_basepath}/backup/keys/${fqdn}/${backup_host}") +$ssh_keys = ssh_keygen("${$ssh_key_basepath}/backup/keys/${::fqdn}/${backup_host}") $public_key = split($ssh_keys[1],' ') $sshkey_type => $public_key[0] $sshkey => $public_key[1] |