MRTG rrd files does not exist.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: MRTG rrd files does not exist.

Post by bosecorp »

could I workaround it by creating a service group so that service/check can run on that worker
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: MRTG rrd files does not exist.

Post by tgriep »

No, that check cannot be run remotely, it needs to read the files that are only on the XI server.
Be sure to check out our Knowledgebase for helpful articles and solutions!
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: MRTG rrd files does not exist.

Post 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?
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: MRTG rrd files does not exist.

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: MRTG rrd files does not exist.

Post by bosecorp »

here it is
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: MRTG rrd files does not exist.

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: MRTG rrd files does not exist.

Post by bosecorp »

Can this be included in future releases of nagios xi
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: MRTG rrd files does not exist.

Post 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.
Former Nagios employee
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: MRTG rrd files does not exist.

Post 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?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: MRTG rrd files does not exist.

Post 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.
Former Nagios employee
Locked