--base: Get Device Info on public@192.168.128.129:
SNMP Error:
no response received
SNMPv1_Session (remote host: "192.168.128.129" [192.168.128.129].161)
community: "public"
request ID: 1382243586
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 627
SNMPWALK Problem for 1.3.6.1.2.1.1 on public@192.168.128.129::::::v4only
at /usr/bin/cfgmaker line 924
WARNING: Skipping public@192.168.128.129: as no info could be retrieved
--base: Writing /etc/mrtg/mrtg.cfg
修改 mrtg.cfg:
cp /etc/mrtg/mrtg.cfg /etc/mrtg/mrtg.cfg.bak
vi /etc/mrtg/mrtg.cfg
cd /var/www/mrtg/web
indexmaker /etc/mrtg/mrtg.cfg > index.html
設定瀏覽範圍:
cp /etc/httpd/conf.d/mrtg.conf /etc/httpd/conf.d/mrtg.conf.bak
vi /etc/httpd/conf.d/mrtg.conf
Alias /mrtg /var/www/mrtg
<Location /mrtg>
Order deny,allow
Deny from all
Allow from 127.0.0.1 修改成--> Allow from 192.168.1.0/255.255.255.0
Allow from ::1
# Allow from .example.com
</Location>