mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-01 00:24:21 +02:00
Created Pushover transport, requires testing
Moved print_r references to top for debug Modified Pushover transport, testing required Pushover transport, fixed syntax issue Pushover transport, fixed another syntax issue Pushover transport, added debug Pushover transport, updated message code Pushover transport, debug Pushover transport, testing new code Pushover transport, adding more parameters and adding debug parameters Pushover transport, added severity level support Pushover transport, modified severity level code Pushover transport, updated severity code Pushover transport, debugging severity level Pushover transport, more debugging Pushover transport, debugging sound Pushover transport, fixed sound syntax issue Pushover transport, debugging sound API Pushover transport, adjusted sound code Updated contributors file to add myself Updated Alerting doc to include Pushover Pushover transport, modified code Pushover transport, fixed syntax error Pushover transport, removed debug code Ready for deployment Pushover transport, updated copyright
This commit is contained in:
@@ -15,6 +15,7 @@ Table of Content:
|
||||
- [Slack](#transports-slack)
|
||||
- [HipChat](#transports-hipchat)
|
||||
- [PagerDuty](#transports-pagerduty)
|
||||
- [Pushover](#transports-pushover)
|
||||
- [Entities](#entities)
|
||||
- [Devices](#entity-devices)
|
||||
- [BGP Peers](#entity-bgppeers)
|
||||
@@ -265,6 +266,31 @@ That's it!
|
||||
|
||||
__Note__: Currently ACK notifications are not transported to PagerDuty, This is going to be fixed within the next major version (version by date of writing: 2015.05)
|
||||
|
||||
## <a name="transports-pushover">Pushover</a>
|
||||
|
||||
Enabling Pushover support is fairly easy, there are only two required parameters.
|
||||
|
||||
Firstly you need to create a new Application (called LibreNMS, for example) in your account on the Pushover website (https://pushover.net/apps)
|
||||
|
||||
Now copy your API Token/Key from the newly created Application and setup the transport in your config.php like:
|
||||
|
||||
```php
|
||||
$config['alert']['transports']['pushover'][] = array(
|
||||
"appkey" => 'APPLICATIONAPIKEYGOESHERE',
|
||||
"userkey" => 'USERKEYGOESHERE',
|
||||
);
|
||||
```
|
||||
|
||||
To modify the Critical alert sound, add the 'sound_critical' parameter, example:
|
||||
|
||||
```php
|
||||
$config['alert']['transports']['pushover'][] = array(
|
||||
"appkey" => 'APPLICATIONAPIKEYGOESHERE',
|
||||
"userkey" => 'USERKEYGOESHERE',
|
||||
"sound_critical" => 'siren',
|
||||
);
|
||||
```
|
||||
|
||||
# <a name="entities">Entities
|
||||
|
||||
Entities as described earlier are based on the table and column names within the database, if you are ensure of what the entity is you want then have a browse around inside MySQL using `show tables` and `desc <tablename>`.
|
||||
|
||||
Reference in New Issue
Block a user