Red Hat Bugzilla – Bug 63153
WorkDir: in /etc/mrtg/mrtg.cfg
Last modified: 2008-05-01 11:38:01 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Description of problem:
The default WorkDir in /etc/mrtg/mrtg.cfg is set to /home/httpd/html/mrtg,
which doesn't exist. 'mrtg' doesn't complain when you execute via a shell, but
when you execute it via cron job you get an error saying that directory doesn't
If you comment out WorkDir for that file, then it complains that you need a
You might want to change that to /var/www/html/mrtg which does exist and is
part of that package ..
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.create cfg for device
2. set cronjob to run mrtg
3. check email for errors..
Is this happening after upgrading from a previous version, or when just
installing the current version (2.9.17-3)? I ask because the mrtg.cfg from
2.9.17-3 already has the correct setting in it.
The mrtg.cfg configuration file is marked %config(noreplace), so when an upgrade
is performed, the correct settings should at least be in /etc/mrtg/mrtg.cfg.rpmnew.
looks like that was exactly the problem. this was an upgrade..
Alright then, closing as fixed in current release.