Hello,
I'm referring to this topic: http://support.nagios.com/forum/viewtop ... 86&p=79023
We want to show all our 'Critical Services' on an intranet page like my previous post (see above link).
We have following link:
http://monitor.company.com/nagiosxi/inc ... ustypes=16
We can show that page when users are not logged in with adding '&username=<user>&ticket=<ticket#>' to that URL.
But we want it to only show the hostname of the server that has critical services. (and not all the information on the page we receive)
Any ideas how to do this?
Thanks.
Show 'Critical services' on an intranet page
Re: Show 'Critical services' on an intranet page
You can just parse the xml to fit your needs. Additionally, you can pass brevity=3 with the GET parameters to reduce the xml.
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: Show 'Critical services' on an intranet page
Now you are talking Chinese to me.
Can you be more specific? Thanks.
edit.
Let's say we want the Service Status Summary-dashlet on an intranet page. How we do that?

Can you be more specific? Thanks.
edit.
Let's say we want the Service Status Summary-dashlet on an intranet page. How we do that?

Re: Show 'Critical services' on an intranet page
It all depends what you want. If you want to make your own frontend and just want the xml, I can help you limit the xml to what you are looking for.CedricD wrote:Can you be more specific? Thanks.
The easiest way to do this is to add the summary to a view in xi. Then open the view in a new tab. The url will be the direct url for that view. Add the user's ticket id and username to the url get parameters and you should be able to pull the frame externally into your custom frontend.CedricD wrote: we want the Service Status Summary-dashlet on an intranet page. How we do that?
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: Show 'Critical services' on an intranet page
We have an intranet page with some tools that we use a lot. We already have some graphs from nagios included in that intranet page, which is great.
This is what we also want to show on our intranet page:
I've found this but can't understand how to limit the xml to show only the latest alerts table (point 2 in the list above).
-----------
Can you please be more specific with 'add the summary to a view in xi.' I can add that 'Service Status Summary' to a dashboard but I don't think this is what you mean?
Thanks for your time. I appreciate it.
This is what we also want to show on our intranet page:
- We want to show the 'Service Status Summary' on that intranet page.
- We want to show the latest alerts table (only the table) on that intranet page (located here: http://monitor.domain.com/nagiosxi/incl ... estalerts/)
I've found this but can't understand how to limit the xml to show only the latest alerts table (point 2 in the list above).
-----------
Can you please be more specific with 'add the summary to a view in xi.' I can add that 'Service Status Summary' to a dashboard but I don't think this is what you mean?
Thanks for your time. I appreciate it.
Re: Show 'Critical services' on an intranet page
You can use a dashboard, or a view. You will find views to the left of the dashboards top menu option in XI.
Working with the xml for frontend integration requires web development knowledge - specifically parsing the xml into tables/js objects/etc. You may want to just use the ticketID system with a custom view/dashboard url.
Working with the xml for frontend integration requires web development knowledge - specifically parsing the xml into tables/js objects/etc. You may want to just use the ticketID system with a custom view/dashboard url.
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: Show 'Critical services' on an intranet page
I've found something else in nagios to do this. It's fixed
.
Thanks.
Thanks.