2014-11-28 01:26:28 +01:00
|
|
|
# Billing Module
|
|
|
|
|
2014-01-28 20:44:04 +00:00
|
|
|
To enable and use the billing module you need to perform the following steps:
|
|
|
|
|
2014-11-28 01:26:28 +01:00
|
|
|
Edit `config.php` and add (or enable) the following line near the end of the config
|
|
|
|
|
|
|
|
```php
|
|
|
|
$config['enable_billing'] = 1; # Enable Billing
|
|
|
|
```
|
|
|
|
|
|
|
|
Edit `/etc/cron.d/librenms` and add the following:
|
2014-01-28 20:44:04 +00:00
|
|
|
|
2014-11-28 01:26:28 +01:00
|
|
|
```bash
|
2015-08-13 11:36:08 +02:00
|
|
|
*/5 * * * * librenms /opt/librenms/poll-billing.php >> /dev/null 2>&1
|
|
|
|
01 * * * * librenms /opt/librenms/billing-calculate.php >> /dev/null 2>&1
|
2014-11-28 01:26:28 +01:00
|
|
|
```
|
2014-01-28 20:44:04 +00:00
|
|
|
|
2015-08-13 11:36:08 +02:00
|
|
|
Create billing graphs as required.
|