Billing
From Observium
Contents |
What Billing is and is not
It is billing. It is not a giant ostrich. (fixme!)
Enabling Billing
config.php
Enable the billing code in your config.php by adding the following line:
$config['enable_billing'] = 1;
Scheduling Poller
Add the following line to your crontab to enable the separate billing poller. Please note that this poller currently doesn't allow multiple instances.
The status of each bill is generated periodically by another script, which you can run at different intervals.
*/5 * * * * observium /opt/observium/poll-billing.php >> /dev/null 2>&1 23 * * * * observium /opt/observium/billing-calculate.php >> /dev/null 2>&1
If you don't run your poller as observium, change the user. Similarly change the path if you didn't install to /opt/observium.
Configure a Bill
You can now go to the "Ports" menu on your Observium installation and click the new "Billing" option. This will take you to a page where you can view existing bills and add new ones.