Re: net-snmp and openbsd

2008-05-08 Thread Parvinder Bhasin
I got it going..finally just removed the package and installed it from  
ports and it worked like a charm.

Still having issues with graphing it using cacti.
Any know how...would be great to know.

Thx.

On May 7, 2008, at 4:15 PM, Aaron Glenn wrote:


On Tue, May 6, 2008 at 10:03 PM, Parvinder Bhasin
<[EMAIL PROTECTED]> wrote:


Appreciate any help.

Thanks :)


Does netstat show it listening on the correct IP? any reason to run
net-snmp? I'd use the base snmpd unless you have a very specific
reason to run net-snmp.

aaron.glenn




Re: net-snmp and openbsd

2008-05-07 Thread Aaron Glenn
On Tue, May 6, 2008 at 10:03 PM, Parvinder Bhasin
<[EMAIL PROTECTED]> wrote:
>
>  Appreciate any help.
>
>  Thanks :)

Does netstat show it listening on the correct IP? any reason to run
net-snmp? I'd use the base snmpd unless you have a very specific
reason to run net-snmp.

aaron.glenn



Re: net-snmp and openbsd

2008-05-07 Thread Stuart Henderson
On 2008-05-07, Parvinder Bhasin <[EMAIL PROTECTED]> wrote:
> I am having some issues getting snmpd going on one of my boxes ,  
> wondering if some snmp guru can help me here.

Do you actually need some Net-SNMP feature? Despite the comment at
the bottom of snmpd(8), the snmpd in base works well for many of the
common uses. (If you haven't upgraded to 4.3 yet, this would be a
good reason to do so).



Re: net-snmp and openbsd

2008-05-06 Thread Parvinder Bhasin

Reyk,

I just ran it for troubleshooting purposes..any points?

thx.

On May 6, 2008, at 10:13 PM, Reyk Floeter wrote:


On Tue, May 06, 2008 at 10:03:39PM -0700, Parvinder Bhasin wrote:

# ps -aux | grep snmp
root 26868  0.0  3.5  2372  4548 ??  S  9:45PM0:00.39  
snmpd




yuck, it is running as root...



Appreciate any help.

Thanks :)




Re: net-snmp and openbsd

2008-05-06 Thread Reyk Floeter
On Tue, May 06, 2008 at 10:03:39PM -0700, Parvinder Bhasin wrote:
> # ps -aux | grep snmp
> root 26868  0.0  3.5  2372  4548 ??  S  9:45PM0:00.39 snmpd
> 

yuck, it is running as root...

> 
> Appreciate any help.
> 
> Thanks :)



net-snmp and openbsd

2008-05-06 Thread Parvinder Bhasin
I am having some issues getting snmpd going on one of my boxes ,  
wondering if some snmp guru can help me here.


Here is my /usr/local/share/snmp/snmpd.conf:

###
#
# snmpd.conf
#
#   - created by the snmpconf configuration program
#
###
# SECTION: Access Control Setup
#
#   This section defines who is allowed to talk to your running
#   snmp agent.

# rocommunity: a SNMPv1/SNMPv2c read-only access community name
#   arguments:  community [default|hostname|network/bits] [oid]

rocommunity  public


++

When I try to do the snmpwalk...i get timeout error.

snmpwalk -v 1 -c public 172.16.200.1 syscontact
Timeout: No Response from 172.16.200.1

I know snmpd is running:

# ps -aux | grep snmp
root 26868  0.0  3.5  2372  4548 ??  S  9:45PM0:00.39 snmpd


Appreciate any help.

Thanks :)