can anyone help me for snmp & mrtg???
i am running a gateway with red hat linux 9.0 and i want to configure mrtg in that gateway i did following but there is some problem they are following:
Installing the SNMP
# rpm –qa | grep snmp
# rpm –ivh net-snmp-utils-………………rpm
Configuring SNMP
# cd /etc/snmp
# mv snmpd.conf snmpd.conf.old
# vi snmpd.conf [new file]
rocommunity ropublic [any string]
or
#echo “rocommunity ropublic”>/etc/snmp/snmp.conf
# chkconfig snmpd on
# /etc/rc.d/init.d/snmpd start
# snmpwalk –v 1 –c ropublic localhost system (when I quering this the output is :Timeout:no response from localhost)
# snmpwalk –v 1 –c ropublic localhost interface(when I quering this the output is :Timeout:no response from localhost)
Step 2: Web Server
# rpm –qa | grep httpd
# rpm –ivh httpd-2………..rpm
# service httpd start
Step 3: MRTG
Installing MRTG
# rpm –ivh mrtg-2.10…………rpm [RH 9.0 Disk 02]
# vi /etc/sysconfig/i18n
Replace LANG=”en_US.UTF_8”
with LANG=”en_US”
# init 6
Making Configuration File:
# cfgmaker - -output=/etc/mrtg/shahin.cfg - - global “workdir: /var/www/html/traffic” - - global ‘options[ _ ]: growright, bits’ ropublic@localhost (when I quering this the output is :no file created)
please help me i don't know what to do...???i am novice please reply me in detail.......
Last edited by fadu; 02-02-2010 at 09:17 AM.
|