NagVis and graphs

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: NagVis and graphs

Post by sreinhardt »

How about the nagviz gadgets? its not exactly highcharts, but so far I have not seen anything for an iframe include or something similar.

Code: Select all

http://exchange.nagvis.org/exchange/Gadgets/orderby,2/page,2/
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.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: NagVis and graphs

Post by WillemDH »

I already played around with the gadgets, but did not found a way to get LONGSERVICEOUTPUT. I do not need custom development or a feature request. Just some php code to retrieve $LONGSERVICEOUTPUT$ from a service in Nagios. :) I should be able to do the rest.
Nagios XI 5.8.1
https://outsideit.net
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: NagVis and graphs

Post by sreinhardt »

Would getting it through a api query work for you? I could certainly send abrist in here and I'm sure he could point out how to grab that. So to clarify, at this point its more about getting longserviceoutput into nagvis than graphs?
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.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: NagVis and graphs

Post by WillemDH »

Spenser,

To be honest, I need both...

But at this very moment being able to just get the $LONGSERVICEOUTPUT$ of a service would keep me quite for a few weeks.... ;) Getting Highcharts to work in NagVis is something I'm not ready for yet...

Grtz
Nagios XI 5.8.1
https://outsideit.net
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: NagVis and graphs

Post by abrist »

I know there is a way, we just need to hunt down the template that you desire to change. The templates are located at:

Code: Select all

/usr/local/nagvis/share/userfiles/templates
Which portions of the UI would you like to add the longserviceoutput to?
Also, there is a small chance that we just need to increase the size of the serviceoutput field in the DB (if nagvis does not support long output). This would cause the XI ui to display more characters on the details pages though.
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.
Locked