RE: Secure SNMP

2007-07-05 Thread Kevin Zhang
Thanks Dave for the help. I will check it out. Kevin SZ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Thursday, July 05, 2007 1:26 PM To: Kevin Zhang Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Secure SNMP On 05/07/07, Kev

Re: Secure SNMP

2007-07-05 Thread Dave Shield
On 05/07/07, Kevin Zhang <[EMAIL PROTECTED]> wrote: > I have been using net-snmp package for a while. And it works fine. > Now, I want to make the monitoring more secure. > Is there a way to do the encryption for the monitoring? Use SNMPv3 with 'authPriv'. See README.snmpv3 for details, Dave --

Secure SNMP

2007-07-05 Thread Kevin Zhang
Hi there, I have been using net-snmp package for a while. And it works fine. Now, I want to make the monitoring more secure. Is there a way to do the encryption for the monitoring? Kevin SZ smime.p7s Description: S/MIME cryptographic signature -

Re: Viewing DESCRIPTION fields

2007-07-05 Thread Dave Shield
On 05/07/07, Ashutosh Rajekar <[EMAIL PROTECTED]> wrote: > I would like to be able to see either the DESCRIPTION fields from my MIB > file - how do I go about doing this? snmptranslate -Td MY-MIB::mibObject > Also, how do I see the "name" entries (through snmpcmd and php-snmp) that > get r

Viewing DESCRIPTION fields

2007-07-05 Thread Ashutosh Rajekar
Hi, I have an SNMP interface for my daemon application, which I can browse using snmptable and other utils, including php-snmp. I have my own MIB, with fields and descriptions for every piece of information I want to access. I would like to be able to see either the DESCRIPTION fields from my MIB

Re: SNMP AgentX Problem

2007-07-05 Thread Thomas Anders
Stefan Mikuszeit wrote: > I used the Hello World example from `perldoc NetSNMP::agent` and > started the SNMP Agent via: > /usr/sbin/snmpd -Ls DAEMON -Lf /var/log/snmpd.log -u root -p > /var/run/snmpd.pid -x tcp:localhost:705 -c /etc/snmp/snmpd.conf > > and the subagent

RE: Problem with making NET-SNMP

2007-07-05 Thread duraivelanc chockalingam
Hi Ward Martin I am amazed , and it was terrific to have an immediate , reply But The problem that I had mention has been sloved by myself through reconfiguring it , and thanks for all your immediate responce , and intension of helping me... on further problem i would mail this grou

RE: Problem with making NET-SNMP

2007-07-05 Thread Ward, Martin
Durai, What version of Net-SNMP are you trying to compile? What operating system (make and version) are you compiling it on? What compiler (make and version) are you using? |\/|artin (Please use Reply-All when replying). -Original Message- From: [EMAIL PROTECTED] [ma

Problem with making NET-SNMP

2007-07-05 Thread duraivelanc chockalingam
Hi I am an new user joined to this group , and some one could kindly guide me to overcome my problem of compling NET_SNMP ... While giving make for NET-SNMP it is throwing an error [libnetsnmp.la] Error 1 Which I could not under stand nor do not know how to solve this , in

Segmentation fault while running snmpd in MIPS64 bit processor

2007-07-05 Thread Ansa Ahammed
Hi, I am getting Segmentation Fault while running snmpd in MIPS64 bit Processor. I have Cross-Compiled the net-snmp-5.4 for MIPS64 bit Processor using the following configuration Options. RANLIB=mips64-octeon-linux-gnu-ranlib LD=mips64-octeon-linux-gnu-gcc ./configure --with-cc=mips64-oct

Re: SNMP AgentX Problem

2007-07-05 Thread Dave Shield
On 05/07/07, Stefan Mikuszeit <[EMAIL PROTECTED]> wrote: > Is there are any changes in the agentx that are not in the documentation ? Almost certainly. This is an Open Source project, maintained and supported by volunteers. The documentation comes a long way behind the code when it comes to decid

AW: SNMP AgentX Problem

2007-07-05 Thread Stefan Mikuszeit
Hello Dave, Is there are any changes in the agentx that are not in the documentation ? I used the Hello World example from `perldoc NetSNMP::agent` and started the SNMP Agent via: /usr/sbin/snmpd -Ls DAEMON -Lf /var/log/snmpd.log -u root -p /var/run/snmpd.pid -x

AW: SNMP AgentX Problem

2007-07-05 Thread Stefan Mikuszeit
Hallo Dave, this will now work fine, thx again :-) snmpwalk localhost -c public -v2c enterprises.ucdavis.50.100.1 UCD-SNMP-MIB::ucdavis.50.100.1.1.0 = INTEGER: 1 UCD-SNMP-MIB::ucdavis.50.100.1.2.1.2.4.84.101.115.116 = STRING: "/bin/sh" UCD-SNMP-MIB::ucdavis.50.100.1.2.1.3.4.84.101.115.116

Re: SNMP AgentX Problem

2007-07-05 Thread Dave Shield
On 03/07/07, Stefan Mikuszeit <[EMAIL PROTECTED]> wrote: > The next i have found is with the /tmp/shtest that is > configured > in the snmpd.conf via this line: > > exec enterprises.ucdavis.50.100.1 /bin/sh /tmp/shtest Three problems. Firstly, the "relocat

Re: New MIB implementation

2007-07-05 Thread Jens Luetkens
Hi Michelle, you are missing a step. Once you have written your MIB you will have to write the according module, which would be loaded by the agent (the snmpd daemon). You could also modify your module to make it run as an subagent connected to the agent - if I got hat right. I'm very new with cod

AW: SNMP AgentX Problem

2007-07-05 Thread Stefan Mikuszeit
Hello all, Have anyone an idea where the problem's is ? The Subagent is connected: write(2, "NET-SNMP version 5.4 AgentX suba"..., 47NET-SNMP version 5.4 AgentX subagent connected) = 47 PDU Error, what's this mean ?? write(2, "registering pdu failed: 263!\n", 29registeri

Re: trap sender

2007-07-05 Thread Dave Shield
On 04/07/07, Mirko Viviani <[EMAIL PROTECTED]> wrote: > I'm just writing my own trap "receiver", using the snmptrapd code for help. > How can I obtain the "sender IP" address? By using the suggestion that was given to you yesterday, when you asked exactly the same question. Dave

trap sender

2007-07-05 Thread Mirko Viviani
I'm just writing my own trap "receiver", using the snmptrapd code for help. How can I obtain the "sender IP" address? Thanks in advance. -- -- Mirko Viviani -- GPG-PGP Public Key: 0xE4E8FAB1 Fingerprint: 14D3 A373 E926 7737 DF32 502B A4C4 1CE2 E4E8 FAB1 --