Re: Solaris Network Interfaces

2007-06-21 Thread Thomas Anders
William B Carlson wrote: I have Solaris 8 and Solaris 9 machines that have multiple network interfaces.I'm using version NET-SNMP version: 5.1.1. That is an extremely old release, and is not even the most recent version on the 5.1.x line (which is no longer being maintained), We would

Using mib2c

2007-06-21 Thread Karthikeyan Ramasubramanian
Hi, I have a mib where scalars and tables are present together. When i try to generate a .c .h file using mib2c tool for the Net-SNMP style code then it first detects that i have scalars and asking me whether to generate the code for scalars. I gave the option of generating generic scalar

Re: Using mib2c

2007-06-21 Thread Dave Shield
On 21/06/07, Karthikeyan Ramasubramanian [EMAIL PROTECTED] wrote: How can i have the code generated for both scalars and tables in the same file? Please see the FAQ entry: How can I have mib2c generate code for both scalars and tables?

SNMPSET Error

2007-06-21 Thread Felizol, Tiago
Hi, Does anyone knows what the following error means ? C:\usrsnmpset -c private -v 2c 13.202.6.123 1.3.6.1.4.1.253.8.74.6.2.1.9.3.152 .120.2 s HTTP over IP Error in packet. Reason: undoFailed regards, Tiago Felizol -

vp-magic and OID passed by snmpd

2007-06-21 Thread Shivani Garg
Greetings to all. I am using the code generated by mib2c for my MIB file. It contains an array like this.. : *oid systemInfo_variables_oid[] = { 1, 3, 6, 1, 4, 1, 6305, 1, 10, 1, 2, 1 };* *struct variable7 systemInfo_variables[] = {* *.* *.* *.* */* Out of all the elements of array, one is

Fwd: vp-magic and OID passed by snmpd

2007-06-21 Thread Shivani Garg
Sincere Apologies.. I copied the wrong error in my last mail.. I error I get is: RFC1155-SMI::enterprises.6305.1.10.1.2.1.2.18.1.1.1 = No Such Instance currently exists at this OID -- Forwarded message -- From: Shivani Garg [EMAIL PROTECTED] Date: Jun 21, 2007 4:35 PM Subject:

Re: SNMPSET Error

2007-06-21 Thread Dave Shield
On 21/06/07, Felizol, Tiago [EMAIL PROTECTED] wrote: Does anyone knows what the following error means ? C:\usrsnmpset -c private -v 2c 13.202.6.123 1.3.6.1.4.1.253.8.74.6.2.1.9.3.152.120.2 s HTTP over IP Error in packet. Reason: undoFailed a) It means that the agent attempted to apply

Re: vp-magic and OID passed by snmpd

2007-06-21 Thread Dave Shield
On 21/06/07, Shivani Garg [EMAIL PROTECTED] wrote: struct variable7 systemInfo_variables[] = { #define OVERALLDISKOCCUPANCYINKB 276 {OVERALLDISKOCCUPANCYINKB, ASN_UNSIGNED, RONLY, var_systemDiskStatsNotfyAttrTable, 4, {2, 18, 1, 1}}, } If you look at the definition of struct

problem with the embedded snmpd

2007-06-21 Thread Goodshirly
hi,all : I tried to embed the snmpd to a arm-linux system.But something puzzled me .I'm looking forward to your help! I've done the cross-compile work alreay,and it worked well. After that,i copy the snmpd.o and snmpd.conf into the arm-linux platform. but the file system in my embedded

Re: problem with the embedded snmpd

2007-06-21 Thread Dave Shield
On 21/06/07, Goodshirly [EMAIL PROTECTED] wrote: Can I change the default directory where snmpd often search for its snmpd.conf? $ cd net-snmp-5.4 $ ./configure --help : --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --datadir=DIR

RE: net SNMPv3 support

2007-06-21 Thread namitha.gowda
Hi Dave, Thanks for your replies. I executed the following command: snmpwalk -v 3 -u ashis -n jetDirect -l authPriv -a MD5 -A 1234567 8 -x DES -X 12345678 10.200.90.113 1.3.6.1.2.1.43.5.1.1.3.1 And got the below response Encryption support not enabled. snmpset: USM encryption

Re: net SNMPv3 support

2007-06-21 Thread Dave Shield
On 21/06/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I executed the following command: snmpwalk -v 3 -u ashis -n jetDirect -l authPriv -a MD5 -A 12345678 -x DES -X 12345678 10.200.90.113 1.3.6.1.2.1.43.5.1.1.3.1 And got the below response Encryption support not enabled. snmpset:

Table Iterator Helper

2007-06-21 Thread Graeme Wilson
Hi, I have a couple of questions/problems with the iterator helper in my Agent code (I've been using Net-SNMP 5.3.0.1). Hopefully someone can help me out please. - I've been trying to use the free_loop_context_at_end function callback, but this only seems to get called when a simple get is

Same OID for RFC1213-MIB::ifspeed and IF-MIB::ifspeed

2007-06-21 Thread arijit
Hi, When I do a snmptranslate for RFC1213-MIB::ifspeed and IF-MIB::ifspeed - they return me the same OID. Is that a OID clash between these 2 standard MIB definitions? -Arijit Pinpoint customers

Re: Same OID for RFC1213-MIB::ifspeed and IF-MIB::ifspeed

2007-06-21 Thread Dave Shield
On 21/06/07, arijit [EMAIL PROTECTED] wrote: When I do a snmptranslate for RFC1213-MIB::ifspeed and IF-MIB::ifspeed - they return me the same OID. Is that a OID clash between these 2 standard MIB definitions? No - they refer to the same management object. IF-MIB is simply a later

Reļ¼šproblem with the embedded snmpd

2007-06-21 Thread Goodshirly
Hi Dave,hi all I've configured the net-snmp with --sysconfdir=/tmp/yaffs --datadir=/tmp/yaffs in PC. And I see there is a document named mibs be created under /tmp/yaffs/snmp. After that,i copy the snmpd.o and snmpd.conf into the embedded device under the directory:/tmp/yaffs. but it still

RE: net SNMPv3 support

2007-06-21 Thread namitha.gowda
Hi Dave, I am trying to send some packets using SNMPv3 but its failing. Please check the details below and let me know if I am missing something. C:\usr\binsnmpwalk -v 3 -u ashis -n jetDirect -l authPriv -a MD5 -A 682440502979335457 -x DES -d -X 6824402502979335457 10.200.90.113