Pandora FMS Community

Bug in combined alerts

yduma · 22 oct 2008, 3:55 · 8 mensajes · 57 visitas

  1. Inicio del debate

    Hello. 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!

  2. Let me test it

  3. Ok, I saw it, I'm going to open the bug, thank you very much

  4. 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!

  5. 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

  6. Mate, this bug was solved long time ago :)

  7. Sorry, but 3 week's ago I donwload pandora v2, and there is this bug.

  8. I downloaded the branches version a week ago, and it works fine, so it's fixed

Entra en tu cuenta para publicar.