Re: Win32 with snmpusm and --defPrivLocalizedKey

2007-10-22 Thread Brendan Simon
Wes Hardaker wrote: BS So I guess the win32 build does not: BS * correctly implement the --defPrivLocalizedKey option BS * correctly implement the snmpusm -Cx changekey command. Well, it's certainly not the first. Ok, I hope. Caveat: I don't use windows. Plus: I wrote much of both the DH

Asterisk MIB implementation

2007-10-22 Thread dhannya.chandran
Hi, Has anyone possess the Asterisk MIB implementation . Please provide some useful linkwhere I can find the Asterisk PBX MIb implementation . Regards, Dhannya Chandran. - This SF.net email is sponsored by:

RE: How to let the snmpd to persist usm user changes right away?

2007-10-22 Thread Ping Chen
Hi, Wes: I tried that, the first time it works. But If I change the USM keys several times, only the older version is persisted, not new ones somehow( I call the same script). Thanks Ping -Original Message- From: Wes Hardaker [mailto:[EMAIL PROTECTED] Sent: Tue 10/16/2007 3:19 PM

Re: Errors while accessing Table objects

2007-10-22 Thread Dave Shield
On 21 Oct 2007 12:20:12 -, girish [EMAIL PROTECTED] wrote: I'm using own mib. When I issue a snmpset command for one of the string object its giving following error. Error in packet. Reason: wrongLength What does the code that implements

Re :Re: Errors while accessing Table objects

2007-10-22 Thread girish
Hi Dave,nbsp;nbsp;nbsp; nbsp;nbsp; Thanks for the reply.Here is the command which i issued and the code which I used is got generated by using mib2c.gt;What is the \snmpset\ command that you are using?snmpset -v 3 -u myuser -l authNoPriv -a MD5 -A my_password localhost UserLabel.1 s

Re: Re :Re: Errors while accessing Table objects

2007-10-22 Thread Dave Shield
On 22 Oct 2007 08:45:41 -, girish [EMAIL PROTECTED] wrote: the code which I used is got generated by using mib2c. I'm sorry - that's not really a lot of help. The mib2c tool can generate code in a wide variety of styles, and you haven't said anything about what sort of code you asked it to

Re: Re :Re: Re :Re: Errors while accessing Table objects

2007-10-22 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] On 22

Re :Re: Re :Re: Re :Re: Errors while accessing Table objects

2007-10-22 Thread girish
The command which i\'m issuing is not at all hitting my subagent. In the subagent i\'ve this code for the object.voidinitialize_table_myTable(void){nbsp;nbsp;nbsp; static oidnbsp;nbsp;nbsp;nbsp;nbsp; myTable_oid[] =nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; { 1, 3, 6, 1, 4, 1, 872, 2, 5, 1,

Unable to do snmpget for subagent

2007-10-22 Thread Nevadita Chatterjee
Hi All, I am trying to attach a subagent to net-snmp but it is giving the response as NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0 = No Such Object available on this agent at this OID The Steps that I have followed: 1.I placed my mib in /usr/local/share/snmp/mibs/*NET-SNMP-TUTORIAL-MIB* *2.*

Net-SNMP agent trap supports IPv6

2007-10-22 Thread Partha Sarathi Besagarahalli Lakshmaiah
Hi all, Is Net-SNMP snmptrap (agent) can send trap to IPv6 manager? If it works, what configuration I need to do. Please let me know. Thanks in advance, Partha DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. If you have

Re: Re :Re: Re :Re: Re :Re: Errors while accessing Table objects

2007-10-22 Thread Dave Shield
On 22 Oct 2007 10:14:09 -, girish [EMAIL PROTECTED] wrote: In the subagent i've this code for the object. struct myTable_entry { : longmyId; charUserLabel[NNN]; : }; switch (table_info-colnum) { case

Unable to do snmpget for subagent

2007-10-22 Thread Nevadita Chatterjee
-- Forwarded message -- From: Nevadita Chatterjee [EMAIL PROTECTED] Date: Oct 22, 2007 4:09 PM Subject: Unable to do snmpget for subagent To: net-snmp-users@lists.sourceforge.net Hi All, I am trying to attach a subagent to net-snmp but it is giving the response as

RE: Unable to do snmpget for subagent

2007-10-22 Thread Pamidipati Suresh-G20238
Hi, Did you make sure that subagent is connected to SNMPD.? Did you mention in the subagent's configuration file where master agent (SNMPD) is running.? For eg, if SNMPD is running as agentx master agent (on the same machine) listening for agentx connections at port 705, then subagent's

Re :Re: Re :Re: Re :Re: Re :Re: Errors while accessing Table objects

2007-10-22 Thread girish
Well I\'ve defined NNN as 32 already. Now I tried using netsnmp_check_vb_type_and_max_size but still the error is there. I doubt whether the command which I\'m using is correct or not. snmpset -v 3 -u myuser -l authNoPriv -a MD5 -A my_password localhost UserLabel.1 s girishor any other issue

Re: Re :Re: Re :Re: Re :Re: Re :Re: Errors while accessing Table objects

2007-10-22 Thread Dave Shield
On 22 Oct 2007 12:36:27 -, girish [EMAIL PROTECTED] wrote: Well I've defined NNN as 32 already. Fair enough (though that wasn't in the code you posted). Now I tried using netsnmp_check_vb_type_and_max_size but still the error is

RE: Installation On Solaris: cp: cannot create /usr/local/lib/#inst.8486#: Permission denied

2007-10-22 Thread Smith_Randy
Hello, Thank you for your support. Since sending the email, I made some adjustments in the way that I configured and built. First off, I switched over to the GNU compiler (gcc) and then I disabled support for PERL. When running the ./configure program, I used the same options as below

Issue in starting the snmpd daemon for net-snmp 5.4.

2007-10-22 Thread Rajendra, Singh
Hi all, I have compiled the net-snmp 5.4.1 without perl embedded perl support. But when I try to run it on my target Machine the snmpd service is not starting. I tried starting the snmpd service with the debug flags enabled but that Also invain. I am attaching the outputs I collected

RE: Unable to do snmpget for subagent

2007-10-22 Thread Mike Ayers
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nevadita Chatterjee Sent: Monday, October 22, 2007 3:40 AM 13 snmpget -v 2c -c public localhost NET-SNMP-TUTORIAL-MIB::snmpget localhost

Compile error using SNMP 5.3.1

2007-10-22 Thread James Mathis
Hi, I received the following compile error during 'make'. Additional info as follows: OS: RH ES 4.0 64-bit kernel gcc -g -O2 -Dlinux -I/usr/include/rpm -o .libs/snmpd snmpd.o ./.libs/libnetsnmpmibs.so ./.libs/libnet snmpagent.so helpers/.libs/libnetsnmphelpers.so

Re: Win32 with snmpusm and --defPrivLocalizedKey

2007-10-22 Thread Brendan Simon
See end for suspected bug. Brendan Simon wrote: Wes Hardaker wrote: BS So I guess the win32 build does not: BS * correctly implement the --defPrivLocalizedKey option BS * correctly implement the snmpusm -Cx changekey command. Well, it's certainly not the first. Ok, I hope. Caveat: I

net-snmp service fail to start

2007-10-22 Thread Ross Lee
Hi all, I encounter the above error message when I try to start the Net-Snmp agent service in windows. The net-snmp trap handler is working fine. I have disabled both the windows snmp agent and the trap handler. I am using net-snmp v5.4.1-2. Any advise is appreciated. Cheers, Ross

SNMP 5.3.1 Fails during Make Process

2007-10-22 Thread James Mathis
Hi, I received the following compile error during 'make'. Additional info as follows: OS: RH ES 4.0 64-bit kernel gcc -g -O2 -Dlinux -I/usr/include/rpm -o .libs/snmpd snmpd.o ./.libs/libnetsnmpmibs.so ./.libs/libnet snmpagent.so helpers/.libs/libnetsnmphelpers.so

Dell MIBs

2007-10-22 Thread snmp
Hello I have Centos installed on Dell servers and I want to monitor them through snmpwalk, would you please let me know if just copying Dell MIBs in Linux MIB directory is enough, or there is some procedure to add Enterprise MIBs in to Linux box. Thanks