Auto-discovery and auto-host creation
Posted: Wed May 21, 2014 12:09 pm
hello
I can see how auto-discovery wizard can detect a new host and determine its type such as cisco device, Linux, Windows, ESX etc.
I also can see how host config/creation can be automated. http://assets.nagios.com/downloads/nagi ... gement.pdf
But now my question, say for instance, I am running the auto-discovery wizard daily and it discovers new hosts in our networks, now how can I fetch the hostname of this newly discovered host and update that into my hostname.cfg file which I can later place in the /usr/local/nagios/etc/import/ directory.
In simple how do I link what is discovered into my config script. Where can I fetch the info of newly discovered hosts. Does the Auto-discovery wizard store it in any file or log?
If feeding the hostname is not automatic then that doesn't sound like auto host creation.
Many thanks.
I can see how auto-discovery wizard can detect a new host and determine its type such as cisco device, Linux, Windows, ESX etc.
I also can see how host config/creation can be automated. http://assets.nagios.com/downloads/nagi ... gement.pdf
But now my question, say for instance, I am running the auto-discovery wizard daily and it discovers new hosts in our networks, now how can I fetch the hostname of this newly discovered host and update that into my hostname.cfg file which I can later place in the /usr/local/nagios/etc/import/ directory.
In simple how do I link what is discovered into my config script. Where can I fetch the info of newly discovered hosts. Does the Auto-discovery wizard store it in any file or log?
If feeding the hostname is not automatic then that doesn't sound like auto host creation.
Many thanks.