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
/var/lib/mrtg/172.26.253.1_608.rrd does not exist.
/var/lib/mrtg/172.26.253.1_608.rrd does not exist.
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.
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)
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.
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.
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.
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.rrdRe: /var/lib/mrtg/172.26.253.1_608.rrd does not exist.
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.
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.
Glad the issue is resolvedtyper100 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.
Locking thread