web12

Well-Known Member
Nov 20, 2002
240
0
166
Hi,

I installed GPANs MRTG RPM on a fedora machine a couple of days ago, something which i have done on another machine before in the past... but for some reason every night during the UPCP it tries to update mrtg and knackers up the installation and I get no reports after that time.

I added mrtg to the up2date --configure pkgSkipList feature but it still does it.

Anyone tell me how to stop this?

thanks
 

haze

Well-Known Member
Dec 21, 2001
1,540
3
318
Are you running yum or apt-get ? perhaps cpanel is using one of those ?
 

web12

Well-Known Member
Nov 20, 2002
240
0
166
haze said:
Are you running yum or apt-get ? perhaps cpanel is using one of those ?
There is an empty file in /var/cpanel called useyum, and a directory called yum in /var/cache... so I would guess yes, but I havent installed this or configured it myself so am guessing this was part of the DCs installation image.

Any ideas on how to configure this to ignore mrtg?

thanks
 

haze

Well-Known Member
Dec 21, 2001
1,540
3
318
Paste the output of the following command as root in SSH:

cat /etc/yum.conf
 

web12

Well-Known Member
Nov 20, 2002
240
0
166
Hi Hazed,

The header had the following:-
[main]
exclude=mod_ssl* httpd* perl mysql* php*
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=fedora-release
tolerant=1
exactarch=1
I added mrtg* to the end of the exclude line... would that be correct?