Compare commits
1 Commits
master
...
e8540cbfa2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e8540cbfa2 |
@@ -181,37 +181,7 @@
|
||||
77
|
||||
78
|
||||
79
|
||||
80
|
||||
81
|
||||
82
|
||||
83
|
||||
84
|
||||
85
|
||||
86
|
||||
87
|
||||
88
|
||||
89
|
||||
90
|
||||
91
|
||||
92
|
||||
93
|
||||
94
|
||||
95
|
||||
96
|
||||
97
|
||||
98
|
||||
99
|
||||
100
|
||||
101
|
||||
102
|
||||
103
|
||||
104
|
||||
105
|
||||
106
|
||||
107
|
||||
108
|
||||
109
|
||||
110</pre>
|
||||
80</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/commands/definition_rules.pp', line 12</span>
|
||||
@@ -281,38 +251,8 @@ class confdroid_nrpe::commands::definition_rules (
|
||||
confdroid_nrpe::commands::definitions { 'check_fail2ban':
|
||||
ne_check_name => 'check_fail2ban',
|
||||
ne_check_cmd => 'check_procs',
|
||||
ne_cmd_argstring => '-c $ARG1$ -C $ARG2$',
|
||||
}
|
||||
confdroid_nrpe::commands::definitions { 'check_alloy':
|
||||
ne_check_name => 'check_alloy',
|
||||
ne_check_cmd => 'check_procs',
|
||||
ne_cmd_argstring => '-c $ARG1$ -C $ARG2$',
|
||||
}
|
||||
confdroid_nrpe::commands::definitions { 'check_haproxy':
|
||||
ne_check_name => 'check_haproxy',
|
||||
ne_check_cmd => 'check_procs',
|
||||
ne_cmd_argstring => '-c $ARG1$ -C $ARG2$',
|
||||
}
|
||||
confdroid_nrpe::commands::definitions { 'check_puppet':
|
||||
ne_check_name => 'check_puppet',
|
||||
ne_check_cmd => 'check_procs',
|
||||
ne_cmd_argstring => '-c $ARG1$ -C $ARG2$',
|
||||
}
|
||||
confdroid_nrpe::commands::definitions { 'check_puppet_server':
|
||||
ne_check_name => 'check_puppet_server',
|
||||
ne_check_cmd => 'check_procs',
|
||||
ne_cmd_argstring => '-c $ARG1$ -a $ARG2$',
|
||||
}
|
||||
confdroid_nrpe::commands::definitions { 'check_puppetdb':
|
||||
ne_check_name => 'check_puppetdb',
|
||||
ne_check_cmd => 'check_procs',
|
||||
ne_cmd_argstring => '-c $ARG1$ -a $ARG2$',
|
||||
}
|
||||
confdroid_nrpe::commands::definitions { 'check_sshd':
|
||||
ne_check_name => 'check_sshd',
|
||||
ne_check_cmd => 'check_procs',
|
||||
ne_cmd_argstring => '-c $ARG1$ -C $ARG2$',
|
||||
}
|
||||
}
|
||||
}</pre>
|
||||
</td>
|
||||
|
||||
@@ -174,7 +174,7 @@ class confdroid_nrpe::main::dirs (
|
||||
path => $ne_run_dir,
|
||||
owner => $ne_user,
|
||||
group => $ne_user,
|
||||
mode => '0755',
|
||||
mode => '0775',
|
||||
selrange => s0,
|
||||
selrole => object_r,
|
||||
seltype => var_run_t,
|
||||
|
||||
@@ -74,37 +74,7 @@ class confdroid_nrpe::commands::definition_rules (
|
||||
confdroid_nrpe::commands::definitions { 'check_fail2ban':
|
||||
ne_check_name => 'check_fail2ban',
|
||||
ne_check_cmd => 'check_procs',
|
||||
ne_cmd_argstring => '-c $ARG1$ -C $ARG2$',
|
||||
}
|
||||
confdroid_nrpe::commands::definitions { 'check_alloy':
|
||||
ne_check_name => 'check_alloy',
|
||||
ne_check_cmd => 'check_procs',
|
||||
ne_cmd_argstring => '-c $ARG1$ -C $ARG2$',
|
||||
}
|
||||
confdroid_nrpe::commands::definitions { 'check_haproxy':
|
||||
ne_check_name => 'check_haproxy',
|
||||
ne_check_cmd => 'check_procs',
|
||||
ne_cmd_argstring => '-c $ARG1$ -C $ARG2$',
|
||||
}
|
||||
confdroid_nrpe::commands::definitions { 'check_puppet':
|
||||
ne_check_name => 'check_puppet',
|
||||
ne_check_cmd => 'check_procs',
|
||||
ne_cmd_argstring => '-c $ARG1$ -C $ARG2$',
|
||||
}
|
||||
confdroid_nrpe::commands::definitions { 'check_puppet_server':
|
||||
ne_check_name => 'check_puppet_server',
|
||||
ne_check_cmd => 'check_procs',
|
||||
ne_cmd_argstring => '-c $ARG1$ -a $ARG2$',
|
||||
}
|
||||
confdroid_nrpe::commands::definitions { 'check_puppetdb':
|
||||
ne_check_name => 'check_puppetdb',
|
||||
ne_check_cmd => 'check_procs',
|
||||
ne_cmd_argstring => '-c $ARG1$ -a $ARG2$',
|
||||
}
|
||||
confdroid_nrpe::commands::definitions { 'check_sshd':
|
||||
ne_check_name => 'check_sshd',
|
||||
ne_check_cmd => 'check_procs',
|
||||
ne_cmd_argstring => '-c $ARG1$ -C $ARG2$',
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ class confdroid_nrpe::main::dirs (
|
||||
path => $ne_run_dir,
|
||||
owner => $ne_user,
|
||||
group => $ne_user,
|
||||
mode => '0755',
|
||||
mode => '0775',
|
||||
selrange => s0,
|
||||
selrole => object_r,
|
||||
seltype => var_run_t,
|
||||
|
||||
Reference in New Issue
Block a user