Page 1 of 1

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

Posted: Tue Mar 05, 2019 2:01 pm
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

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

Posted: Tue Mar 05, 2019 4:20 pm
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)

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

Posted: Wed Mar 06, 2019 7:00 am
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.

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

Posted: Wed Mar 06, 2019 7:21 am
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

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

Posted: Thu Mar 07, 2019 6:19 am
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.

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

Posted: Thu Mar 07, 2019 8:30 am
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