Subject: Re: cacti and snmp query on ethernet interface
To: None <port-sparc@netbsd.org>
From: D G Teed <donald.teed@gmail.com>
List: port-sparc
Date: 07/06/2007 22:07:33
I did the 'snmpconf -g basic_setup' again, and this time
I did add trap info.  The following configuration allows SNMP
queries to the interface.

Using generic SNMP template in cacti, I can graph I/O.
Here is my snmpd.conf file it helps anyone
else trying to set this up on the sparc platform.

syslocation  home

syscontact  "D Teed"

sysservices 76
rouser  public noauth

rocommunity  public

trapsink  127.0.0.1

trap2sink  127.0.0.1

informsink  127.0.0.1

trapcommunity  public



On 6/27/07, D G Teed <donald.teed@gmail.com> wrote:
> Yes, I built snmpd from pkgsrc about a week ago.
> I've found it can get back a result from some queries,
> just not on the ethernet interface.
>
> For example, this works...
>
> # snmpget -v 1 -c public 127.0.0.1 sysUpTime.0
> DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (582119) 1:37:01.19
>
> snmpwalk -v 2c -c public -m ALL localhost .1.3 | more
> will also spew out a bunch of MIB variables but I don't know
> if anything is useful in that.
>
> --Donald
>
> On 6/26/07, Brett Lymn <blymn@baesystems.com.au> wrote:
> > On Tue, Jun 26, 2007 at 10:36:27PM -0300, D G Teed wrote:
> > >
> > > # snmpwalk -v 1 -c bedford localhost interfaces
> > > Timeout: No Response from localhost
> > >
> > > Is there anything else I can try or do to trace this?
> > >
> >
> > Silly question, you _did_ actually install a SNMP daemon and run it
> > did you not?  NetBSD does not have one in the base system, if you have
> > not already done so you will need to install something like net-snmpd
> > from pkgsrc.
> >
> > I have snmp working fine with cacti on my amd64 machine...
> >
> > --
> > Brett Lymn
> >
>