Results 1 to 5 of 5

Thread: can anyone help me for snmp & mrtg???

  1. #1

    Question 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 [RH 9.0 Disk 02]

    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...???

  2. #2
    Advisor Outlaw's Avatar
    Join Date
    May 2001
    Location
    Clifton Park, NY
    Posts
    630
    Make sure snmpd is listening on UDP 161

    Code:
    # netstat -pantu|grep 161
    udp        0      0 0.0.0.0:161                 0.0.0.0:*                               2088/snmpd
    Make sure that local firewall is allowing UDP 161, or is disabled for testing purposes.

  3. #3

    Unhappy

    if not what i have to do??????please tell me in detail.......i am novice...

  4. #4
    yes it is listening on UDP 161..........the what i have to do?????

  5. #5
    Advisor Outlaw's Avatar
    Join Date
    May 2001
    Location
    Clifton Park, NY
    Posts
    630
    Post the output of netstat -pantu|grep 161 within code tags

    Also post the output of chkconfig --list within code tags

Similar Threads

  1. SNMP logging
    By PaulyG in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 02-17-2006, 02:10 AM
  2. problem with snmp installation
    By Steve7 in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 07-31-2004, 12:18 AM
  3. SNMP & OpenBSD
    By Schotty in forum BSD
    Replies: 2
    Last Post: 10-24-2002, 06:08 PM
  4. monitoring with MRTG and SNMP
    By Nehctik in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 05-07-2002, 08:23 PM
  5. snmp brute force
    By elovkoff in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 04-29-2002, 07:04 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •