Puppet Class: confdroid_ssh::monitoring::target
+
+
+
+
+ -
+
- Inherits: +
- confdroid_ssh::params +
-
+
- Defined in: +
- + manifests/monitoring/target.pp + +
Summary
+ Class manages Nagios monitoring settings + +Overview
+
+
+
+
+
+
+
+
+confdroid_ssh::monitoring::target.pp Module name: confdroid_ssh Author: 12ww1160 (12ww1160@confdroid.com)
+ +
+
+
+
+
+ + + +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22+ |
+
+ # File 'manifests/monitoring/target.pp', line 6
+
+class confdroid_ssh::monitoring::target (
+) inherits confdroid_ssh::params {
+ if $ssh_manage_nagios == true {
+ @@nagios_service { "check_ssh_${fqdn}":
+ check_command => "check_nrpe!check_ssh!${ssh_procs_allowed}!sshd",
+ use => 'generic-service',
+ host_name => $fqdn,
+ notification_period => '24x7',
+ service_description => "${fqdn}_check_ssh",
+ target => $ssh_target_service,
+ owner => 'nagios',
+ group => 'nagios',
+ mode => '0640',
+ contacts => $ssh_target_contacts,
+ }
+ }
+}
+ |
+