Thanks,
that did the trick ;)
On Jan 28, 2016, at 03:13 PM, Simon Smith simonsmith5521@gmail.com wrote:
i believe u looking for this
root@observium:~# /opt/observium/rename_device.php Observium 0.16.1.7538 Rename Device
USAGE: rename_device.php <old hostname> <new hostname>
OPTIONS: -p Skip icmp echo checks, device renamed only by SNMP checks
DEBUGGING OPTIONS: -d Enable debugging output. -dd More verbose debugging output.
Simon
On 28 Jan 2016, at 3:04 pm, Christian Gerbrandt derchris@me.com wrote:
Hi,
when I setup Observium for the first time, I used a local only DNS setup. In the meantime, we created a corporate wide DNS setup for our Lab. Old devices are still available, but obviously show up with their old hostname. Is there an easy way to change the hostname of a device?
Regards, Christian _______________________________________________ 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
Hi Guys,
I am looking for the best way to update DNS on our network.
We are a WISP with around 10k devices.
Currently we do most of our monitoring with software which does not care about DNS and works via IP.
I have begun playing with Observium and really like.
In order to have the freedom to add devices to our Observium instance at will, we will have to level up our DNS game massively.
What solutions do people currently use to register hardware with DNS at the time of deployment? Is it possible for a DNS server to discover hardware (based on IP ranges we give it) and query for hostnames then add them to the database?
Thanks Guys
Alasdair
If the hostnames that you would use don't need to be super descriptive or match the actual device's hostname, you could easily just generate a list of hosts file entries for the entire subnet(s) that contain the IP as part of the hostname.
e.g:
127.0.0.1 localhost 192.168.1.1 192-168-1-1.domain.tld 192.168.1.2 192-168-1-2.domain.tld etc...
If you would prefer to have the actual device hostnames used, I think the best course of action would be to write a script that can scan the ranges, connect to and query the hostname from responding IPs, and dump it into a hosts file on your observium server. Depending on how many different types of devices you have, this may or may not be practical, since you would presumably need to create a slightly different subroutine/function for each type.
If you actually want the devices to have a real DNS record, you may be able to use a similar script to push dynamic updates to your DNS server, but it really depends on your specific setup.
I am not aware of any existing, "generic" server-side subnet scanner + dynamic DNS updater, but a script such as the above would be a "non-generic", and is certainly feasible.
To me, since your current monitoring solution doesn't care about hostnames, and you (seemingly) don't have any need for DNS records outside of fulfilling Observium's requirement, I think the first option makes the most sense, by far.
On 01/28/2016 11:43 AM, Alasdair MacLeod wrote:
Hi Guys,
I am looking for the best way to update DNS on our network.
We are a WISP with around 10k devices.
Currently we do most of our monitoring with software which does not care about DNS and works via IP.
I have begun playing with Observium and really like.
In order to have the freedom to add devices to our Observium instance at will, we will have to level up our DNS game massively.
What solutions do people currently use to register hardware with DNS at the time of deployment? Is it possible for a DNS server to discover hardware (based on IP ranges we give it) and query for hostnames then add them to the database?
Thanks Guys
Alasdair
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Hi Alasdair,
If you have about 10k devices, do you have some existing database/spreadsheet/etc of ips and device names?
You could mangle this and dump it into a dns zone, making sure it keep it updated.
adam. On 28/01/2016 16:43:37, Alasdair MacLeod alasdair@jhcs.com wrote: Hi Guys, I am looking for the best way to update DNS on our network.
We are a WISP with around 10k devices.
Currently we do most of our monitoring with software which does not care about DNS and works via IP.
I have begun playing with Observium and really like. In order to have the freedom to add devices to our Observium instance at will, we will have to level up our DNS game massively.
What solutions do people currently use to register hardware with DNS at the time of deployment? Is it possible for a DNS server to discover hardware (based on IP ranges we give it) and query for hostnames then add them to the database? Thanks Guys
Alasdair
On 28 Jan 2016, at 19:32, Adam Armstrong adama@memetic.org wrote:
If you have about 10k devices, do you have some existing database/spreadsheet/etc of ips and device names? You could mangle this and dump it into a dns zone, making sure it keep it updated.
I guess it may be useful for the enterprise/paid version to also allow raw IP addressed to be added with the ‘addhost’ script; or even entire ranges; even if there is absolutely no (reverse) DNS at all.
Right now you have to fiddle quite a bit to work around the ‘no such hostname’.
Dw.
Hmm. I use Ip addresses all the time, it works for me.
Adam.
Sent from BlueMail
On 28 Jan 2016, 19:55, at 19:55, Dirk-Willem van Gulik dirkx@webweaving.org wrote:
On 28 Jan 2016, at 19:32, Adam Armstrong adama@memetic.org wrote:
If you have about 10k devices, do you have some existing
database/spreadsheet/etc of ips and device names?
You could mangle this and dump it into a dns zone, making sure it
keep it updated.
I guess it may be useful for the enterprise/paid version to also allow raw IP addressed to be added with the ‘addhost’ script; or even entire ranges; even if there is absolutely no (reverse) DNS at all.
Right now you have to fiddle quite a bit to work around the ‘no such hostname’.
Dw.
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
That is most Odd - we see:
Adding host XX.XX.XX.XX community public port 161 Could not resolve XX.XX.XX.XX. or
./add_device.php X.XX.XX.XXX public Observium CE 0.15.6.6430 Add Device(s)
Try to add XX.XX.XX.XX: Could not resolve XX.XX.XX.XX. Devices failed: 1.
or
./add_device.php X.XX.XX.XXX public Observium CE 0.16.1.7533 Add Device(s)
Try to add XX.XX.XX.XX: Could not resolve XX.XX.XX.XX. Devices failed: 1.
On a ‘stock’ install with no (reverse/forward) for the IP address XX.XX.XX.XX.
Dw.
On 28 Jan 2016, at 20:55, Adam Aarmstrong adama@memetic.org wrote:
Hmm. I use Ip addresses all the time, it works for me.
Adam.
Sent from BlueMail http://www.bluemail.me/r
On 28 Jan 2016, at 19:55, Dirk-Willem van Gulik <dirkx@webweaving.org mailto:dirkx@webweaving.org> wrote: On 28 Jan 2016, at 19:32, Adam Armstrong <adama@memetic.org mailto:adama@memetic.org> wrote:
If you have about 10k devices, do you have some existing database/spreadsheet/etc of ips and device names? You could mangle this and dump it into a dns zone, making sure it keep it updated.
I guess it may be useful for the enterprise/paid version to also allow raw IP addressed to be added with the ‘addhost’ script; or even entire ranges; even if there is absolutely no (reverse) DNS at all.
Right now you have to fiddle quite a bit to work around the ‘no such hostname’.
Dw.
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Hmm. That is odd.
Perhaps we should remove whatever code is doing that check.
Adam.
Sent from BlueMail
On 28 Jan 2016, 20:05, at 20:05, Dirk-Willem van Gulik dirkx@webweaving.org wrote:
That is most Odd - we see:
Adding host XX.XX.XX.XX community public port 161 Could not resolve XX.XX.XX.XX. or
./add_device.php X.XX.XX.XXX public Observium CE 0.15.6.6430 Add Device(s)
Try to add XX.XX.XX.XX: Could not resolve XX.XX.XX.XX. Devices failed: 1.
or
./add_device.php X.XX.XX.XXX public Observium CE 0.16.1.7533 Add Device(s)
Try to add XX.XX.XX.XX: Could not resolve XX.XX.XX.XX. Devices failed: 1.
On a ‘stock’ install with no (reverse/forward) for the IP address XX.XX.XX.XX.
Dw.
On 28 Jan 2016, at 20:55, Adam Aarmstrong adama@memetic.org wrote:
Hmm. I use Ip addresses all the time, it works for me.
Adam.
Sent from BlueMail http://www.bluemail.me/r
On 28 Jan 2016, at 19:55, Dirk-Willem van Gulik <dirkx@webweaving.org
mailto:dirkx@webweaving.org> wrote:
On 28 Jan 2016, at 19:32, Adam Armstrong <adama@memetic.org
mailto:adama@memetic.org> wrote:
If you have about 10k devices, do you have some existing
database/spreadsheet/etc of ips and device names?
You could mangle this and dump it into a dns zone, making sure it
keep it updated.
I guess it may be useful for the enterprise/paid version to also
allow raw IP addressed to be added with the ‘addhost’ script; or even entire ranges; even if there is absolutely no (reverse) DNS at all.
Right now you have to fiddle quite a bit to work around the ‘no such
hostname’.
Dw.
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
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
While you are at that - it is a bit of a ‘pro’ feature - but being able to accept a ‘-‘ instead of a hostname & pipe a file in - or something similar - is most useful as well.
Especially if it is omnipotent - so will *NOT* replicate the entry if a name is sent there more than once (even if that identifier has changed IP address in the meantime).
Dw.
On 28 Jan 2016, at 21:06, Adam Armstrong adama@memetic.org wrote:
Hmm. That is odd.
Perhaps we should remove whatever code is doing that check.
Adam.
Sent from BlueMail http://www.bluemail.me/r
On 28 Jan 2016, at 20:05, Dirk-Willem van Gulik <dirkx@webweaving.org mailto:dirkx@webweaving.org> wrote: That is most Odd - we see:
Adding host XX.XX.XX.XX community public port 161 Could not resolve XX.XX.XX.XX. or
./add_device.php X.XX.XX.XXX public Observium CE 0.15.6.6430 Add Device(s)
Try to add XX.XX.XX.XX: Could not resolve XX.XX.XX.XX. Devices failed: 1.
or
./add_device.php X.XX.XX.XXX public Observium CE 0.16.1.7533 Add Device(s)
Try to add XX.XX.XX.XX: Could not resolve XX.XX.XX.XX. Devices failed: 1.
On a ‘stock’ install with no (reverse/forward) for the IP address XX.XX.XX.XX.
Dw.
On 28 Jan 2016, at 20:55, Adam Aarmstrong <adama@memetic.org mailto:adama@memetic.org> wrote:
Hmm. I use Ip addresses all the time, it works for me.
Adam.
Sent from BlueMail http://www.bluemail.me/r
On 28 Jan 2016, at 19:55, Dirk-Willem van Gulik <dirkx@webweaving.org mailto:dirkx@webweaving.org> wrote: On 28 Jan 2016, at 19:32, Adam Armstrong <adama@memetic.org mailto:adama@memetic.org> wrote:
If you have about 10k devices, do you have some existing database/spreadsheet/etc of ips and device names? You could mangle this and dump it into a dns zone, making sure it keep it updated.
I guess it may be useful for the enterprise/paid version to also allow raw IP addressed to be added with the ‘addhost’ script; or even entire ranges; even if there is absolutely no (reverse) DNS at all.
Right now you have to fiddle quite a bit to work around the ‘no such hostname’.
Dw.
observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium 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 http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
What do you mean by identifier changed Ip address?
That sounds distinctly like something we wouldn't go with 5,000 ft of.
Afa.
Sent from BlueMail
On 28 Jan 2016, 20:08, at 20:08, Dirk-Willem van Gulik dirkx@webweaving.org wrote:
While you are at that - it is a bit of a ‘pro’ feature - but being able to accept a ‘-‘ instead of a hostname & pipe a file in - or something similar - is most useful as well.
Especially if it is omnipotent - so will *NOT* replicate the entry if a name is sent there more than once (even if that identifier has changed IP address in the meantime).
Dw.
On 28 Jan 2016, at 21:06, Adam Armstrong adama@memetic.org wrote:
Hmm. That is odd.
Perhaps we should remove whatever code is doing that check.
Adam.
Sent from BlueMail http://www.bluemail.me/r
On 28 Jan 2016, at 20:05, Dirk-Willem van Gulik <dirkx@webweaving.org
mailto:dirkx@webweaving.org> wrote:
That is most Odd - we see:
Adding host XX.XX.XX.XX community public port 161 Could not resolve XX.XX.XX.XX. or
./add_device.php X.XX.XX.XXX public Observium CE 0.15.6.6430 Add Device(s)
Try to add XX.XX.XX.XX: Could not resolve XX.XX.XX.XX. Devices failed: 1.
or
./add_device.php X.XX.XX.XXX public Observium CE 0.16.1.7533 Add Device(s)
Try to add XX.XX.XX.XX: Could not resolve XX.XX.XX.XX. Devices failed: 1.
On a ‘stock’ install with no (reverse/forward) for the IP address
XX.XX.XX.XX.
Dw.
On 28 Jan 2016, at 20:55, Adam Aarmstrong <adama@memetic.org
mailto:adama@memetic.org> wrote:
Hmm. I use Ip addresses all the time, it works for me.
Adam.
Sent from BlueMail http://www.bluemail.me/r
On 28 Jan 2016, at 19:55, Dirk-Willem van Gulik
<dirkx@webweaving.org mailto:dirkx@webweaving.org> wrote:
On 28 Jan 2016, at 19:32, Adam Armstrong <adama@memetic.org
mailto:adama@memetic.org> wrote:
If you have about 10k devices, do you have some existing
database/spreadsheet/etc of ips and device names?
You could mangle this and dump it into a dns zone, making sure it
keep it updated.
I guess it may be useful for the enterprise/paid version to also
allow raw IP addressed to be added with the ‘addhost’ script; or even entire ranges; even if there is absolutely no (reverse) DNS at all.
Right now you have to fiddle quite a bit to work around the ‘no such
hostname’.
Dw.
observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
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
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
On 28 Jan 2016, at 21:26, Adam Armstrong adama@memetic.org wrote:
What do you mean by identifier changed Ip address? That sounds distinctly like something we wouldn't go with 5,000 ft of
So it is useful to be able to run; say a nightly cron-job - or as part of some puppet script - a ‘add_device’ of all your devices; without much ado. I.e. not check if they are already there (and deal with removal differently/explicitly).
At the point of the add_device you want those identifies to be what they are; even if they perhaps resolve to a different IP address at that point of time.
Dw
We already accept a file as input. Use /dev/stdin if you really want to pipe it in from stdin ;-)
On 28/01/2016 21:08, Dirk-Willem van Gulik wrote:
While you are at that - it is a bit of a ‘pro’ feature - but being able to accept a ‘-‘ instead of a hostname & pipe a file in - or something similar - is most useful as well.
Especially if it is omnipotent - so will *NOT* replicate the entry if a name is sent there more than once (even if that identifier has changed IP address in the meantime).
Dw.
On 28 Jan 2016, at 21:06, Adam Armstrong <adama@memetic.org mailto:adama@memetic.org> wrote:
Hmm. That is odd.
Perhaps we should remove whatever code is doing that check.
Adam.
Sent from BlueMail http://www.bluemail.me/r
On 28 Jan 2016, at 20:05, Dirk-Willem van Gulik <dirkx@webweaving.org mailto:dirkx@webweaving.org> wrote:
That is most Odd - we see: Adding host XX.XX.XX.XX community public port 161 Could not resolve XX.XX.XX.XX. or ./add_device.php X.XX.XX.XXX public Observium CE 0.15.6.6430 Add Device(s) Try to add XX.XX.XX.XX: Could not resolve XX.XX.XX.XX. Devices failed: 1. or ./add_device.php X.XX.XX.XXX public Observium CE 0.16.1.7533 Add Device(s) Try to add XX.XX.XX.XX: Could not resolve XX.XX.XX.XX. Devices failed: 1. On a ‘stock’ install with no (reverse/forward) for the IP address XX.XX.XX.XX. Dw.
On 28 Jan 2016, at 20:55, Adam Aarmstrong <adama@memetic.org <mailto:adama@memetic.org>> wrote: Hmm. I use Ip addresses all the time, it works for me. Adam. Sent from BlueMail <http://www.bluemail.me/r> On 28 Jan 2016, at 19:55, Dirk-Willem van Gulik <dirkx@webweaving.org <mailto:dirkx@webweaving.org>> wrote: On 28 Jan 2016, at 19:32, Adam Armstrong <adama@memetic.org <mailto:adama@memetic.org>> wrote:
If you have about 10k devices, do you have some existing database/spreadsheet/etc of ips and device names? You could mangle this and dump it into a dns zone, making sure it keep it updated.
I guess it may be useful for the enterprise/paid version to also allow raw IP addressed to be added with the ‘addhost’ script; or even entire ranges; even if there is absolutely no (reverse) DNS at all. Right now you have to fiddle quite a bit to work around the ‘no such hostname’. Dw. ------------------------------------------------------------------------ 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
On 28 Jan 2016, at 22:15, Tom Laermans tom.laermans@powersource.cx wrote:
We already accept a file as input. Use /dev/stdin if you really want to pipe it in from stdin ;-)
Right - we where trying to avoid the risk of a host happening to have the same name as a file* - with the config file specifying a site wide community string & auth method. We currently do a small ‘-f’ argument patch. Most other tools seem to have ‘-‘.
Dw
*: we got once bitten by the host INSTALL. :)
On 28/01/2016 22:25, Dirk-Willem van Gulik wrote:
On 28 Jan 2016, at 22:15, Tom Laermans tom.laermans@powersource.cx wrote:
We already accept a file as input. Use /dev/stdin if you really want to pipe it in from stdin ;-)
Right - we where trying to avoid the risk of a host happening to have the same name as a file* - with the config file specifying a site wide community string & auth method. We currently do a small ‘-f’ argument patch. Most other tools seem to have ‘-‘.
Dw
*: we got once bitten by the host INSTALL. :)
HAH!
Yea, some of the tools are long overdue for a getopt conversion...
Tom
Yeah, we have a custom interactive database that we use to track, provision, reclaim IP addresses on the network.
I am ideally looking to ensure that this is not a manual task that someone has to update on a semi-regular basis.
I think from the responces I have received on a number of forums that what I want to achieve is not currently available on any DNS management platforms.
Ill continue to play with observium in our DC and see if it warrents the extra work for us to use it globally.
Thanks for all the input. You guys are legends.
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong Sent: 28 January 2016 19:56 To: Observium Network Observation System observium@observium.org Subject: Re: [Observium] Hostname change
Hmm. I use Ip addresses all the time, it works for me.
Adam.
Sent from BlueMailhttp://www.bluemail.me/r On 28 Jan 2016, at 19:55, Dirk-Willem van Gulik <dirkx@webweaving.orgmailto:dirkx@webweaving.org> wrote: On 28 Jan 2016, at 19:32, Adam Armstrong <adama@memetic.orgmailto:adama@memetic.org> wrote:
If you have about 10k devices, do you have some existing database/spreadsheet/etc of ips and device names? You could mangle this and dump it into a dns zone, making sure it keep it updated.
I guess it may be useful for the enterprise/paid version to also allow raw IP addressed to be added with the ‘addhost’ script; or even entire ranges; even if there is absolutely no (reverse) DNS at all.
Right now you have to fiddle quite a bit to work around the ‘no such hostname’.
Dw.
________________________________
observium mailing
list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
If you have an existing host -> ip database, what you want to do is moderately trivial using BIND. Just generate a zone file for your devices periodically and tell BIND to refresh it.
adam. On 29/01/2016 08:49:07, Alasdair MacLeod alasdair@jhcs.com wrote: Yeah, we have a custom interactive database that we use to track, provision, reclaim IP addresses on the network. I am ideally looking to ensure that this is not a manual task that someone has to update on a semi-regular basis. I think from the responces I have received on a number of forums that what I want to achieve is not currently available on any DNS management platforms. Ill continue to play with observium in our DC and see if it warrents the extra work for us to use it globally. Thanks for all the input. You guys are legends. From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong Sent: 28 January 2016 19:56 To: Observium Network Observation System observium@observium.org Subject: Re: [Observium] Hostname change Hmm. I use Ip addresses all the time, it works for me. Adam. Sent from BlueMail [http://www.bluemail.me/r] On 28 Jan 2016, at 19:55, Dirk-Willem van Gulik <dirkx@webweaving.org [mailto:dirkx@webweaving.org]> wrote: On 28 Jan 2016, at 19:32, Adam Armstrong <adama@memetic.org [mailto:adama@memetic.org]> wrote: If you have about 10k devices, do you have some existing database/spreadsheet/etc of ips and device names? You could mangle this and dump it into a dns zone, making sure it keep it updated. I guess it may be useful for the enterprise/paid version to also allow raw IP addressed to be added with the ‘addhost’ script; or even entire ranges; even if there is absolutely no (reverse) DNS at all. Right now you have to fiddle quite a bit to work around the ‘no such hostname’. Dw.
observium mailing list observium@observium.org [mailto:observium@observium.org] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]
participants (6)
-
Adam Armstrong
-
Alasdair MacLeod
-
Christian Gerbrandt
-
Dirk-Willem van Gulik
-
Joseph Zancocchio
-
Tom Laermans