Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Sep 2008 15:01:25 -0400
From:      Tony Holmes <tony@crosswinds.net>
To:        freebsd-isp@freebsd.org
Subject:   Re: SNMP On FreeBSD 4.10
Message-ID:  <20080903190125.GC15696@crosswinds.net>
In-Reply-To: <20080903172409.GB14969@crosswinds.net>
References:  <20080903172409.GB14969@crosswinds.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> I am attempting to configure snmpd on 4.10 for monitoring bandwidth
> in/out via ipfw counters.
> 
> Took a while to find all the old packages for 4.10 but it's installed
> and now dying on the configure step:
> 
> cw-fw# snmpconf -g basic_setup
> Not enough arguments for mkdir at /usr/local/bin/snmpconf line 174, near ""$ENV{HOME}/.snmp")"
> Execution of /usr/local/bin/snmpconf aborted due to compilation errors.
> cw-fw# snmpconf
> Not enough arguments for mkdir at /usr/local/bin/snmpconf line 174, near ""$ENV{HOME}/.snmp")"
> Execution of /usr/local/bin/snmpconf aborted due to compilation errors.
> 
> 
> Googling has turned up people asking the same question and no answers.
> This is new to me and I am currently stumped.
> 
> I installed the net-snmpd with the following options:
> 
> make WITH_INETADDRESS_HACK=yes WITHOUT_IPV6=yes NET_SNMP_SYS_CONTACT="[SNIP]"
>     NET_SNMP_SYS_LOCATION="[SNIP]" install
> 
> Went well with no errors.
> 
> Help?

Commenting out the option I know I wasn't needed solved the problem. Then
I gave up on snmpdconf - too many options! Broke my brain. I found a lovely
little "basic" configuration in an email reply to another issue.

Now the true debugging begins

-- 
Tony Holmes

Ph: (416) 993-1219

Founder and Senior Systems Architect
Crosswinds Internet Communications Inc.



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