/var/lib/mrtg/172.26.253.1_608.rrd does not exist.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
typer100
Posts: 41
Joined: Tue Sep 25, 2018 7:22 am

/var/lib/mrtg/172.26.253.1_608.rrd does not exist.

Post by typer100 »

Hi. I've updated Nagios and mod gearman this morning and I have this issue now.

I ran this command: LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg -debug=cfg,base &> /tmp/mrtg.txt

I've attached the output.

Thanks
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: /var/lib/mrtg/172.26.253.1_608.rrd does not exist.

Post by scottwilkerson »

Are you sending switch/router wizard checks to a remote worker?

This will not work as they need to be processed locally on the XI server in order to have access to the rrd files in /var/lib/mrtg/

You need to put these in a group that is only run locally (or via a worker that is on the XI server)
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
typer100
Posts: 41
Joined: Tue Sep 25, 2018 7:22 am

Re: /var/lib/mrtg/172.26.253.1_608.rrd does not exist.

Post by typer100 »

I just checked and the host itself is managed by a remote worker, but not the service.
Don't know if it's in the best practice.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: /var/lib/mrtg/172.26.253.1_608.rrd does not exist.

Post by scottwilkerson »

Ok, so if the services are managed locally, lets check that this file exists on the XI server

Code: Select all

ls -l /var/lib/mrtg/172.26.253.1_608.rrd
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
typer100
Posts: 41
Joined: Tue Sep 25, 2018 7:22 am

Re: /var/lib/mrtg/172.26.253.1_608.rrd does not exist.

Post by typer100 »

Like I said the host was on a remote worker. But not the service.
I've moved the host back on the Nagios server and it fixed my issue.

Thanks.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: /var/lib/mrtg/172.26.253.1_608.rrd does not exist.

Post by scottwilkerson »

typer100 wrote:Like I said the host was on a remote worker. But not the service.
I've moved the host back on the Nagios server and it fixed my issue.

Thanks.
Glad the issue is resolved

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked