Hosts already discovered by a configuration wizard

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ajayasenapati
Posts: 4
Joined: Wed Jan 13, 2016 3:55 am

Hosts already discovered by a configuration wizard

Post by ajayasenapati »

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
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Hosts already discovered by a configuration wizard

Post by rkennedy »

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?
Former Nagios Employee
ajayasenapati
Posts: 4
Joined: Wed Jan 13, 2016 3:55 am

Re: Hosts already discovered by a configuration wizard

Post by ajayasenapati »

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.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Hosts already discovered by a configuration wizard

Post by tmcdonald »

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
Locked