diff --git a/config.ini.example b/config.ini.example new file mode 100644 index 0000000..01b63ac --- /dev/null +++ b/config.ini.example @@ -0,0 +1,20 @@ +[opnsense] +url: https://192.168.1.1/api/core/firmware/status +self_signed: true +api_key: +api_secret: + +[emitter] +emitter: pushover +#emitter: telegram +#emitter: +# pushover +# telegram + +[pushover] +app_token: +user_token: + +[telegram] +token: +chatid: diff --git a/main.py b/main.py index 01ac301..bac0aee 100755 --- a/main.py +++ b/main.py @@ -2,7 +2,6 @@ # vim: set ts=4 sts=4 et sw=4 ft=python: # Python Modules -from pprint import pprint import json # Parse JSON from OPNsense import sys # Arguments and exit calls import argparse # Options