I'm guessing he has no rDNS.
I would probably make static entries based on their IP address and network segment. For example ap-ams-10-11-12-13.
Kind regards,
GJ
Pet,
If you have a list of their IPs, you can generate a reverse dns entry of each by doing a NSlookup, take the results and formulate a /etc/hosts entry for each, then pass the rdns names into Observium for discovery of services. The DNS entries to not need to be known in advance this way.
Get the names for your hosts file:
For ip in ${iplist[@}; do
Echo –e –n “$ip\t”
Nslookup $ip | grep <fordnsname>
}
This way you just need their IP addresses (and a functioning rdns entry) to get all of the devices into the software.
Sincerely,
Jesse
From: observium [mailto:observium-bounces@observium.org] On Behalf Of dorje2007@seznam.cz
Sent: Friday, February 13, 2015 8:50 AM
To: Observium Network Observation System
Subject: Re: [Observium] Auto Discovery without sysNames
Dear Tristan
thanks, i know about that. however i was asking for workaround, because once the device is located in the /etc/hosts file, then i do not need to discover it ( in a certain sense ) , cause it is known :-).
The point is that i have a hundreds of Cisco AP's and dozen of switches all around the world, that i do not now about their IP's and particular location..
They all have CDP running so i would have to first log to those switches and check their names,neighbors, relations and so on. And this i would like to avoid. Different departments configure devices and not all of them are known ( we operate in 60 countries ).
So is there a way to discover them without being known by the DNS or hosts file ? ( there is a netdisco tool, that can manage it , however i prefer Observium cause it is more powerful )
Many Thanks
Pet .
---------- Původní zpráva ----------
Od: Tristan Rhodes <tristanrhodes@weber.edu>
Komu: Observium Network Observation System <observium@observium.org>
Datum: 13. 2. 2015 16:04:15
Předmět: Re: [Observium] Auto Discovery without sysNames
Pet,
The wiki you linked to has the solution:
Alternative: Add lines to the "/etc/hosts" file on Observium that match the hostnames and domains that you have configured in your devices.
Tristan Rhodes
Network EngineerWeber State University
801.626.8549
On Fri, Feb 13, 2015 at 7:13 AM, <dorje2007@seznam.cz> wrote:
Hi
I've started you use Observium mand must say I'm very impressed :-). Very useful and comfortable tool
I have question regarding the autodiscovery feature. I read the do here , http://www.observium.org/wiki/Device_Autodiscovery, and one of the condition is that sysName and device name must be same, or resolvable.
In our scalable design all over the world it is very difficult, cause there are about 80 domains and strong of the domain itself takes about 20 characters, so we use only hostname resolvable via /etc/hosts. We also cannot use DNS, cause AD DNS is processed by the other department ( in Asia :-) , and it would take a weeks to synchronize it.
So the question is, how can i workaround the auto discovery without same sysName and the hostname ? As far as get it, sysName only contains the domain extension of the hostname.
we have about 300 routers/switches, so we want to discover them automatically.
many thanks
Pet
_______________________________________________
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=
--
This message has been scanned for viruses and dangerous content and isbelieved to be clean.