OP#672 add service target for puppetdb
This commit is contained in:
@@ -78,6 +78,7 @@ The current nagios checks are included via `manifests/nagios/commands.pp`:
|
|||||||
- `check_ntp_time`
|
- `check_ntp_time`
|
||||||
- `check_fail2ban`
|
- `check_fail2ban`
|
||||||
- `check_alloy`
|
- `check_alloy`
|
||||||
|
- `check_puppet`, `check_puppet_server`, `check_puppetdb`
|
||||||
|
|
||||||
## Repo Documentation
|
## Repo Documentation
|
||||||
|
|
||||||
|
|||||||
@@ -268,5 +268,15 @@ class confdroid_nagios::nagios::objects::commands (
|
|||||||
mode => '0640',
|
mode => '0640',
|
||||||
target => $ng_target_command,
|
target => $ng_target_command,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@nagios_command { 'check_puppetdb':
|
||||||
|
ensure => present,
|
||||||
|
command_name => 'check_puppetdb',
|
||||||
|
command_line => '$USER1$/check_procs -c $ARG1$ -a $ARG2$',
|
||||||
|
owner => $ng_user,
|
||||||
|
group => $ng_user,
|
||||||
|
mode => '0640',
|
||||||
|
target => $ng_target_command,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user