RE:OID RETRIVAL in form of string (SNMPV1)

2009-03-05 Thread anand chandragandhi
Hi. I want to get the oid alone from response packet in string format eg:1.3.6.1.2.1.1.1.0 Purpose is: I am sending getnext for this OID 1.3.6.1.2.1.4.20.1 The response packet has value IP addr(eg:172.19.240.43) and OID is 1.3.6.1.2.1.4.20.1.1.172.29.240.43(this i captured in ethereal and want

RE: can not remove netSnmpObjects from mib walk

2009-03-05 Thread Joan Landry
Dave, I had to remove these mibs via changing the view access and that works. However, I am still getting the netSnmpNotifications.3 trap when a hup is issued to snmpd service. Any ideas how to stop this trap? I tried ./snmpd -f -Le -Dmib_init -I -netSnmpNotifications.3 and ./snmpd -f -Le -Dmib_

RE: Undefined reference to openssl (sorry about the last one, wrong title)

2009-03-05 Thread Sergio Cabaço
Problem solved. The Makefiles were corrupted or incomplete. Thanks, Sérgio Cabaço -Original Message- From: Sergio Cabaço Sent: quarta-feira, 4 de Março de 2009 17:51 To: Sergio Cabaço; Dave Shield Cc: net-snmp-users@lists.sourceforge.net Subject: Undefined reference to openssl (sorry abo

Subagent OID

2009-03-05 Thread Samer Vazdekis
Hi there, How can I configure my agentx subagent to send a specific subagent OID along with the open-pdu. The master agent is seeing this OID (SNMPv2-SMI::enterprises.8072.3.2.8) when handling an open-pdu. Thanks. _ Reunite wit

RE: can not remove netSnmpObjects from mib walk

2009-03-05 Thread Joan Landry
Thanks for the response - I will try this. -Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Thursday, March 05, 2009 10:29 AM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: Re: can not remove netSnm

Re: Trap question: OID for variable from a table

2009-03-05 Thread Dave Shield
2009/3/5 McGowen, Wendy : > So since this is a single indexed table, the vmName would be the last > index, making .118.109.49 acceptable. Plus I've defined it with IMPLIED > (although is that really necessary?): No - it's not necessary. Whether you use implicit or explicit string indexes is totall

RE: Trap question: OID for variable from a table

2009-03-05 Thread McGowen, Wendy
So since this is a single indexed table, the vmName would be the last index, making .118.109.49 acceptable. Plus I've defined it with IMPLIED (although is that really necessary?): vmTableEntry OBJECT-TYPE SYNTAX VMTableEntry MAX-ACCESS not-accessible STATUS current

Re: can not remove netSnmpObjects from mib walk

2009-03-05 Thread Dave Shield
2009/3/5 Joan Landry : > I did -Dmib_init to get a list of mibs - and I do not see any reference to > the net-snmp mib listed. The agent doesn't necessarily implement every MIB as one single lump. It typically implement a group of objects, which may well be only part of the relevant MIB file. T

can not remove netSnmpObjects from mib walk

2009-03-05 Thread Joan Landry
Does anyone know how to remove the net-snmp enterprise mib from the list of mibs automatically supported by net-snmp? I did -Dmib_init to get a list of mibs - and I do not see any reference to the net-snmp mib listed. I tried this: ./snmpd -f -Le -Dmib_init -I -netSnmpObjects but the followi

Re: problem with snmpusm command

2009-03-05 Thread kusuma.bm
Hi, thanks a lot Dave, the problem got solved. Actually the agent was reading the settings from /usr/local /share/snmpd.conf and not from /etc/snmp/snmpd.conf. This command really helped me to solve the problem. *snmpd -f -Le -Dread_config thanks kusuma * Dave Shield wrote: [ First -