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
Question about publishing apps monitored by Nagios
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Question about publishing apps monitored by Nagios
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.
Re: Question about publishing apps monitored by Nagios
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.
"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.
Re: Question about publishing apps monitored by Nagios
I would like them to be able to see hosts and services without having a valid login.
Thanks.
Thanks.
Re: Question about publishing apps monitored by Nagios
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.
"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.
Re: Question about publishing apps monitored by Nagios
Certain information on a web page that gets dynamically updated with the status of the service/host.
Thanks.
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
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
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
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.
FYI - I don't have Backend API URL installed yet as a component.
Thanks.
Re: Question about publishing apps monitored by Nagios
You can read more about the Nagios XI Backend API here:
http://assets.nagios.com/downloads/nagi ... nd_API.pdf
...and download the component.
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!
Re: Question about publishing apps monitored by Nagios
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
However I'm having trouble viewing the services status. Below is what Im using:
https://nagiosxi.dev.tgslc.org/nagiosxi ... 53r8cdh66e [/b]
thanks,
Frederick