Different graphs in Nagiosgraph for same service?

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
Isuaven
Posts: 2
Joined: Mon Jul 27, 2015 6:21 am

Different graphs in Nagiosgraph for same service?

Post by Isuaven »

Hello,
I installed Nagios Core 4.1.1 with Nagiosgraph 1.5.2.
I add service in nagios that check all mounpoints in system with standart plugin check_disk. Nagiosgraph draw graph for all mounts in one graph - it looks terrible and not informative for me:
https://www.dropbox.com/s/je7kt3h2oqsms ... h.PNG?dl=0
Can Nagiosgraph make separate graphs for each value in Performance Data? Anyone have the same visualization problem?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Different graphs in Nagiosgraph for same service?

Post by tmcdonald »

We can't really speak for Nagiosgraph, but the proper way to do this in Nagios Core is to simply have separate checks for each mount point. It's somewhat more work to set up, but with scripting/automation you can get it done quickly.
Former Nagios employee
Isuaven
Posts: 2
Joined: Mon Jul 27, 2015 6:21 am

Re: Different graphs in Nagiosgraph for same service?

Post by Isuaven »

tmcdonald wrote:We can't really speak for Nagiosgraph, but the proper way to do this in Nagios Core is to simply have separate checks for each mount point. It's somewhat more work to set up, but with scripting/automation you can get it done quickly.
Thanks for reply. Separate checks is not way for me. I have hundreds servers with different mount points. Research list of mounts for each is too long and mount points changes from time to time..
I hope that on this forum are more people who install and customize Nagiosgraph and the help with additional answers

UPD: I found that if add &db=data_name to address line such as
http://localhost/nagiosgraph/cgi-bin/sh ... db=%2Fhome

it shows graph for only /home partition. Good but how config to create such graphs for each /partition in one page?
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Different graphs in Nagiosgraph for same service?

Post by jdalrymple »

This is a nagiosgraph question and you should speak to the developers of that product to get a nagiosgraph answer. That said, I suggest you read the notes in your servdb.conf file - this is where that is customized.

You won't be able to break out each performance metric into it's own graph I don't believe, but you should be able to clean up the mess that you have a bit.

http://sourceforge.net/p/nagiosgraph/wi ... umentation
Locked