Hi,
In Nagios XI, is there any way to find-out what are the hosts already discovered using a custom configuration wizard?
Are there any API available ?
Regards,
Ajaya
Hosts already discovered by a configuration wizard
-
ajayasenapati
- Posts: 4
- Joined: Wed Jan 13, 2016 3:55 am
Re: Hosts already discovered by a configuration wizard
The results for previous auto discovery jobs can be found at /usr/local/nagiosxi/html/includes/components/autodiscovery/jobs, in there is an XML document that you should be able to pull information accordingly.
Is that what you're looking for?
Is that what you're looking for?
Former Nagios Employee
-
ajayasenapati
- Posts: 4
- Joined: Wed Jan 13, 2016 3:55 am
Re: Hosts already discovered by a configuration wizard
I am not looking for information that uses auto discovery jobs / wizard. In general, if a custom config wizard uses a mechanism such as "Subnet" or "Host/IP" to a specialised discover of devices, at a later stage how a user will find what are all the host/IPs that are being discovered using that custom config wizard.
Re: Hosts already discovered by a configuration wizard
At least in the case of our standard wizards, they will put in a custom variable called "_xiwizard" with a value indicating what wizard created the checks. For example, the Switch/Router Wizard has the value of "switch". Your custom wizard would need to add in this value, otherwise I can't think of a great way to identify those hosts/services from others.
Former Nagios employee