Page 1 of 1

PNP4Nagios Graph In Nagvis

Posted: Mon Mar 28, 2016 1:49 pm
by CloudOps
Hi All,

How i can add service graph (pnp4nagios) in nagivis. Can anyone guide me how to do it?

Thanks,
Shailesh

Re: PNP4Nagios Graph In Nagvis

Posted: Mon Mar 28, 2016 3:48 pm
by bwallace
This is more of a question for Nagvis, but their site hows you how to edit their config files so you can display services:
You can add all objects from Nagios (Host, Services, Hostgroups, Servicegroups) on so called maps. Each map can be configured through its own configuration file.
http://docs.nagvis.org/1.5/en_US/map_co ... ption.html

Re: PNP4Nagios Graph In Nagvis

Posted: Tue Mar 29, 2016 10:50 am
by CloudOps
bwallace wrote:This is more of a question for Nagvis, but their site hows you how to edit their config files so you can display services:
You can add all objects from Nagios (Host, Services, Hostgroups, Servicegroups) on so called maps. Each map can be configured through its own configuration file.
http://docs.nagvis.org/1.5/en_US/map_co ... ption.html
if i am not wrong, nagvis comes default with Nagios XI? so basics things of nagivs should work.

i want to add graph of any service, the gadget url is not showing to select PNP graph template (screenshot attached)

Re: PNP4Nagios Graph In Nagvis

Posted: Tue Mar 29, 2016 3:30 pm
by rkennedy
Nagvis is included by default with Nagios XI, yes, but, it isn't our product or something we can really assist much with. Our Nagvis install is only basic, so that it exists.

Just to clarify - are you trying to pull the graphs of a host / service in XI into Nagvis?

Re: PNP4Nagios Graph In Nagvis

Posted: Wed Mar 30, 2016 8:08 am
by CloudOps
rkennedy wrote:Nagvis is included by default with Nagios XI, yes, but, it isn't our product or something we can really assist much with. Our Nagvis install is only basic, so that it exists.

Just to clarify - are you trying to pull the graphs of a host / service in XI into Nagvis?
yeah rekennedy, i am want to pull service graph in nagvis.

Re: PNP4Nagios Graph In Nagvis

Posted: Wed Mar 30, 2016 1:48 pm
by lmiltchev
Try using a "default-pnp.hover.html" template as in this post:

https://support.nagios.com/forum/viewto ... 6&p=111385

Modify your service by setting:

hover_menu = Yes
hover_template = default-pnp

Save.

Now, when you hover over the service, you should be able to see the graph. Is this what you were trying to accomplish?

Re: PNP4Nagios Graph In Nagvis

Posted: Mon Apr 04, 2016 11:26 pm
by CloudOps
lmiltchev wrote:Try using a "default-pnp.hover.html" template as in this post:

https://support.nagios.com/forum/viewto ... 6&p=111385

Modify your service by setting:

hover_menu = Yes
hover_template = default-pnp

Save.

Now, when you hover over the service, you should be able to see the graph. Is this what you were trying to accomplish?
Hi lmiltchev, i want to display graph in the dashboard of nagvis. is it possible ?

Re: PNP4Nagios Graph In Nagvis

Posted: Tue Apr 05, 2016 10:11 am
by lmiltchev
Hi lmiltchev, i want to display graph in the dashboard of nagvis. is it possible ?
Just to clarify - you want to show the graph "permanently" in the dashboard, NOT only on hover (with the mouse). Is this correct?

Re: PNP4Nagios Graph In Nagvis

Posted: Tue Apr 05, 2016 11:29 pm
by CloudOps
lmiltchev wrote:
Hi lmiltchev, i want to display graph in the dashboard of nagvis. is it possible ?
Just to clarify - you want to show the graph "permanently" in the dashboard, NOT only on hover (with the mouse). Is this correct?
Yes... is that possbile lmilchev?

Re: PNP4Nagios Graph In Nagvis

Posted: Wed Apr 06, 2016 12:03 pm
by lmiltchev
It may be possible but you will need to seek assistance on the NagVis support forum as this is not one of our products.

FYI, I was not able to set up NagVis in Nagios XI to show the pnp4nagios graphs permanently but with the use of "default-pnp.hover.html" template (from this post), I was able to set NagVis to display service graphs on hover.

I just added localhost's Current Load service on the demo map, and set it to use the "default-pnp" template. When I move the mouse cursor over the service icon I can see the graph. See below:
example01.PNG