Hi Rudolf, auto discovery does indeed work, we use it every day to autodiscover new devices via BGP neighbors and CDP/LLDP neighbors.
1. use the add_device script that comes with observium, it will handle trying to add the same device twice. 2. hostname changes is best handled with the rename_device script also in your observium folder
/Markus
2015-07-07 18:23 GMT+02:00 Rudolf Hoehler rudolf@saicomvoice.co.za:
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,
- 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
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium