[mrtg] Request: MRTG Installation and Configuration on Linux
mpetach at yahoo.com
Fri Jun 13 23:30:39 CEST 2008
Sure, that's fine; here, for example, I create a user called "mrtg" and a group called "mrtg",
and then I install all the mrtg files into /home/mrtg; binary files go in /home/mrtg/bin/,
the data files go in /home/mrtg/data/, configs go in /home/mrtg/cfgs/
"chown -R mrtg:mrtg /home/mrtg"
chmod 2775 /home/mrtg /home/mrtg/data /home/mrtg/cfgs
That way, anyone in the "mrtg" group can work on the mrtg files
without needing root access. Any users that you want to be able
to work on your mrtg tree, just add them to the "mrtg" group in /etc/groups,
and voila, no more need to run things as root.
That way, all your crontab entries are also stored in the crontab for
the mrtg user, and are easily spottable when running "ps" or "top"
as separate from the root processes.
Hope that helps!
----- Original Message ----
From: "Ogunmadewa, Oludare" <oludare.ogunmadewa at wachovia.com>
To: mrtg at lists.oetiker.ch
Cc: oludare1 at netzero.com
Sent: Friday, June 13, 2008 9:29:22 AM
Subject: [mrtg] Request: MRTG Installation and Configuration on Linux
Novice needs help.
x86_64 x86_64 x86_64 GNU/Linux
I will like to limit or eliminate requirements for “root”
to manage/administer MRTG.
I am thinking of re-installing MRTG and necessary tools in a
non-root file systems like /fire/ (/fire will is owned by another user).
How can I have “root” install MRTG and other tools
so that another assigned user can have access to manage and administer MRTG?
Is it possible for me to install MRTG (to monitor cpu, memory,
disk space, files, swap, services and daemons) for html graphs and alert
Do you have other advice for me?
Thanks for your help and input.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mrtg