Compare commits
1 Commits
master
...
438453fa01
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
438453fa01 |
@@ -181,37 +181,7 @@
|
|||||||
77
|
77
|
||||||
78
|
78
|
||||||
79
|
79
|
||||||
80
|
80</pre>
|
||||||
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>
|
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/commands/definition_rules.pp', line 12</span>
|
<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':
|
confdroid_nrpe::commands::definitions { 'check_fail2ban':
|
||||||
ne_check_name => 'check_fail2ban',
|
ne_check_name => 'check_fail2ban',
|
||||||
ne_check_cmd => 'check_procs',
|
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$',
|
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>
|
}</pre>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -74,37 +74,7 @@ class confdroid_nrpe::commands::definition_rules (
|
|||||||
confdroid_nrpe::commands::definitions { 'check_fail2ban':
|
confdroid_nrpe::commands::definitions { 'check_fail2ban':
|
||||||
ne_check_name => 'check_fail2ban',
|
ne_check_name => 'check_fail2ban',
|
||||||
ne_check_cmd => 'check_procs',
|
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$',
|
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