Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Oct 2005 17:09:35 +0200
From:      Frank Staals <frankstaals@gmx.net>
To:        "Edwin D. Vinas" <xmisoy@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: SNMP in FreeBSD server
Message-ID:  <435A562F.8030307@gmx.net>
In-Reply-To: <36f5bbba0510220749w59da1721v60b64504b35ac6a7@mail.gmail.com>
References:  <36f5bbba0510220749w59da1721v60b64504b35ac6a7@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Edwin D. Vinas wrote:

>Hi,
> I'm running a FreeBSD server on a DSL and I wan't to monitor the link
>utilization of it using MRTG and NET-SNMP. I installed net-snmp using ports
>but when I tried running snmpd and querying simple snmpwalk and cfgmaker, I
>got an error as shown below. I also tried installing net-snmp from source
>from sourceforge but still snmp is not responding. Please help me on this.
> Thanks in advance.
>-Edwin
>  NOTE:
>-------------
>My snmpd.conf is in /etc/snmp/snmpd.conf
>I am running snmpd as plain 'snmpd'. I also tried 'snmpd -c snmpd.conf' but
>no effect.
>-------------
> ERROR IN CFGMAKER:
>
>--base: Get Device Info on public@192.168.1.1:
>SNMP Error:
>no response received
>SNMPv1_Session (remote host: "192.168.1.1 <http://192.168.1.1>"
>[192.168.1.1<http://192.168.1.1>;
>].161)
>community: "public"
>request ID: -1724402833
>PDU bufsize: 8000 bytes
>timeout: 2s
>retries: 5
>backoff: 1)
>at /usr/local/lib/perl5/site_perl/5.005/SNMP_util.pm line 627
>SNMPWALK Problem for 1.3.6.1.2.1.1 on public@192.168.1.1::::::v4only
>at /usr/local/bin/cfgmaker line 858
>WARNING: Skipping public@192.168.1.1: as no info could be retrieved
>
># Created by
># /usr/local/bin/cfgmaker public@192.168.1.1
>
>
>--
>--
>Edwin D. Viņas
>http://www.geocities.com/edwin_vinas/
>IN THE WORLD OF SCIENCE,
>NOTHING IS IMPOSSIBLE.
>--
>_______________________________________________
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
>
>  
>
I'm running mrtg myself, and I remember having some problem with snmpd 
when I installed it. you should have a config file in /usr/local/etc/ 
named snmpd.conf and it should look something like this: 
http://fstaals.net/junk/snmpd.conf . I can't remember anymore if I had 
to change anything else, but I think that should be it.

Good Luck

-- 
-Frank Staals





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?435A562F.8030307>