Hi Rudolph,

It depends exactly what you're wanting to do, but by far the easiest way is just to use the add_device.php script! It checks for duplicates and makes sure things are correctly reachable before adding.

adam.

Sent from Mailbird

On 07/07/2015 17:24:32, Rudolf Hoehler <rudolf@saicomvoice.co.za> wrote:

Hello Team,

Please can you assist me with the auto discovery. It’s not working… :)

I read in a mailing list archive dated Nov 2014, that it actually doesn’t work? Is this still the case?

Can I write my own script that adds devices from the backend? Should I use an API call or can I insert into the database directly?

Further to that,
  1. What happens if I try to add the same device again? Thinking from an automated system, the same hostname might have multiple interfaces that it is reachable on?
  2. What happens if we change a device’s host name – does observium create a new device? What is best practice when administering the system wrt device swop outs or hostname changes?
Regards,

Rudolf