Hmm. The billing code was, I think, written for version 2 or 3. It looks like we'll need to rewrite some stuff if they've discontinued that.
Adam.
Sent from BlueMail
On 22 Jul 2016, 17:02, at 17:02, Andy Lemin andy@brandwatch.com wrote:
PS; There was no mention of versions in the steps, and so we installed 4.0 as thats the only one you can download. Is that ok?
And extracted into;
/opt/observium/html/includes/jpgraph
so we have;
/opt/observium/html/includes/jpgraph/src/jpg-config.inc.php
And we commented out this one line;
//define('DEFAULT_THEME_CLASS', 'UniversalTheme');
Thanks, Andy.
On Fri, Jul 22, 2016 at 4:42 PM, Andy Lemin andy@brandwatch.com wrote:
Hi,
We are running the latest paid version, and turned on Billing last
week.
The cronjob is running fine but nothing comes up in the web
interface?
We followed; http://www.observium.org/docs/billing/
conrtab -l shows;
# Billing
*/5 * * * * root php /opt/observium/poll-billing.php >>
/dev/null
2>&1
1 * * * * root php /opt/observium/billing-calculate.php >> /dev/null 2>&1
And we have this in our config.php;
// Billing
$config['enable_billing'] = 1; # Enable Billing
$config['billing']['customer_autoadd'] = 1; # Enable Auto-add bill
per
customer
$config['billing']['circuit_autoadd'] = 1; # Enable Auto-add bill
per
circuit_id
$config['billing']['bill_autoadd'] = 1; # Enable Auto-add bill
per
bill_id
However nothing is being auto added?
So we added a bill manually, and when running the cronjob scripts
manually
all seems to work fine, but after leaving it for a week (so data
could
build up) we still see this JpGraph error;
Thanks, Andy.
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium