Export relationship between contact & server

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Export relationship between contact & server

Post by rajasegar »

Hi,

Is there anyway to export all the servers a particular contact is part of the notification either for host or services in it?

I also need to reverse, given a server who are the contacts attached to the host or services for the host.

SQL is acceptable.

Thanks
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Export relationship between contact & server

Post by tgriep »

Take a look at this tool which will download a list of Hosts, Services, Contacts, etc from the Nagios server to a TSV file.

https://exchange.nagios.org/directory/U ... ol/details

It should do what you are asking for.
Be sure to check out our Knowledgebase for helpful articles and solutions!
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Export relationship between contact & server

Post by rajasegar »

tgriep wrote:Take a look at this tool which will download a list of Hosts, Services, Contacts, etc from the Nagios server to a TSV file.

https://exchange.nagios.org/directory/U ... ol/details

It should do what you are asking for.
This works fine thanks.

You can close the thread
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
Locked