change requirement
This commit is contained in:
@@ -41,27 +41,32 @@ class confdroid_nrpe::commands::definition_rules (
|
|||||||
# basic example rules
|
# basic example rules
|
||||||
|
|
||||||
confdroid_nrpe::commands::definitions { 'check_users':
|
confdroid_nrpe::commands::definitions { 'check_users':
|
||||||
|
ne_check_name => 'check_users',
|
||||||
ne_check_cmd => 'check_users',
|
ne_check_cmd => 'check_users',
|
||||||
ne_cmd_argstring => '-w $ARG1$ -c $ARG2$',
|
ne_cmd_argstring => '-w $ARG1$ -c $ARG2$',
|
||||||
ne_cmd_comment => 'check the amount of user logged in locally',
|
ne_cmd_comment => 'check the amount of user logged in locally',
|
||||||
}
|
}
|
||||||
|
|
||||||
confdroid_nrpe::commands::definitions { 'check_load':
|
confdroid_nrpe::commands::definitions { 'check_load':
|
||||||
|
ne_check_name => 'check_load',
|
||||||
ne_check_cmd => 'check_load',
|
ne_check_cmd => 'check_load',
|
||||||
ne_cmd_argstring => '-w $ARG1$ -c $ARG2$',
|
ne_cmd_argstring => '-w $ARG1$ -c $ARG2$',
|
||||||
}
|
}
|
||||||
|
|
||||||
confdroid_nrpe::commands::definitions { 'check_disk':
|
confdroid_nrpe::commands::definitions { 'check_disk':
|
||||||
|
ne_check_name => 'check_disk',
|
||||||
ne_check_cmd => 'check_disk',
|
ne_check_cmd => 'check_disk',
|
||||||
ne_cmd_argstring => '-w $ARG1$ -c $ARG2$ -p $ARG3$',
|
ne_cmd_argstring => '-w $ARG1$ -c $ARG2$ -p $ARG3$',
|
||||||
}
|
}
|
||||||
|
|
||||||
confdroid_nrpe::commands::definitions { 'check_procs':
|
confdroid_nrpe::commands::definitions { 'check_procs':
|
||||||
|
ne_check_name => 'check_procs',
|
||||||
ne_check_cmd => 'check_procs',
|
ne_check_cmd => 'check_procs',
|
||||||
ne_cmd_argstring => '-w $ARG1$ -c $ARG2$ -s $ARG3$',
|
ne_cmd_argstring => '-w $ARG1$ -c $ARG2$ -s $ARG3$',
|
||||||
}
|
}
|
||||||
|
|
||||||
confdroid_nrpe::commands::definitions { 'check_swap':
|
confdroid_nrpe::commands::definitions { 'check_swap':
|
||||||
|
ne_check_name => 'check_swap',
|
||||||
ne_check_cmd => 'check_swap',
|
ne_check_cmd => 'check_swap',
|
||||||
ne_cmd_argstring => '-w $ARG1$ -c $ARG2$',
|
ne_cmd_argstring => '-w $ARG1$ -c $ARG2$',
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user