Page 2 of 3

Re: MRTG rrd files does not exist.

Posted: Fri Mar 20, 2015 12:07 pm
by bosecorp
could I workaround it by creating a service group so that service/check can run on that worker

Re: MRTG rrd files does not exist.

Posted: Fri Mar 20, 2015 12:34 pm
by tgriep
No, that check cannot be run remotely, it needs to read the files that are only on the XI server.

Re: MRTG rrd files does not exist.

Posted: Fri Mar 20, 2015 3:09 pm
by bosecorp
but, it was explained to me that the host can run in another worker, but the services will run on the nagios servers. Essentially that is how I have it configured, the host checks happen on the worker, but the services supposed to run on the nagios server.

is that a true statement?

Re: MRTG rrd files does not exist.

Posted: Fri Mar 20, 2015 3:19 pm
by tgriep
Can you post back what checks you want to run on the remote server?
Most of the default host and service checks can run remotely, the check_rrdtraf cannot run remotely.

Re: MRTG rrd files does not exist.

Posted: Fri Mar 20, 2015 5:25 pm
by bosecorp
here it is

Re: MRTG rrd files does not exist.

Posted: Sun Mar 22, 2015 9:51 am
by scottwilkerson
This is one of the few checks that cannot be run on a different server and here is why:

What this check does, is read a value from an RRD file. The RRD file it is trying to read is created from MRTG on the Nagios XI server. If you run the check on a different machine it will not have access to the RRD file, and hence cannot read the value from it.

Re: MRTG rrd files does not exist.

Posted: Mon Mar 23, 2015 7:27 am
by bosecorp
Can this be included in future releases of nagios xi

Re: MRTG rrd files does not exist.

Posted: Mon Mar 23, 2015 9:12 am
by tmcdonald
It's not something that can necessarily be built in to XI. You would need to set up and configure MRTG to run on the remote machine as well, since that is how the RRD files are generated for check_rrdtraf to run.

Re: MRTG rrd files does not exist.

Posted: Thu Mar 26, 2015 7:58 am
by bosecorp
THanks.


I am assuming if I install MRTG on the worker server, Nagios won;t be able to support it, is that right?

Re: MRTG rrd files does not exist.

Posted: Thu Mar 26, 2015 9:17 am
by tmcdonald
That's a bit of a gray area, since at that point the worker/remote server is running gearman and MRTG (neither of which are Nagios products). Not *strictly* within our service contract, but we'll do what we can. It gets tricky when we run into weird edge case bugs in software we didn't write, both because we are not necessarily familiar with the codebase, and because we can't make changes to it.

Long story short: We'll help as much as possible, but there are no guarantees.