Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Sep 2008 13:24:09 -0400
From:      Tony Holmes <tony@crosswinds.net>
To:        freebsd-isp@freebsd.org
Subject:   SNMP On FreeBSD 4.10
Message-ID:  <20080903172409.GB14969@crosswinds.net>

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

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