Page 1 of 1

Nagiosgrgaph?

Posted: Wed Jun 15, 2016 1:11 pm
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?

Re: Nagiosgrgaph?

Posted: Wed Jun 15, 2016 4:36 pm
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

Re: Nagiosgrgaph?

Posted: Thu Jun 16, 2016 12:48 pm
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.

Re: Nagiosgrgaph?

Posted: Thu Jun 16, 2016 12:55 pm
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

Re: Nagiosgrgaph?

Posted: Thu Jun 16, 2016 4:29 pm
by tgriep
That is good to hear. Shall we close and lock up the post then?

Re: Nagiosgrgaph?

Posted: Thu Jun 16, 2016 4:46 pm
by gavinh
Yes this is resolved. Thanks.