user auth for mrtg
Hi,
i have been installing MRTG for some time and have noticed some few occurances.i installed it on mostly RH 9 systems.
i runthe normal cfgmake like this:
/usr/bin/cfgmaker --global 'WorkDir: /var/www/html' --global 'Options[_]: bits,growright,nobanner' --ifref=ip --subdirs HOSTNAME --output /etc/mrtg/mrtg.cfg abcdkkon@198.17.74.6
this works great.
i then run the mrtg command:
[root@mrtg2 root]# env LANG=C mrtg /etc/mrtg/mrtg.cfg
this gives me an error saying that it cannot find the "ip: 2.0.0.2.0.x.x.x.x" or something like that
i then have to open the mrtg.cfg to change all occurences of "198.17.74.6_2.0.0.2.0.x.x.x.x" on the needed interface(s) to 198.17.74.6_198.17.74.6" before the mrtg command can work.
Pls what cud be wrong with this? cud it be the mrtg version, snmp version or my cfgmaker command.
The second is that i hav been given people open access to view the mrtg on the mrtg box, i wud like to implement a secured solution whereby clients will have to login with a given username and password before they can get their corresponding mrtg results. i feel this will have a bit of mysql and php. pls i will welcome ideas about this coz i have mrtg working already
Thanks
D.
|