PNP4Nagios Graph In Nagvis

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
CloudOps
Posts: 88
Joined: Mon Feb 08, 2016 12:52 am

PNP4Nagios Graph In Nagvis

Post by CloudOps »

Hi All,

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

Thanks,
Shailesh
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: PNP4Nagios Graph In Nagvis

Post 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
Be sure to check out the Knowledgebase for helpful articles and solutions!
CloudOps
Posts: 88
Joined: Mon Feb 08, 2016 12:52 am

Re: PNP4Nagios Graph In Nagvis

Post 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)
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: PNP4Nagios Graph In Nagvis

Post 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?
Former Nagios Employee
CloudOps
Posts: 88
Joined: Mon Feb 08, 2016 12:52 am

Re: PNP4Nagios Graph In Nagvis

Post 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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: PNP4Nagios Graph In Nagvis

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
CloudOps
Posts: 88
Joined: Mon Feb 08, 2016 12:52 am

Re: PNP4Nagios Graph In Nagvis

Post 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 ?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: PNP4Nagios Graph In Nagvis

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
CloudOps
Posts: 88
Joined: Mon Feb 08, 2016 12:52 am

Re: PNP4Nagios Graph In Nagvis

Post 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?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: PNP4Nagios Graph In Nagvis

Post 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
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked