Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

Welcome to Pandora FMS Community Forums Community support Advanced troubleshooting Adding alert on existing module through the XML File

  • Adding alert on existing module through the XML File

  • Christophe

    Member
    April 15, 2022 at 09:36
    172 Karma points
    Community rank: Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    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

  • Sancho

    Administrator
    April 16, 2022 at 12:52
    2040 Karma points
    Community awards: Bright ideas
    Community rank: Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    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.

Viewing 1 - 2 of 2 replies