Re: mrtg config question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Don Russell wrote:
I just installed mrtg 2.13.2 on FC5 and noticed the sample config file in /etc/mrtg/mrtg.cfg

This file has LogDir defined as /var/lib/mrtg

I suppose it doesn't really matter... but is that an error/typo? Shouldn't logs be kept in /var/log/... ?

I was going to Bugzilla this, but thought I'd get some other opinions first. :-)

Part 2: (The fun part) :-)

I created a new userid (mrtg) and created a little script to run cfgmaker and indexmaker, but now I don't know how to run mrtg so it can produce the graphs etc in /var/www/mrtg...

I suppose I could run mrtg as root... but I hate running stuff as root if not needed. Or, how can I grant write permission so the mrtg user can write to /var/www/mrtg, but not other apache-owned files/directories?

Thanks to all who replied.... I decided to simply add mrtg to /etc/crontab and run it as root for now... I may revisit this later as a general exercise. :-)

I am going to Bugzilla the placing of the log files in /var/lib though... In reading mrtg help stuff upstream, there were references to the log files being in /var/log... I *suspect* the rpm package using /var/lib for the log files was just a typo.... and because it works, was never "caught". :-)

Cheers :-)





--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux