On 26/03/2015 19:27:38, Rich Elwell <relwell@devnullsecurity.com> wrote:
Do you have an estimate for when the REST API will be available. Will that be a professional edition only feature?_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observiumOn Thu, Mar 26, 2015 at 1:51 PM, Adam Armstronf <adama@memetic.org> wrote:Yes. Don't mess with primary keys.
This is best accomplished either by using the hostname for identification or by having a separate lookup table somewhere.
The existing "api" is an external contribution and isn't supported by us. We have a new REST API in development which should appear soon...
Adam.
Sent with AquaMail for Android
http://www.aqua-mail.comOn 26 March 2015 17:18:16 Rich Elwell <relwell@devnullsecurity.com> wrote:
Thanks for the quick response. Would it be a horrible idea to set the device_id to match the numbers we already use to identify the devices?_______________________________________________On Thu, Mar 26, 2015 at 1:08 PM, Adam Armstrong <adama@memetic.org> wrote:Hi,device_id isn't set by anything other than MySQL, it's the primary key on the devices table.adam._______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observiumOn 26/03/2015 17:06:58, Rich Elwell <relwell@devnullsecurity.com> wrote:
So basically I want to be able to do something like: http://myserver/api.php?mydetails&including&device_id and have it add the device while specifying the device_id. Is that possible? If not, I'm probably going to build it.I also desire to be able to add devices programatically via an API call from an external system. I looked over the existing simple API (not extensively) but it didn't seem like that was possible.I desire to set the device_id for some of the devices to a specific value. This is not supported in the interface. It looks like I should be able to modify the code to allow me to do this, but before I do I wanted to check and see if there is already a way for me to accomplish this without having to modify the code.I do have a couple of questions.Greetings,I've recently installed observium and find that it is a great tool. Kudos for developing something so useful and easy to use.Thanks,Rich
--Rich Elwell, MS, CISSP, GCIA, CCNA, CCNA Security/dev/null
security ⋅ network*nix administration
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
--Rich Elwell, MS, CISSP, GCIA, CCNA, CCNA Security/dev/null
security ⋅ network*nix administration
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
--Rich Elwell, MS, CISSP, GCIA, CCNA, CCNA Security/dev/null
security ⋅ network*nix administration