Interactive
arditrigger.Interactive is used to turn your script into something that can be used as a service or through command-line parameters.
Parameters
Name | Default | Meaning |
---|---|---|
host | localhost | The ARDI host name |
site | default | The ARDI database/site |
name | ARDI Trigger Application | The name of the application (used in outputs) |
desc | Live Data Response | A description of the application |
output | config.json | The file name containing the modular output system settings |
Description
This function starts processing your triggers according to the users needs.
Users running the script may want to include one or more of the parameters.
Example
arditrigger.Interactive("myserver","mysite","Outage Detector","Detects outages")
This function allows the user to pass command-line parameters