mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 17:25:26 +02:00
Merge branch 'ent-13160-el-wizard-de-creacion-de-modulos-web-crea-un-agente-de-so-tipo-windows-y-el-mismo-nombre-de' into 'develop'
Ent 13160 el wizard de creacion de modulos web crea un agente de so tipo windows y el mismo nombre de See merge request artica/pandorafms!7076
This commit is contained in:
commit
1834446a5d
@ -48,16 +48,17 @@ if ($check_web) {
|
|||||||
if ($status_webserver === '1') {
|
if ($status_webserver === '1') {
|
||||||
$name = array_keys(servers_get_names())[0];
|
$name = array_keys(servers_get_names())[0];
|
||||||
$id_group = get_parameter('id_group', 4);
|
$id_group = get_parameter('id_group', 4);
|
||||||
|
$agent_name = get_parameter('module_name', 'Web monitoring');
|
||||||
|
|
||||||
$array_other['data'] = [
|
$array_other['data'] = [
|
||||||
'Web monitoring',
|
$agent_name,
|
||||||
'',
|
'',
|
||||||
2,
|
2,
|
||||||
$id_group,
|
$id_group,
|
||||||
0,
|
0,
|
||||||
30,
|
30,
|
||||||
30,
|
30,
|
||||||
9,
|
11,
|
||||||
$name,
|
$name,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user