Page 1 of 1

Export relationship between contact & server

Posted: Fri Feb 05, 2021 3:31 am
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

Re: Export relationship between contact & server

Posted: Fri Feb 05, 2021 2:42 pm
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.

Re: Export relationship between contact & server

Posted: Wed Feb 10, 2021 9:36 pm
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