Pandora FMS Community

Adding alert on existing module through the XML File

Christophe · 15 abr 2022, 9:36 · 2 mensajes · 77 visitas

  1. Inicio del debate

    Hello,

    In a project, I want to add the values inserting by a python script after receiving an SNMP message. During this process, it takes time to do setting and find the best way to do.

    When I have it, I need a bit of time to see figures on field (1 month of data). After analysing them, I want to set threshold (warning and critical).

    My problem is that if I need to add it manually... as if I add it in the script, as the module is already there, when I add new informaiton in the script, these new information aren't added.

    How can I do it simply ? (without deleting the module, and lost all my history)

    thanks for support

    Christophe

  2. Import of the thresholds in the XML file is only in creation, after a module has been created you need to do it in from the interface. This is because if there were a conflict, GUI and XML will be always changing values.

    Another way you can use to alter the thresholds is by using the API or CLI.

Entra en tu cuenta para publicar.