Nagios 4.x & PNP4Nagios

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
szkoda
Posts: 42
Joined: Thu Dec 04, 2014 8:48 am

Nagios 4.x & PNP4Nagios

Post by szkoda »

Hi All,

I have Nagios up and running with Nagiosgraph running alongside it (which was a nightmare to install but it is now working). I get various gaps in the graphs which so far I have been unable to fix.

I see a lot of people are now recommending PNP4Nagios instead - is this package better than NagiosGraph? Does it work with Nagios Core 4.x? If so are there any simple instructions I can follow to install and can it be run alongside NagiosGraph?

Thanks as always for any advice!
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios 4.x & PNP4Nagios

Post by abrist »

szkoda wrote:I see a lot of people are now recommending PNP4Nagios instead - is this package better than NagiosGraph?
IMHO, yes.
szkoda wrote:Does it work with Nagios Core 4.x?
Yes.
szkoda wrote:If so are there any simple instructions I can follow to install and can it be run alongside NagiosGraph?
Unknown if they will play nice together. See the pnp4nagios documentation at:
https://docs.pnp4nagios.org/
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.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Nagios 4.x & PNP4Nagios

Post by Box293 »

I have a guide here that shows you how to install PNP4Nagios:

http://sites.box293.com/nagios/guides/i ... core-4-0-x
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
szkoda
Posts: 42
Joined: Thu Dec 04, 2014 8:48 am

Re: Nagios 4.x & PNP4Nagios

Post by szkoda »

Will that guide work for Nagios running on Ubuntu server?

Does anyone have an uninstall guide for NagiosGraph?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios 4.x & PNP4Nagios

Post by abrist »

szkoda wrote:Will that guide work for Nagios running on Ubuntu server?
No, Box's documentation is specifically for centos/rhel systems. You will need to follow the directions on the pnp4nagios web page.
szkoda wrote:Does anyone have an uninstall guide for NagiosGraph?
Unfortunately, I don't think the dev ever created an uninstall script. You will most likely need to walk through the installation in reverse and undo whatever was done through the install.
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.
szkoda
Posts: 42
Joined: Thu Dec 04, 2014 8:48 am

Re: Nagios 4.x & PNP4Nagios

Post by szkoda »

Got it working without too much trouble so this thread can probably be closed.

Quick question before you do though, can anyone point me in the right direction of how to edit the way the data is displayed on the graphs? For example, using it to display memory usage, it seems to get confused with MB and KB. I am using the built in check_nt plugin with NS Client if that helps
Attachments
graph.png
graph.png (44.8 KiB) Viewed 3536 times
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios 4.x & PNP4Nagios

Post by tmcdonald »

You'll need to edit the templates:

https://docs.pnp4nagios.org/pnp-0.4/tpl

That's a bit outside of the scope of this forum.
Former Nagios employee
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Nagios 4.x & PNP4Nagios

Post by Box293 »

I actually did a talk on this at the Nagios World Conference, you can watch it here:

https://www.youtube.com/watch?v=kqA2KcpUFg4
http://www.slideshare.net/nagiosinc/tro ... and-graphs

It's a crash course on performance data and PNP templates.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
szkoda
Posts: 42
Joined: Thu Dec 04, 2014 8:48 am

Re: Nagios 4.x & PNP4Nagios

Post by szkoda »

Thanks all, much appreciated
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios 4.x & PNP4Nagios

Post by tmcdonald »

I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee
Locked