Question about publishing apps monitored by Nagios

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
tgfde
Posts: 233
Joined: Thu May 12, 2011 7:55 am

Question about publishing apps monitored by Nagios

Post by tgfde »

Hello,

Is there a way to publish what Nagios is monitoring without the user loggig into the UI?

Setup:
Nagios XI 2011R2.2
Cent OS 6
vmWare

Thanks,
tgfde
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Question about publishing apps monitored by Nagios

Post by sreinhardt »

What do you mean by publish? You would like them to be able to see hosts and services without having a valid login?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Question about publishing apps monitored by Nagios

Post by abrist »

Are you asking for a list of what is being monitored, the current active status of monitored systems, or the results of checks?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
tgfde
Posts: 233
Joined: Thu May 12, 2011 7:55 am

Re: Question about publishing apps monitored by Nagios

Post by tgfde »

I would like them to be able to see hosts and services without having a valid login.

Thanks.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Question about publishing apps monitored by Nagios

Post by abrist »

Are you looking for certain bits of information on a separate web page? Or emailed reports? What is the use case or targeted implementation?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
tgfde
Posts: 233
Joined: Thu May 12, 2011 7:55 am

Re: Question about publishing apps monitored by Nagios

Post by tgfde »

Certain information on a web page that gets dynamically updated with the status of the service/host.

Thanks.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Question about publishing apps monitored by Nagios

Post by scottwilkerson »

2 ways.

1. you can get the data in XML format to integrate using the Backend API URL component
Admin -> Manage Components -> Backend API URL -> edit

2. Would be to create a read-only user account, then you can get the ticket from the Backend API URL and you can tack those on to most URL's in XI to auto-login
for example:
/nagiosxi/includes/components/xicore/status.php?show=services&hoststatustypes=2&servicestatustypes=28&serviceattr=10&username=nagiosadmin&ticket=q6jjimi4
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
tgfde
Posts: 233
Joined: Thu May 12, 2011 7:55 am

Re: Question about publishing apps monitored by Nagios

Post by tgfde »

For option 2, can you explain further? What do yo mean by ticket?
FYI - I don't have Backend API URL installed yet as a component.

Thanks.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Question about publishing apps monitored by Nagios

Post by lmiltchev »

You can read more about the Nagios XI Backend API here:

http://assets.nagios.com/downloads/nagi ... nd_API.pdf

...and download the component.
Be sure to check out our Knowledgebase for helpful articles and solutions!
tgfde
Posts: 233
Joined: Thu May 12, 2011 7:55 am

Re: Question about publishing apps monitored by Nagios

Post by tgfde »

Ok installatio of backend api is complete and tested ok.

However I'm having trouble viewing the services status. Below is what Im using:

https://nagiosxi.dev.tgslc.org/nagiosxi ... 53r8cdh66e [/b]

thanks,
Frederick
Locked