![](https://secure.gravatar.com/avatar/d18d4fde404dea8558e3858241f60b00.jpg?s=120&d=mm&r=g)
Hi,
I understand that Observium needs the hostnames to be valid, so we tweaked our hosts file with a regex to add an alias to match the device hostnames (as our initial names had some extra info in the names not on the hosts). But this appears to allow me to add devices manually but autodiscovery doesn't seem to be working. Does Observium need it to be the 'main' resolvable hostname rather than an alias?
Regards, Emma
![](https://secure.gravatar.com/avatar/21caf0a08d095be7196a1648d20942be.jpg?s=120&d=mm&r=g)
Hi Emma,
I'm not sure what you mean by "main resolvable hostname" and "alias" ?
For autodiscovery you obviously need to be able to resolve the hostname the device is broadcasting.
Tom
On 06/04/2014 11:53 AM, Cardinal-Richards, Emma wrote:
Hi,
I understand that Observium needs the hostnames to be valid, so we tweaked our hosts file with a regex to add an alias to match the device hostnames (as our initial names had some extra info in the names not on the hosts). But this appears to allow me to add devices manually but autodiscovery doesn't seem to be working. Does Observium need it to be the 'main' resolvable hostname rather than an alias?
Regards, Emma _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/d18d4fde404dea8558e3858241f60b00.jpg?s=120&d=mm&r=g)
Sorry, I meant that the alias (which matches the device hostname) is a CNAME pointing to the A record address which resolves the IP.
Regards, Emma
Emma Cardinal-Richards Senior Network Engineer Network Services Information Services Division University College London The Podium Building 1 Eversholt Street London NW1 2DN
Tel: 0203 549 5220 Extension: 65220
-----Original Message----- From: observium [mailto:observium-bounces@observium.org] On Behalf Of Tom Laermans Sent: 04 June 2014 11:57 To: Observium Network Observation System Subject: Re: [Observium] DNS Aliases
Hi Emma,
I'm not sure what you mean by "main resolvable hostname" and "alias" ?
For autodiscovery you obviously need to be able to resolve the hostname the device is broadcasting.
Tom
On 06/04/2014 11:53 AM, Cardinal-Richards, Emma wrote:
Hi,
I understand that Observium needs the hostnames to be valid, so we
tweaked our hosts file with a regex to add an alias to match the device hostnames (as our initial names had some extra info in the names not on the hosts). But this appears to allow me to add devices manually but autodiscovery doesn't seem to be working. Does Observium need it to be the 'main' resolvable hostname rather than an alias?
Regards, Emma _______________________________________________ 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
![](https://secure.gravatar.com/avatar/d18d4fde404dea8558e3858241f60b00.jpg?s=120&d=mm&r=g)
Just ran a debug on discovery from a particular host, and I can see devices getting discovered and resolved correctly. But a discovery -h all didn't add them as new devices? Am I wrong about when the autodiscover and subsequent add should happen? They do allow me to add them manually but we're talking hundreds of switches...
Cheers, Emma
-----Original Message----- From: observium [mailto:observium-bounces@observium.org] On Behalf Of Cardinal-Richards, Emma Sent: 04 June 2014 12:08 To: Observium Network Observation System Subject: Re: [Observium] DNS Aliases
Sorry, I meant that the alias (which matches the device hostname) is a CNAME pointing to the A record address which resolves the IP.
Regards, Emma
-----Original Message----- From: observium [mailto:observium-bounces@observium.org] On Behalf
Of
Tom Laermans Sent: 04 June 2014 11:57 To: Observium Network Observation System Subject: Re: [Observium] DNS Aliases
Hi Emma,
I'm not sure what you mean by "main resolvable hostname" and "alias" ?
For autodiscovery you obviously need to be able to resolve the hostname the device is broadcasting.
Tom
On 06/04/2014 11:53 AM, Cardinal-Richards, Emma wrote:
Hi,
I understand that Observium needs the hostnames to be valid, so we
tweaked our hosts file with a regex to add an alias to match the device hostnames (as our initial names had some extra info in the names not on
the
hosts). But this appears to allow me to add devices manually but autodiscovery doesn't seem to be working. Does Observium need it to be the 'main' resolvable hostname rather than an alias?
Regards, Emma _______________________________________________ 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
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/9113800bbd271c46f4585a9549d85c15.jpg?s=120&d=mm&r=g)
Have you added the ip-range of the hosts to the list of ip-ranges that should be autodiscovered?
/Markus
2014-06-04 13:32 GMT+02:00 Cardinal-Richards, Emma < e.cardinal-richards@ucl.ac.uk>:
Just ran a debug on discovery from a particular host, and I can see devices getting discovered and resolved correctly. But a discovery -h all didn't add them as new devices? Am I wrong about when the autodiscover and subsequent add should happen? They do allow me to add them manually but we're talking hundreds of switches...
Cheers, Emma
-----Original Message----- From: observium [mailto:observium-bounces@observium.org] On Behalf Of Cardinal-Richards, Emma Sent: 04 June 2014 12:08 To: Observium Network Observation System Subject: Re: [Observium] DNS Aliases
Sorry, I meant that the alias (which matches the device hostname) is a CNAME pointing to the A record address which resolves the IP.
Regards, Emma
-----Original Message----- From: observium [mailto:observium-bounces@observium.org] On Behalf
Of
Tom Laermans Sent: 04 June 2014 11:57 To: Observium Network Observation System Subject: Re: [Observium] DNS Aliases
Hi Emma,
I'm not sure what you mean by "main resolvable hostname" and "alias" ?
For autodiscovery you obviously need to be able to resolve the hostname the device is broadcasting.
Tom
On 06/04/2014 11:53 AM, Cardinal-Richards, Emma wrote:
Hi,
I understand that Observium needs the hostnames to be valid, so we
tweaked our hosts file with a regex to add an alias to match the device hostnames (as our initial names had some extra info in the names not on
the
hosts). But this appears to allow me to add devices manually but autodiscovery doesn't seem to be working. Does Observium need it to be the 'main' resolvable hostname rather than an alias?
Regards, Emma _______________________________________________ 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
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
![](https://secure.gravatar.com/avatar/d18d4fde404dea8558e3858241f60b00.jpg?s=120&d=mm&r=g)
Yep, and if I hadn't wouldn't that mean the manual add would fail?
Emma
-----Original Message----- From: observium [mailto:observium-bounces@observium.org] On Behalf Of Markus Klock Sent: 04 June 2014 12:35 To: Observium Network Observation System Subject: Re: [Observium] DNS Aliases
Have you added the ip-range of the hosts to the list of ip-ranges that should be autodiscovered?
/Markus
2014-06-04 13:32 GMT+02:00 Cardinal-Richards, Emma <e.cardinal- richards@ucl.ac.uk mailto:e.cardinal-richards@ucl.ac.uk >:
Just ran a debug on discovery from a particular host, and I can see devices getting discovered and resolved correctly. But a discovery -h all didn't add them as new devices? Am I wrong about when the autodiscover and subsequent add should happen? They do allow me to add them manually but we're talking hundreds of switches...
Cheers, Emma
-----Original Message----- From: observium [mailto:observium-bounces@observium.org
mailto:observium-bounces@observium.org ] On Behalf Of
Cardinal-Richards, Emma Sent: 04 June 2014 12:08 To: Observium Network Observation System Subject: Re: [Observium] DNS Aliases
Sorry, I meant that the alias (which matches the device hostname)
is a
CNAME pointing to the A record address which resolves the IP.
Regards, Emma
-----Original Message----- From: observium [mailto:observium-bounces@observium.org
mailto:observium-bounces@observium.org ] On Behalf
Of
Tom Laermans Sent: 04 June 2014 11:57 To: Observium Network Observation System Subject: Re: [Observium] DNS Aliases
Hi Emma,
I'm not sure what you mean by "main resolvable hostname" and
"alias" ?
For autodiscovery you obviously need to be able to resolve the
hostname
the device is broadcasting.
Tom
On 06/04/2014 11:53 AM, Cardinal-Richards, Emma wrote:
Hi,
I understand that Observium needs the hostnames to be valid,
so we
tweaked our hosts file with a regex to add an alias to match the
device
hostnames (as our initial names had some extra info in the names
not on
the
hosts). But this appears to allow me to add devices manually but autodiscovery doesn't seem to be working. Does Observium
need it to be
the 'main' resolvable hostname rather than an alias?
Regards, Emma _______________________________________________ observium mailing list observium@observium.org
mailto:observium@observium.org
bin/mailman/listinfo/observium
observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/9113800bbd271c46f4585a9549d85c15.jpg?s=120&d=mm&r=g)
No, this setting is only for configuring what networks who should be autodiscovered, it is not needed for manual adding a device. http://www.observium.org/wiki/Configuration_Options#Auto_Discovery_Settings /Markus
2014-06-04 13:37 GMT+02:00 Cardinal-Richards, Emma < e.cardinal-richards@ucl.ac.uk>:
Yep, and if I hadn't wouldn't that mean the manual add would fail?
Emma
-----Original Message----- From: observium [mailto:observium-bounces@observium.org] On Behalf Of Markus Klock Sent: 04 June 2014 12:35 To: Observium Network Observation System Subject: Re: [Observium] DNS Aliases
Have you added the ip-range of the hosts to the list of ip-ranges that
should
be autodiscovered?
/Markus
2014-06-04 13:32 GMT+02:00 Cardinal-Richards, Emma <e.cardinal- richards@ucl.ac.uk mailto:e.cardinal-richards@ucl.ac.uk >:
Just ran a debug on discovery from a particular host, and I can see
devices getting discovered and resolved correctly. But a discovery -h
all
didn't add them as new devices? Am I wrong about when the autodiscover and subsequent add should happen? They do allow me to add them manually but we're talking hundreds of switches...
Cheers, Emma > -----Original Message----- > From: observium [mailto:observium-bounces@observium.org
mailto:observium-bounces@observium.org ] On Behalf Of
> Cardinal-Richards, Emma > Sent: 04 June 2014 12:08 > To: Observium Network Observation System > Subject: Re: [Observium] DNS Aliases > > Sorry, I meant that the alias (which matches the device hostname)
is a > CNAME pointing to the A record address which resolves the IP. > > Regards, > Emma >
> > -----Original Message----- > > From: observium [mailto:observium-bounces@observium.org
mailto:observium-bounces@observium.org ] On Behalf > Of > > Tom Laermans > > Sent: 04 June 2014 11:57 > > To: Observium Network Observation System > > Subject: Re: [Observium] DNS Aliases > > > > Hi Emma, > > > > I'm not sure what you mean by "main resolvable hostname" and "alias" ? > > > > For autodiscovery you obviously need to be able to resolve the hostname > > the device is broadcasting. > > > > Tom > > > > On 06/04/2014 11:53 AM, Cardinal-Richards, Emma wrote: > > > Hi, > > > > > > I understand that Observium needs the hostnames to be valid, so we > > tweaked our hosts file with a regex to add an alias to match
the
device > > hostnames (as our initial names had some extra info in the
names
not on > the > > hosts). But this appears to allow me to add devices manually
but
> > autodiscovery doesn't seem to be working. Does Observium
need it to be > > the 'main' resolvable hostname rather than an alias? > > > > > > Regards, > > > Emma > > > _______________________________________________ > > > observium mailing list > > > observium@observium.org mailto:observium@observium.org > > > http://postman.memetic.org/cgi- bin/mailman/listinfo/observium > > > > _______________________________________________ > > observium mailing list > > observium@observium.org mailto:observium@observium.org > > http://postman.memetic.org/cgi-bin/mailman/listinfo/observium > > _______________________________________________ > observium mailing list > observium@observium.org mailto:observium@observium.org > http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org <mailto: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
![](https://secure.gravatar.com/avatar/d18d4fde404dea8558e3858241f60b00.jpg?s=120&d=mm&r=g)
Ah thanks, the fact that the manual add worked threw me, took another look at my syntax, fixed and now all looks much better.
Cheers, Emma
-----Original Message----- From: observium [mailto:observium-bounces@observium.org] On Behalf Of Markus Klock Sent: 04 June 2014 12:59 To: Observium Network Observation System Subject: Re: [Observium] DNS Aliases
No, this setting is only for configuring what networks who should be autodiscovered, it is not needed for manual adding a device. http://www.observium.org/wiki/Configuration_Options#Auto_Discovery_S ettings
/Markus
2014-06-04 13:37 GMT+02:00 Cardinal-Richards, Emma <e.cardinal- richards@ucl.ac.uk mailto:e.cardinal-richards@ucl.ac.uk >:
Yep, and if I hadn't wouldn't that mean the manual add would fail?
Emma
-----Original Message----- From: observium [mailto:observium-bounces@observium.org
mailto:observium-bounces@observium.org ] On Behalf Of
Markus Klock Sent: 04 June 2014 12:35 To: Observium Network Observation System Subject: Re: [Observium] DNS Aliases
Have you added the ip-range of the hosts to the list of ip-ranges
that should
be autodiscovered?
/Markus
2014-06-04 13:32 GMT+02:00 Cardinal-Richards, Emma <e.cardinal-
richards@ucl.ac.uk mailto:richards@ucl.ac.uk <mailto:e.cardinal-
richards@ucl.ac.uk mailto:e.cardinal-richards@ucl.ac.uk > >:
Just ran a debug on discovery from a particular host, and I can
see
devices getting discovered and resolved correctly. But a discovery -
h all
didn't add them as new devices? Am I wrong about when the
autodiscover
and subsequent add should happen? They do allow me to add
them
manually but we're talking hundreds of switches...
Cheers, Emma > -----Original Message----- > From: observium [mailto:observium-bounces@observium.org
mailto:observium-bounces@observium.org
<mailto:observium-bounces@observium.org <mailto:observium-
bounces@observium.org> > ] On Behalf Of
> Cardinal-Richards, Emma > Sent: 04 June 2014 12:08 > To: Observium Network Observation System > Subject: Re: [Observium] DNS Aliases > > Sorry, I meant that the alias (which matches the device
hostname)
is a > CNAME pointing to the A record address which resolves the IP. > > Regards, > Emma >
> > -----Original Message----- > > From: observium [mailto:observium-
bounces@observium.org mailto:observium-bounces@observium.org
<mailto:observium-bounces@observium.org <mailto:observium-
bounces@observium.org> > ] On Behalf
> Of > > Tom Laermans > > Sent: 04 June 2014 11:57 > > To: Observium Network Observation System > > Subject: Re: [Observium] DNS Aliases > > > > Hi Emma, > > > > I'm not sure what you mean by "main resolvable hostname"
and
"alias" ? > > > > For autodiscovery you obviously need to be able to resolve
the
hostname > > the device is broadcasting. > > > > Tom > > > > On 06/04/2014 11:53 AM, Cardinal-Richards, Emma wrote: > > > Hi, > > > > > > I understand that Observium needs the hostnames to be
valid,
so we > > tweaked our hosts file with a regex to add an alias to match
the
device > > hostnames (as our initial names had some extra info in the
names
not on > the > > hosts). But this appears to allow me to add devices manually
but
> > autodiscovery doesn't seem to be working. Does Observium
need it to be > > the 'main' resolvable hostname rather than an alias? > > > > > > Regards, > > > Emma > > >
> > > observium mailing list > > > observium@observium.org
mailto:observium@observium.org
<mailto:observium@observium.org
mailto:observium@observium.org >
> > > http://postman.memetic.org/cgi-
bin/mailman/listinfo/observium > > > >
> > observium mailing list > > observium@observium.org
mailto:observium@observium.org <mailto:observium@observium.org mailto:observium@observium.org >
> > http://postman.memetic.org/cgi-
bin/mailman/listinfo/observium
> > _______________________________________________ > observium mailing list
> observium@observium.org
mailto:observium@observium.org <mailto:observium@observium.org mailto:observium@observium.org >
> http://postman.memetic.org/cgi-
bin/mailman/listinfo/observium
_______________________________________________ observium mailing list
observium@observium.org
mailto:observium@observium.org <mailto:observium@observium.org mailto:observium@observium.org >
http://postman.memetic.org/cgi-
bin/mailman/listinfo/observium
observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (3)
-
Cardinal-Richards, Emma
-
Markus Klock
-
Tom Laermans