Null data billing module API
Hi all,
I'm trying to port billing data out of observium via the simple API but I'm only getting null data as below:
{"login":{"success":{"code":"101","msg":"User authentification succeeded"}},"data":[{"timestamp":null,"traf_total": null,"traf_in":null,"traf_out":null},{"timestamp":null," traf_total":null,"traf_in":null,"traf_out":null},{" timestamp":null,"traf_total":null,"traf_in":null,"traf_out" :null},{"timestamp":null,"traf_total":null,"traf_in":null,"traf_out":null}
Any ideas on what could be causing this ?
Regards, Daniel
more info
[image: Inline image 1]
On Fri, Jan 10, 2014 at 12:51 AM, Daniel Rolfe daniel.rolfe.au@gmail.comwrote:
Hi all,
I'm trying to port billing data out of observium via the simple API but I'm only getting null data as below:
{"login":{"success":{"code":"101","msg":"User authentification succeeded"}},"data":[{"timestamp":null,"traf_total": null,"traf_in":null,"traf_out":null},{"timestamp":null," traf_total":null,"traf_in":null,"traf_out":null},{" timestamp":null,"traf_total":null,"traf_in":null,"traf_out" :null},{"timestamp":null,"traf_total":null,"traf_in":null,"traf_out":null}
Any ideas on what could be causing this ?
Regards, Daniel
Just to follow up on this for anyone else, this issue was related to the encryption. I'm my case I've disabled it as it's a local network api call but if not, decryption would have been required.
Regards Daniel
Sent from my iPhone
On 10 Jan 2014, at 12:55 am, Daniel Rolfe daniel.rolfe.au@gmail.com wrote:
more info
<image.png>
On Fri, Jan 10, 2014 at 12:51 AM, Daniel Rolfe daniel.rolfe.au@gmail.com wrote: Hi all,
I'm trying to port billing data out of observium via the simple API but I'm only getting null data as below:
{"login":{"success":{"code":"101","msg":"User authentification succeeded"}},"data":[{"timestamp":null,"traf_total":null,"traf_in":null,"traf_out":null},{"timestamp":null,"traf_total":null,"traf_in":null,"traf_out":null},{"timestamp":null,"traf_total":null,"traf_in":null,"traf_out":null},{"timestamp":null,"traf_total":null,"traf_in":null,"traf_out":null}
Any ideas on what could be causing this ?
Regards, Daniel
Hi Daniel,
I have 0.0 experience with the API, but I guess that's a bug? Would you mind creating a bug on our Jira instance and describing your setup/what went wrong/what didn't?
Thanks! Tom
On 11/01/2014 06:29, Daniel Rolfe wrote:
Just to follow up on this for anyone else, this issue was related to the encryption. I'm my case I've disabled it as it's a local network api call but if not, decryption would have been required.
Regards Daniel
Sent from my iPhone
On 10 Jan 2014, at 12:55 am, Daniel Rolfe <daniel.rolfe.au@gmail.com mailto:daniel.rolfe.au@gmail.com> wrote:
more info
<image.png>
On Fri, Jan 10, 2014 at 12:51 AM, Daniel Rolfe <daniel.rolfe.au@gmail.com mailto:daniel.rolfe.au@gmail.com> wrote:
Hi all, I'm trying to port billing data out of observium via the simple API but I'm only getting null data as below: {"login":{"success":{"code":"101","msg":"User authentification succeeded"}},"data":[{"timestamp":null,"traf_total":null,"traf_in":null,"traf_out":null},{"timestamp":null,"traf_total":null,"traf_in":null,"traf_out":null},{"timestamp":null,"traf_total":null,"traf_in":null,"traf_out":null},{"timestamp":null,"traf_total":null,"traf_in":null,"traf_out":null} Any ideas on what could be causing this ? Regards, Daniel
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
HI,
I don't think it's a bug, the doco says if you have encryption on and you don't decrypt you will get the null value or "data":[]
mind you I can't find where I read that now :-|
Regards, Daniel
On Sun, Jan 12, 2014 at 10:32 AM, Tom Laermans tom.laermans@powersource.cxwrote:
Hi Daniel,
I have 0.0 experience with the API, but I guess that's a bug? Would you mind creating a bug on our Jira instance and describing your setup/what went wrong/what didn't?
Thanks! Tom
On 11/01/2014 06:29, Daniel Rolfe wrote:
Just to follow up on this for anyone else, this issue was related to the encryption. I'm my case I've disabled it as it's a local network api call but if not, decryption would have been required.
Regards Daniel
Sent from my iPhone
On 10 Jan 2014, at 12:55 am, Daniel Rolfe daniel.rolfe.au@gmail.com wrote:
more info
<image.png>
On Fri, Jan 10, 2014 at 12:51 AM, Daniel Rolfe daniel.rolfe.au@gmail.comwrote:
Hi all,
I'm trying to port billing data out of observium via the simple API but I'm only getting null data as below:
{"login":{"success":{"code":"101","msg":"User authentification succeeded"}},"data":[{"timestamp":null,"traf_total": null,"traf_in":null,"traf_out":null},{"timestamp":null," traf_total":null,"traf_in":null,"traf_out":null},{" timestamp":null,"traf_total":null,"traf_in":null,"traf_out" :null},{"timestamp":null,"traf_total":null,"traf_in": null,"traf_out":null}
Any ideas on what could be causing this ?
Regards, Daniel
observium mailing listobservium@observium.orghttp://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (2)
-
Daniel Rolfe
-
Tom Laermans