% sudo yum install mrtg
on some systems you might need to use dnf
% sudo dnf install mrtg
You need to execute the following steps (assuming your web server document root is /var/www/html)
% sudo /usr/sbin/svctool --mrtg=/var/www/html/mailmrtg --servicedir=/service
After carrying out the above step, check the status of mrtg service
% sudo svstat /service/mrtg
/service/mrtg/: up (pid 2443) 35254 seconds
Point your browser to /var/www/html/mailmrtg and you should see the graphs.
|
No comments:
Post a Comment