Nagiosgrgaph?

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
gavinh
Posts: 42
Joined: Wed Apr 08, 2015 4:44 pm

Nagiosgrgaph?

Post by gavinh »

Hi, I am testing Nagios Core 4.1 .1 and Nagiosgraph 1.5.2. I attempted to follow the manual steps, but i've seen the issue that when I update the command.cfg ngfor service perfdata processing, the service_output stops updating and I do not see the rrd folder I specified populate with any .rrd's. Looking at the showconfig.cgi - I see this;

Code: Select all

labels

labelfile is not defined
host settings

hostdb is not defined
service settings

servdb is not defined
group settings

groupdb is not defined
data sources

datasetdb is not defined
RRD options

rrdoptsfile is not defined
Do I need to define all this?
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagiosgrgaph?

Post by tgriep »

Have you gone through the Nagiosgraph install and verify that all of the steps completed without any errors?

Code: Select all

https://sourceforge.net/p/nagiosgraph/git/ci/master/tree/INSTALL
Be sure to check out our Knowledgebase for helpful articles and solutions!
gavinh
Posts: 42
Joined: Wed Apr 08, 2015 4:44 pm

Re: Nagiosgrgaph?

Post by gavinh »

A couple of times before I posted. The I don't get any error messages, aside from;

Code: Select all

Thu Jun 16 04:22:25 2016 insert.pl 45344 warn processdata: no host found:
[SERVICEPERFDATA]       1466076145      MOBILE-U64-467  Check IOstat    0.057   0.000   Status Ok: Device sda - TPS=204.05, Blk_wrtn/s=16748.80, IOwait=7.30    TPS=204.05; Blk_wrtn/s=16748.80; IOwait=7.30
Not sure what to check or change for this. Everything looks right as far as the manual steps go.
gavinh
Posts: 42
Joined: Wed Apr 08, 2015 4:44 pm

Re: Nagiosgrgaph?

Post by gavinh »

Right as I reply I think - sounds like a template issue..

I checked the "service_perfdata_file_template" entry in nagios.cfg and realized at a glance they look similar. But they are not, made the correction and restarted Nagios. I am seeing .rrd files now.

Now to add the graph links to the .cfg's
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagiosgrgaph?

Post by tgriep »

That is good to hear. Shall we close and lock up the post then?
Be sure to check out our Knowledgebase for helpful articles and solutions!
gavinh
Posts: 42
Joined: Wed Apr 08, 2015 4:44 pm

Re: Nagiosgrgaph?

Post by gavinh »

Yes this is resolved. Thanks.
Locked