# Pushover
# 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
- Have the Pandora FMS Data Server enabled
- Have the Pandora FMS Plugin Server enabled
# 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.
[](https://pandorafms.com/guides/public/uploads/images/gallery/2022-11/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.
[](https://pandorafms.com/guides/public/uploads/images/gallery/2022-11/image-1667567677309.png)
The next step is to create an alert action that will call the previously created command.
[](https://pandorafms.com/guides/public/uploads/images/gallery/2022-11/image-1667567702762.png)
[](https://pandorafms.com/guides/public/uploads/images/gallery/2022-11/image-1667567714796.png)
**Example of message created by the alert in the application view**
[](https://pandorafms.com/guides/public/uploads/images/gallery/2022-11/image-1667568014294.png)
[](https://pandorafms.com/guides/public/uploads/images/gallery/2022-11/image-1667568045159.png)
# Parameters
Parameter | Description |
| 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 --user --message [ --html < 1 for activate> ] [ --priority ] [ --timestamp ] [ --title ] [ --url ] [ --url_title ] [ --device ] [ --attachment ] [ --sound ]
```
[](https://pandorafms.com/guides/public/uploads/images/gallery/2022-10/image-1667224475469.png)
View of messages in the app.
[](https://pandorafms.com/guides/public/uploads/images/gallery/2022-10/image-1667224500988.png)