Page 1 of 1

Send LibreNMS notifications via Pushsafer

Posted: 24. Mar 2024, 13:01
by Heronimus
I'm using LibreNMS for monitoring devices over my network. When something defined as WARNING or CRITICAL happens, LibreNMS has an option to create notifications (alert transport) to other systems via API.

I'm finding out how this works, but I can't find the correct information. Maybe somebody who can assist?
Below are the fields I have to fill in:
API Method: options GET / POST / PUSH
API URL:
OPTIONS: Enter the options (format: option=value separated by new lines)
headers:Enter the options (format: option=value separated by new lines)
body: Enter the body (only used by PUT/POST method, discarded GET
Auth Username:
Auth Password:

Re: Send LibreNMS notifications via Pushsafer

Posted: 24. Mar 2024, 19:09
by admin
API Method: POST
API URL: https://www.pushsafer.com/api
headers: Content-type=application/x-www-form-urlencoded
body: k=YourPrivateKey&d=YourDeviceI&t=Your title&m=Your Message&i=5

Hope that works!

In the body you can add more pushsafer parameter to customize your push notification.

Please give us a feedback!

Kind Regards
Kevin
Heronimus wrote:
24. Mar 2024, 13:01
I'm using LibreNMS for monitoring devices over my network. When something defined as WARNING or CRITICAL happens, LibreNMS has an option to create notifications (alert transport) to other systems via API.

I'm finding out how this works, but I can't find the correct information. Maybe somebody who can assist?
Below are the fields I have to fill in:
API Method: options GET / POST / PUSH
API URL:
OPTIONS: Enter the options (format: option=value separated by new lines)
headers:Enter the options (format: option=value separated by new lines)
body: Enter the body (only used by PUT/POST method, discarded GET
Auth Username:
Auth Password: