Page 1 of 2

Question about publishing apps monitored by Nagios

Posted: Mon Apr 15, 2013 4:17 pm
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

Re: Question about publishing apps monitored by Nagios

Posted: Mon Apr 15, 2013 4:34 pm
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?

Re: Question about publishing apps monitored by Nagios

Posted: Mon Apr 15, 2013 4:38 pm
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?

Re: Question about publishing apps monitored by Nagios

Posted: Tue Apr 16, 2013 12:50 pm
by tgfde
I would like them to be able to see hosts and services without having a valid login.

Thanks.

Re: Question about publishing apps monitored by Nagios

Posted: Tue Apr 16, 2013 1:01 pm
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?

Re: Question about publishing apps monitored by Nagios

Posted: Tue Apr 16, 2013 1:23 pm
by tgfde
Certain information on a web page that gets dynamically updated with the status of the service/host.

Thanks.

Re: Question about publishing apps monitored by Nagios

Posted: Tue Apr 16, 2013 1:43 pm
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

Re: Question about publishing apps monitored by Nagios

Posted: Tue Apr 16, 2013 3:24 pm
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.

Re: Question about publishing apps monitored by Nagios

Posted: Tue Apr 16, 2013 3:35 pm
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.

Re: Question about publishing apps monitored by Nagios

Posted: Fri May 10, 2013 2:26 pm
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