Compare commits
1 Commits
master
...
3ac525b0a0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3ac525b0a0 |
@@ -186,32 +186,7 @@
|
||||
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>
|
||||
85</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/commands/definition_rules.pp', line 12</span>
|
||||
@@ -281,38 +256,13 @@ 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$',
|
||||
ne_cmd_argstring => '-c $ARG1$ -a $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>
|
||||
|
||||
@@ -74,37 +74,12 @@ 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$',
|
||||
ne_cmd_argstring => '-c $ARG1$ -a $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$',
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user