mrtg & snmp help on setup - SNMP

This is a discussion on mrtg & snmp help on setup - SNMP ; I installed mrtg and snmp 2 days ago. i have the snmp daemon running. Now i want mrtg to work w/ snmp but i get this... i can get this to work for the life of me. i am running ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: mrtg & snmp help on setup

  1. mrtg & snmp help on setup

    I installed mrtg and snmp 2 days ago. i have the snmp daemon running. Now i
    want mrtg to work w/ snmp but i get this...
    i can get this to work for the life of me. i am running redhat linux 9. i
    have snmp and mrtg installed.


    SNMP Error:
    no response received
    SNMPv1_Session (remote host: "192.168.0.50" [192.168.0.50].161)
    community: "public"
    request ID: 878990127
    PDU bufsize: 8000 bytes
    timeout: 2s
    retries: 5
    backoff: 1)
    at /usr/bin/../lib/mrtg2/SNMP_util.pm line 450
    SNMPGET Problem for ifInOctets.2 ifOutOctets.2 sysUptime sysName on
    public@192.168.0.50
    at /usr/bin/mrtg line 1491
    WARNING: Expected a number but got ''
    WARNING: Expected a number but got ''

    running RH9 on 2 machines. just want to get bandwidth stats. i checked all
    on the internet.



  2. Re: mrtg & snmp help on setup

    On Thu, 06 Nov 2003 16:59:52 +0000, Rollo wrote:

    > I installed mrtg and snmp 2 days ago. i have the snmp daemon running. Now i
    > want mrtg to work w/ snmp but i get this...
    > i can get this to work for the life of me. i am running redhat linux 9. i
    > have snmp and mrtg installed.
    >
    >
    > SNMP Error:
    > no response received
    > SNMPv1_Session (remote host: "192.168.0.50" [192.168.0.50].161)
    > community: "public"
    > request ID: 878990127
    > PDU bufsize: 8000 bytes
    > timeout: 2s
    > retries: 5
    > backoff: 1)
    > at /usr/bin/../lib/mrtg2/SNMP_util.pm line 450
    > SNMPGET Problem for ifInOctets.2 ifOutOctets.2 sysUptime sysName on
    > public@192.168.0.50
    > at /usr/bin/mrtg line 1491
    > WARNING: Expected a number but got ''
    > WARNING: Expected a number but got ''
    >
    > running RH9 on 2 machines. just want to get bandwidth stats. i checked all
    > on the internet.


    It sounds like your snmp daemon isn't running. Try service snmpd
    status. Is it running? Can you do an snmpwalk on the device? Try this:

    snmpwalk -c public -v 1 devicename

    Once you can do this you need to setup mrtg. Something like:

    cfgmaker public@devicename --output=devicename.cfg

    --
    ___________
    John Holmes
    jwholmes@earthlink.net


  3. Re: mrtg & snmp help on setup


    "John" wrote in message
    newsan.2003.11.09.19.35.33.655862@earthlink.net...
    > On Thu, 06 Nov 2003 16:59:52 +0000, Rollo wrote:
    >
    > > I installed mrtg and snmp 2 days ago. i have the snmp daemon running.

    Now i
    > > want mrtg to work w/ snmp but i get this...
    > > i can get this to work for the life of me. i am running redhat linux 9.

    i
    > > have snmp and mrtg installed.
    > >
    > >
    > > SNMP Error:
    > > no response received
    > > SNMPv1_Session (remote host: "192.168.0.50" [192.168.0.50].161)
    > > community: "public"
    > > request ID: 878990127
    > > PDU bufsize: 8000 bytes
    > > timeout: 2s
    > > retries: 5
    > > backoff: 1)
    > > at /usr/bin/../lib/mrtg2/SNMP_util.pm line 450
    > > SNMPGET Problem for ifInOctets.2 ifOutOctets.2 sysUptime sysName on
    > > public@192.168.0.50
    > > at /usr/bin/mrtg line 1491
    > > WARNING: Expected a number but got ''
    > > WARNING: Expected a number but got ''
    > >
    > > running RH9 on 2 machines. just want to get bandwidth stats. i checked

    all
    > > on the internet.

    >
    > It sounds like your snmp daemon isn't running. Try service snmpd
    > status. Is it running? Can you do an snmpwalk on the device? Try this:
    >
    > snmpwalk -c public -v 1 devicename
    >
    > Once you can do this you need to setup mrtg. Something like:
    >
    > cfgmaker public@devicename --output=devicename.cfg
    >

    Thanks for the reply but i figured it out. i knew that the daemon was
    running. i needed to comment out the botttom half of my snmpd.conf file.
    works great now...




+ Reply to Thread