Merge branch 'jenkins-build-245' into 'master'
Auto-merge for build 245 See merge request puppet/confdroid_nagios!10
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
|
||||||
|
|
||||||
|
|||||||
@@ -193,6 +193,8 @@
|
|||||||
<p><code>check_fail2ban</code></p>
|
<p><code>check_fail2ban</code></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><code>check_alloy</code></p>
|
<p><code>check_alloy</code></p>
|
||||||
|
</li><li>
|
||||||
|
<p><code>check_puppet</code>, <code>check_puppet_server</code>, <code>check_puppetdb</code></p>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
|
|
||||||
<h2 id="label-Repo+Documentation">Repo Documentation</h2>
|
<h2 id="label-Repo+Documentation">Repo Documentation</h2>
|
||||||
|
|||||||
@@ -193,6 +193,8 @@
|
|||||||
<p><code>check_fail2ban</code></p>
|
<p><code>check_fail2ban</code></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><code>check_alloy</code></p>
|
<p><code>check_alloy</code></p>
|
||||||
|
</li><li>
|
||||||
|
<p><code>check_puppet</code>, <code>check_puppet_server</code>, <code>check_puppetdb</code></p>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
|
|
||||||
<h2 id="label-Repo+Documentation">Repo Documentation</h2>
|
<h2 id="label-Repo+Documentation">Repo Documentation</h2>
|
||||||
|
|||||||
@@ -364,7 +364,17 @@ and populates /etc/nagios/conf.d/nagios_commands.cfg.
|
|||||||
269
|
269
|
||||||
270
|
270
|
||||||
271
|
271
|
||||||
272</pre>
|
272
|
||||||
|
273
|
||||||
|
274
|
||||||
|
275
|
||||||
|
276
|
||||||
|
277
|
||||||
|
278
|
||||||
|
279
|
||||||
|
280
|
||||||
|
281
|
||||||
|
282</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/nagios/objects/commands.pp', line 8</span>
|
<pre class="code"><span class="info file"># File 'manifests/nagios/objects/commands.pp', line 8</span>
|
||||||
@@ -632,6 +642,16 @@ 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,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}</pre>
|
}</pre>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -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