How find KBA attached in all Services & Hosts

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

How find KBA attached in all Services & Hosts

Postby ashok.verma » Thu Sep 23, 2021 12:30 am

Hi All,
We try to fetch all KBA attached related hosts and service in nagios xi 5.8.6. Please help us.
ashok.verma
 
Posts: 6
Joined: Tue May 25, 2021 7:24 am

Re: How find KBA attached in all Services & Hosts

Postby benjaminsmith » Thu Sep 23, 2021 4:43 pm

Hi,

My apologies, can you elaborate on KBA attached.

Are you using Nagios XI or Core?

Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
benjaminsmith
 
Posts: 5068
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: How find KBA attached in all Services & Hosts

Postby ashok.verma » Thu Sep 23, 2021 9:08 pm

We using Nagios Xi 5.8.6 enterprise version. We configured 1500 Server & 140000 services in Nagios Xi 5.8.6.
Inside "service Management" -> Misc setting -> "Action URL".
inside "Action URL" , we using some url inside "Action URL" for alerts escalation process called KBA..
i want to fetch all "action URL" detail from 1500 Server & 140000 services.
ashok.verma
 
Posts: 6
Joined: Tue May 25, 2021 7:24 am

Re: How find KBA attached in all Services & Hosts

Postby benjaminsmith » Tue Sep 28, 2021 4:17 pm

Hi,

That data is stored in the nagiosql database, so you could get at it using the REST API or an SQL query. For example,

Code: Select all
echo "select host_name, action_url  from tbl_host;" | mysql -uroot -pnagiosxi nagiosql

Hope that helps.
--Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
benjaminsmith
 
Posts: 5068
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: How find KBA attached in all Services & Hosts

Postby ashok.verma » Wed Oct 06, 2021 9:06 pm

Thanks Sir, it is working fine
ashok.verma
 
Posts: 6
Joined: Tue May 25, 2021 7:24 am

Re: How find KBA attached in all Services & Hosts

Postby benjaminsmith » Wed Oct 13, 2021 4:56 pm

Hi,
Thanks Sir, it is working fine

Cool, we'll go ahead and close this but feel free open another one in the future.

Also, as this is a community forum, we would love to have you share your expertise with the other members. Thank you for visiting.

--Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
benjaminsmith
 
Posts: 5068
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul


Return to Community Support

Who is online

Users browsing this forum: Google [Bot] and 30 guests