Xi noc screen

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
kcarsey
Posts: 5
Joined: Thu Jan 28, 2016 5:24 pm

Xi noc screen

Post by kcarsey »

Hello all,

Is there any way I can serve an Xi View via an unathenticated URL, or through some sort of an API? I have a raspberry pi digital signage setup that can serve a web page via a url on boot. How would I be able to provide my view rotation via a single URL?

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

Re: Xi noc screen

Post by lmiltchev »

I am not sure if this is exactly what you are looking for, but here's what you can try:

1. Create a "read only" user that can see all objects (Admin->Manage Users).
2. Go to "Views", click on the "Get Permalink" link on the drop-down menu in the upper-right corner, and copy the link.
3. Copy the "username", and the "ticket" from the "Backend API URL" component (Admin->Manage Components->Backend API URL->Edit Settings->select the "read only" user from the drop-down menu->Apply Settings)
4. Append the username/ticket portion to the permalink URL, i.e.
http://x.x.x.x/nagiosxi/views/?&xiwindo ... %2Ftac.php&username=rouser&ticket=gtmu400ors73tt7587n0vnvpnn07qhdac36e076s3ast722d8od6fau42sapbk4l
Now, you can use this URL without the need to authenticate, start/stop rotation, and switch to full screen by clicking on the blue plus button (upper-left).

Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
kcarsey
Posts: 5
Joined: Thu Jan 28, 2016 5:24 pm

Re: Xi noc screen

Post by kcarsey »

This is not exactly what I was looking for, but it is very helpful in another project I am working on. What I do right now is have a raspberry pi 2 set up with Raspian that auto logs in, launches the Iceweasel browser, go fullscreen, load views screen, then use a bit of javascript with greasemonkey extension in Iceweasel in order to "click" the blue square in order to go full screen. This seems to work well for a local hud here in the office on a 55" TV and it's all automatic from a power-off state.

At any rate, this answers my question. Thanks!
-Kenny
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Xi noc screen

Post by bwallace »

Glad we were able to help. We'll lock this thread now and feel free to open another should you require assistance with anything else.
Be sure to check out the Knowledgebase for helpful articles and solutions!
Locked