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