Pushover

With this plugin you can interact with all the pushover messaging API options to send messages to devices. These options are: toker, user, message, attachment, device, html, priority, sound, timestamp, title, url, and url_title.

Introduction

Ver. 31-10-2022

With this plugin you can interact with all the pushover messaging API options to send messages to devices. These options are: toker, user, message, attachment, device, html, priority, sound, timestamp, title, url, and url_title.

Tipo: Server plug-in / can also be configured as an agent plug-in.

Compatibility matrix

Systems where it has been tested

CentOS 7 / RHEL 8 / RockyLinux 8

Systems where it should work

Cualquier sistema linux 

Pre requisites

Configuration

Create plugin alert

To configure a plugin alert you must enter the command to execute the plugin and its parameters, for this you must create an alert command.

In this menu you can use the macro _field<X>_ that will contain the value of the attributes.

 

image-1667567668009.png

The parameters can be filled in below in the fields, each one referring to the macros used, and certain values can be hidden using the HIde option.

 

image-1667567677309.png

The next step is to create an alert action that will call the previously created command.

image-1667567702762.png

image-1667567714796.png

Example of message created by the alert in the application view

image-1667568014294.png

image-1667568045159.png

Parameters

Parameter Description
--token
your application's API token (required)
--user your user/group key (or that of your target user), visible when logging into our control panel; often referred to as USER_KEY in our documentation and code samples (required)
--message your message (required)
--html set 1 to activate HTML parsing
--priority a value of -2, -1, 0 (default), 1, or 2
--timestamp a Unix timestamp of one hour to display instead of when our API received it
--title the title of your message, otherwise the name of your application will be used
--url a supplementary URL to display with your message
--url_title a title for the URL specified as the url parameter, otherwise only the URL is displayed
--device the name of one of your devices to send only to that device instead of all devices
--attachment an attached image to send with the message. You must put the path to the image, followed by the image name and the image format, separated by '|' , for example : '/home/alejandro/Documentos/pushover/icono.jpg|icono.jpg|jpeg'.
--sound the name of a supported sound to override its default sound choice

Manual execution

./pandora_pushover --token <token> --user <user key> --message <message> [ --html < 1 for activate> ] [ --priority <number priority> ] [ --timestamp <timestamp> ] [ --title <title> ] [ --url <url> ] [ --url_title <url title> ] [ --device <device > ] [ --attachment <image> ] [ --sound <sound name> ]

image-1667224475469.png

View of messages in the app.

image-1667224500988.png