Hello Guys,
Thanks for the feedback - Very useful!
What I thought Auto Discovery would be is an nmap running across the subnets on config.php every couple of hours, pulling the hostname via SNMP if the IP is live, and the hostname and then add the host to observium?
Sounds easy!? ;D
With the info I have now I should be able to onbaord my network quick enough though. The only difference would be I will only be adding devices I know about it. It would be great if Observium could pick up devices I don't know about (I inherited this network so there are a couple of undocumented devices.)
Regards,
Rudolf
From: Markus Klock <markus@best-practice.semailto:markus@best-practice.se> Reply-To: Observium Network Observation System <observium@observium.orgmailto:observium@observium.org> Date: Wednesday 08 July 2015 at 10:16 To: Observium Network Observation System <observium@observium.orgmailto:observium@observium.org> Subject: Re: [Observium] Auto Discovery/Automate adding devices.
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.zamailto: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,
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
_______________________________________________ observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium