Update plugin parameter
This commit is contained in:
parent
7e6a84ad45
commit
de2075c553
|
@ -65,11 +65,7 @@ function create_module_latency_goliat($id_agent, $module_name, $id_group, $url_s
|
||||||
'id_export' => '0',
|
'id_export' => '0',
|
||||||
'plugin_user' => '',
|
'plugin_user' => '',
|
||||||
'plugin_pass' => '0',
|
'plugin_pass' => '0',
|
||||||
'plugin_parameter' => 'task_begin
|
'plugin_parameter' => io_safe_input("task_begin\nget $url_search\nresource 1\ncheck_string $url_search\ntask_end\n"),
|
||||||
get '.$url_search.'
|
|
||||||
resource 1
|
|
||||||
'.$str_search.'
|
|
||||||
task_end',
|
|
||||||
'id_plugin' => '0',
|
'id_plugin' => '0',
|
||||||
'post_process' => '0',
|
'post_process' => '0',
|
||||||
'prediction_module' => '0',
|
'prediction_module' => '0',
|
||||||
|
@ -157,13 +153,9 @@ function create_module_status_goliat($id_agent, $module_name, $id_group, $url_se
|
||||||
'tcp_rcv' => '',
|
'tcp_rcv' => '',
|
||||||
'tcp_send' => '',
|
'tcp_send' => '',
|
||||||
'id_export' => '0',
|
'id_export' => '0',
|
||||||
'plugin_user' => '',
|
'plugin_user' => io_safe_input('Pandora FMS / Webcheck'),
|
||||||
'plugin_pass' => '0',
|
'plugin_pass' => '1',
|
||||||
'plugin_parameter' => 'task_begin
|
'plugin_parameter' => io_safe_input("task_begin\nget $url_search\nresource 1\ncheck_string $url_search\ntask_end\n"),
|
||||||
get '.$url_search.'
|
|
||||||
resource 1
|
|
||||||
'.$str_search.'
|
|
||||||
task_end',
|
|
||||||
'id_plugin' => '0',
|
'id_plugin' => '0',
|
||||||
'post_process' => '0',
|
'post_process' => '0',
|
||||||
'prediction_module' => '0',
|
'prediction_module' => '0',
|
||||||
|
|
Loading…
Reference in New Issue