mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-03 00:11:49 +02:00
Added Boxcar support to the docs.
This commit is contained in:
@@ -16,6 +16,7 @@ Table of Content:
|
|||||||
- [HipChat](#transports-hipchat)
|
- [HipChat](#transports-hipchat)
|
||||||
- [PagerDuty](#transports-pagerduty)
|
- [PagerDuty](#transports-pagerduty)
|
||||||
- [Pushover](#transports-pushover)
|
- [Pushover](#transports-pushover)
|
||||||
|
- [Boxcar](#transports-boxcar)
|
||||||
- [Entities](#entities)
|
- [Entities](#entities)
|
||||||
- [Devices](#entity-devices)
|
- [Devices](#entity-devices)
|
||||||
- [BGP Peers](#entity-bgppeers)
|
- [BGP Peers](#entity-bgppeers)
|
||||||
@@ -309,6 +310,26 @@ $config['alert']['transports']['pushover'][] = array(
|
|||||||
);
|
);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## <a name="transports-boxcar">Boxcar</a>
|
||||||
|
|
||||||
|
Enabling Boxcar support is super easy.
|
||||||
|
Copy your access token from the Boxcar app or from the Boxcar.io website and setup the transport in your config.php like:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$config['alert']['transports']['boxcar'][] = array(
|
||||||
|
"access_token" => 'ACCESSTOKENGOESHERE',
|
||||||
|
);
|
||||||
|
```
|
||||||
|
|
||||||
|
To modify the Critical alert sound, add the 'sound_critical' parameter, example:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$config['alert']['transports']['boxcar'][] = array(
|
||||||
|
"access_token" => 'ACCESSTOKENGOESHERE',
|
||||||
|
"sound_critical" => 'detonator-charge',
|
||||||
|
);
|
||||||
|
```
|
||||||
|
|
||||||
# <a name="entities">Entities
|
# <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>`.
|
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