As far as I know In python we have only one way to send notifications:
Code: Select all
use urllib to fetch
http://127.0.0.1:8080/json.htm?param=sendnotification&type=command&subject=<subject>&body=<body>
So the command would be something like:
Code: Select all
http://127.0.0.1:8080/json.htm?param=sendnotification&type=command&system=notificationsystems&subject=<subject>&body=<body>
This is already implemented via LUA,
can we have the same on python via JSON/API or by exporting notification parameters (to avoid end user intervention to be required)?