[mrtg] Request: MRTG Installation and Configuration on Linux
Matthew Petach
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/
Then, I
"chown -R mrtg:mrtg /home/mrtg"
and
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!
Matt
----- 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
Friends,
Novice needs help.
Current environment:
OS= 2.6.5-7.286-smp
x86_64 x86_64 x86_64 GNU/Linux
Libgd= gd-2.0.22-65.14
Mrtg= mrtg-2.10.13-44.1
Apache= apache2-2.0.59-1.1
Libpng= libpng-1.2.5-182.14
Net-SNMP= net-snmp-5.1.3.1-0.18
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).
Questions:
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
notifications?
Do you have other advice for me?
Thanks for your help and input.
Oludare
703.932.1111
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20080613/e1ab989c/attachment-0001.html
More information about the mrtg
mailing list