Added new params {critical,warning}_inverse to set {create,update}_{network,plugin,data}_module APIs.
This commit is contained in:
parent
8fb8d97942
commit
01b08f8569
|
@ -1550,7 +1550,9 @@ function api_set_create_network_module($id, $thrash1, $other, $thrash3) {
|
|||
'each_ff' => $other['data'][24],
|
||||
'min_ff_event_normal' => $other['data'][25],
|
||||
'min_ff_event_warning' => $other['data'][26],
|
||||
'min_ff_event_critical' => $other['data'][27]
|
||||
'min_ff_event_critical' => $other['data'][27],
|
||||
'critical_inverse' => $other['data'][28],
|
||||
'warning_inverse' => $other['data'][29]
|
||||
);
|
||||
|
||||
if ( ! $values['descripcion'] ) {
|
||||
|
@ -1644,7 +1646,9 @@ function api_set_update_network_module($id_module, $thrash1, $other, $thrash3){
|
|||
'each_ff',
|
||||
'min_ff_event_normal',
|
||||
'min_ff_event_warning',
|
||||
'min_ff_event_critical');
|
||||
'min_ff_event_critical',
|
||||
'critical_inverse',
|
||||
'warning_inverse');
|
||||
|
||||
$values = array();
|
||||
$cont = 0;
|
||||
|
@ -1737,7 +1741,9 @@ function api_set_create_plugin_module($id, $thrash1, $other, $thrash3) {
|
|||
'each_ff' => $other['data'][29],
|
||||
'min_ff_event_normal' => $other['data'][30],
|
||||
'min_ff_event_warning' => $other['data'][31],
|
||||
'min_ff_event_critical' => $other['data'][32]
|
||||
'min_ff_event_critical' => $other['data'][32],
|
||||
'critical_inverse' => $other['data'][33],
|
||||
'warning_inverse' => $other['data'][34]
|
||||
);
|
||||
|
||||
if ( ! $values['descripcion'] ) {
|
||||
|
@ -1835,7 +1841,9 @@ function api_set_update_plugin_module($id_module, $thrash1, $other, $thrash3){
|
|||
'each_ff',
|
||||
'min_ff_event_normal',
|
||||
'min_ff_event_warning',
|
||||
'min_ff_event_critical');
|
||||
'min_ff_event_critical',
|
||||
'critical_inverse',
|
||||
'warning_inverse');
|
||||
|
||||
$values = array();
|
||||
$cont = 0;
|
||||
|
@ -1923,7 +1931,9 @@ function api_set_create_data_module($id, $thrash1, $other, $thrash3) {
|
|||
'min_ff_event_normal' => $other['data'][20],
|
||||
'min_ff_event_warning' => $other['data'][21],
|
||||
'min_ff_event_critical' => $other['data'][22],
|
||||
'ff_timeout' => $other['data'][23]
|
||||
'ff_timeout' => $other['data'][23],
|
||||
'critical_inverse' => $other['data'][24],
|
||||
'warning_inverse' => $other['data'][25]
|
||||
);
|
||||
|
||||
if ( ! $values['descripcion'] ) {
|
||||
|
@ -2013,7 +2023,9 @@ function api_set_update_data_module($id_module, $thrash1, $other, $thrash3){
|
|||
'min_ff_event_normal',
|
||||
'min_ff_event_warning',
|
||||
'min_ff_event_critical',
|
||||
'ff_timeout');
|
||||
'ff_timeout',
|
||||
'critical_inverse',
|
||||
'warning_inverse');
|
||||
|
||||
$values = array();
|
||||
$cont = 0;
|
||||
|
|
Loading…
Reference in New Issue