Welcome to Pandora FMS Community › Forums › Community support › Bug in combined alerts
-
Bug in combined alerts
Posted by yduma on October 22, 2008 at 03:55Hello.
I found bug – If you have in same agent more than 1 combined alert and in some combined alert you have incude same alert, if you delete it for some combined alert, as a result – it will delete it for all combined alert in same agent.
regards!
manu replied 16 years, 2 months ago 2 Members · 7 Replies -
7 Replies
-
-
-
::
also I think you can make next – allow change Operation Valuse after adding alert to combined. Because you can make mistake adding, and after you need delete it and recreate.
Thank’s
and If you can – drug and drop in Visual console is good, but sometimes I need put X and Y value can you allow this possibility too?
THANKS! -
::
Hi.
I have idea how to fix it…
I think problem is in next.
for example – you have 2 combined alert – combined alert #100 and #250
and in #100 is as part #250.at Agent configuration > Alerts pressing on cross button ( delete #250) you will have link to index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&tab=alert&id_agente=158&delete_alert_comp=#250 …
I think it must be like ndex.php?sec=gagente&sec2=godmode/agentes/configurar_agente&tab=alert&id_agente=158&delete_alert_comp=250&id_alerta=100
and when you press this you must run next –
if (isset($_GET[“id_alerta”])){
$id_alerta = $_GET[“id_alerta”];
$sql1=’DELETE FROM talerta_agente_modulo WHERE id_aam = ‘.$id_borrar_modulo’ and id = ‘.$id_alerta;this in case when you want to delete combined alert as a part of another combined alert.
but when you whant to delete combined alert ( not only as a part… all, and from all other alert’s) – leave as is…
but put – on if ($id_alerta > 0) {
first way
}
else
{second}Regard’s
-
-
-