# 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. [![image-1667567668009.png](https://pandorafms.com/guides/public/uploads/images/gallery/2022-11/scaled-1680-/image-1667567668009.png)](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. [![image-1667567677309.png](https://pandorafms.com/guides/public/uploads/images/gallery/2022-11/scaled-1680-/image-1667567677309.png)](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. [![image-1667567702762.png](https://pandorafms.com/guides/public/uploads/images/gallery/2022-11/scaled-1680-/image-1667567702762.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2022-11/image-1667567702762.png) [![image-1667567714796.png](https://pandorafms.com/guides/public/uploads/images/gallery/2022-11/scaled-1680-/image-1667567714796.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** [![image-1667568014294.png](https://pandorafms.com/guides/public/uploads/images/gallery/2022-11/scaled-1680-/image-1667568014294.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2022-11/image-1667568014294.png) [![image-1667568045159.png](https://pandorafms.com/guides/public/uploads/images/gallery/2022-11/scaled-1680-/image-1667568045159.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2022-11/image-1667568045159.png) # Parameters
ParameterDescription
--token
your application's API token (required)
--useryour 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)
--messageyour message (required)
--htmlset 1 to activate HTML parsing
--prioritya value of -2, -1, 0 (default), 1, or 2
--timestampa Unix timestamp of one hour to display instead of when our API received it
--titlethe title of your message, otherwise the name of your application will be used
--urla supplementary URL to display with your message
--url\_titlea title for the URL specified as the url parameter, otherwise only the URL is displayed
--devicethe name of one of your devices to send only to that device instead of all devices
--attachmentan 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'.
--soundthe 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> ] [ --url_title <url title> ] [ --device <device > ] [ --attachment <image> ] [ --sound <sound name> ] ``` [![image-1667224475469.png](https://pandorafms.com/guides/public/uploads/images/gallery/2022-10/scaled-1680-/image-1667224475469.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2022-10/image-1667224475469.png) View of messages in the app. [![image-1667224500988.png](https://pandorafms.com/guides/public/uploads/images/gallery/2022-10/scaled-1680-/image-1667224500988.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2022-10/image-1667224500988.png)