snmptapd SNMP version

2009-03-04 Thread Tomáš Harabin
Hello, is there any option how to configure snmptrapd to accept only specific version of SNMP traps (v2c) regardless informations sent by SNMP device in SNMP trap header? Thanks. Tomas -- Open Source Business Conference (O

Re: Trap

2009-03-04 Thread Pranesh Kulkarni
On Wed, Mar 4, 2009 at 12:25 PM, Tanisha Kashyap < tanisha.kash...@aricent.com> wrote: > Hi, > > > > I want to send a trap to the NMS which contains just a text information > indicating that a certain event is about to begin. > > Do I need a MIB variable for this or is there a way to send text >

RE: Trap

2009-03-04 Thread Tanisha Kashyap
What about the SNMPv1 "If you think you can, or you think you can't...You are Right" -- Henry Ford From: Pranesh Kulkarni [mailto:pranes...@gmail.com] Sent: Wednesday, March 04, 2009 2:25 PM To: Tanisha Kashyap Cc: net-snmp-users@lists.sourceforge.net Subject: Re

Re: Trap

2009-03-04 Thread Pranesh Kulkarni
Instead of NOTIFICATION-TYPE use TRAP-TYPE For more info , checkout this http://www.net-snmp.org/tutorial/tutorial-5/commands/snmptrap.html On Wed, Mar 4, 2009 at 2:26 PM, Tanisha Kashyap wrote: > What about the SNMPv1 > > > > "If you think you can, or you think you can't...You are Right"

RE: Trap

2009-03-04 Thread Tanisha Kashyap
Thanks. "If you think you can, or you think you can't...You are Right" -- Henry Ford From: Pranesh Kulkarni [mailto:pranes...@gmail.com] Sent: Wednesday, March 04, 2009 2:30 PM To: Tanisha Kashyap Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Trap Inst

Re: problem with snmpusm command

2009-03-04 Thread Dave Shield
2009/3/3 Mike Ayers : >        Cloning the user does not clone the VACM settings. >  The user "wes" has no authorization to read or write anything. But kusama said that he had the line rwuser wes in the snmpd.conf file. Which should allow access once the user is created. Dave -

Re: UCD-SNMP-MIB returns Empty

2009-03-04 Thread Dave Shield
2009/3/4 malar vizhi : > C:\>snmpwalk -d -v 1 -c public 192.168.1.172 UCD-SNMP-MIB:ucdavis > > Sending 40 bytes to UDP: [0.0.0.0]->[192.168.1.172]:161 > : 30 26 02 01  00 04 06 70  75 62 6C 69  63 A1 19 02    0&.public¡.. > 0016: 02 21 D9 02  01 00 02 01  00 30 0D 30  0B 06 07 2B    .!U

Re: snmptapd SNMP version

2009-03-04 Thread Dave Shield
2009/3/4 Tomáš Harabin : > Hello, is there any option how to configure snmptrapd to accept only > specific version of SNMP traps (v2c) regardless informations sent by SNMP > device in SNMP trap header? You should be able to use the "group" token (see snmpd.conf(5)) to specify the acceptable SNMPv2

Re: Trap

2009-03-04 Thread Dave Shield
2009/3/4 Pranesh Kulkarni : >> What about the SNMPv1 >   Instead of NOTIFICATION-TYPE  use TRAP-TYPE No! If you are writing your MIB using SMIv2, then you *always* use NOTIFICATION-TYPE. This MIB definition can then be used with SNMPv1 traps, SNMPv2c traps/informs, and SNMPv3 traps/informs You

Re: snmptapd SNMP version

2009-03-04 Thread Tomáš Harabin
Thanks for answer, but I have this problem: My SNMP device is sending traps, which have SNMPv3 version information in SNMP trap header. But it is not fully SNMPv3 trap, it has only that structure. My vendor argue with argument, that snmptrapd should be configured to receive traps as a SNMPv2c regar

Re: problem with snmpusm command

2009-03-04 Thread kusuma.bm
Hi Mike, you said, Cloning the user does not clone the VACM settings. The user "wes" has no authorization to read or write anything. I think what u said is correct bcoz i can see in the usmUser table the entries for my user "wes" but not in vacm tables. Check out the `snmpvacm` command. S

snmptapd SNMP version

2009-03-04 Thread Tomáš Harabin
Hello, is there any option how to configure snmptrapd to accept only specific version of SNMP traps (v2c) regardless informations sent by SNMP device in SNMP trap header? Thanks. Tomas -- Open Source Business Conference (O

Re: problem with snmpusm command

2009-03-04 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. ] 2009/3/4

Re: snmptapd SNMP version

2009-03-04 Thread Dave Shield
2009/3/4 Tomáš Harabin : > My SNMP device is sending traps, which have SNMPv3 version information in > SNMP trap header. But it is not fully SNMPv3 trap, it has only that > structure. What do you mean by "it only has that structure"? The difference between SNMPv2 requests and SNMPv3 requests is e

Re: snmptapd SNMP version

2009-03-04 Thread Tomáš Harabin
I know that SNMPv2c and SNMPv3 difference and my device is sending trap with header inforamtions: version=3, msgMaxSize=0 (this is bad information and stop processing), My device doesnt support SNMPv3 (encryption, etc). My device's vendor thinks that this bad header should be ingnored and analy

Re: UCD-SNMP-MIB returns Empty

2009-03-04 Thread malar vizhi
Hi Dave, This is my result If I execute walk on system group C:\>snmpwalk -v 1 -c public 192.168.1.172 system RFC1213-MIB::sysDescr.0 = STRING: "Hardware: x86 Family 15 Model 6 Stepping 5 AT/AT COMPATIBLE - Software: Windows 2000 Version 5.0 (Build 2195 Multiprocessor Free)" RFC1213-MIB::sy

Re: UCD-SNMP-MIB returns Empty

2009-03-04 Thread Dave Shield
2009/3/4 malar vizhi : > My sysObjectID is "OID: MSSQLSERVER-MIB::software.1.3.1.2" OK - so you are not running the Net-SNMP agent on this system. In which case it won't include Net-SNMP specific information (such as the ucdavis tree). > Am trying to get details from ucdavis tree for three machi

Re: snmptapd SNMP version

2009-03-04 Thread Dave Shield
2009/3/4 Tomáš Harabin : > I know that SNMPv2c and SNMPv3 difference and my device is sending trap with > header inforamtions: version=3, msgMaxSize=0 (this is bad information and > stop processing), My device doesnt support SNMPv3 (encryption, etc). If your device doesn't support SNMPv3, then

MIB Browser on the host not Showing the Added element in the tree structure

2009-03-04 Thread Deepanshu Gupta
Hi, I have installed net-snmp-5.2.5.1.tar.gz package on my Linux RHEL 4 system. I have made one change in the SNMPv2-MIB.txt file. I added one element in the .iso.org.dod.internet.mgmt.mib-2.system node. In the local system I am able to see the node through snmptranslate command but when I use any

RE: Issue on HPUX 11.11 and net-snmp-5.4.2.1.

2009-03-04 Thread Paul Hogan
This seems to be a compiler issue. I had another 11.11 system that had the ANSIC compiler loaded. This compiled and ran correctly the 1st time. I tried using the GCC 4.3.1 version of compiler on the box with an issue, and it is nothing but headaches. Paul R. Hogan Computer System Engineer

Re: UCD-SNMP-MIB returns Empty

2009-03-04 Thread malar vizhi
Thank U So Much Dave.Now I got the reason..Y my machine is not supporting ucdavis Ok...U mean My linux machine is runnnig net-snmp...Ya U r correctBcoz if I get a snmpd version am getting "ucd-snmp 4.2.4".. But Then I coudnt get any ucdavis tree related info... C:\>snmpwalk -v 1 -c p

Re: UCD-SNMP-MIB returns Empty

2009-03-04 Thread Dave Shield
2009/3/4 malar vizhi : > But Then I coudnt get any ucdavis tree related info... > Y Dave?... Access Control. Read the FAQ Dave -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackl

Trap question: OID for variable from a table

2009-03-04 Thread McGowen, Wendy
We're adding support for a new object that will be represented in a table. Right now the priority is to get the trap support working, and IF we have time in the schedule we'll also add support for the MIB table. Here's an abbreviated layout of the new table: vmTable OBJECT IDENTIFIER ::= { pvt3Sy

Re: Trap question: OID for variable from a table

2009-03-04 Thread Dave Shield
2009/3/4 McGowen, Wendy : > Do I have to include the index > value in the OID for the vmName object in the trap I believe so, yes. >From RFC 2578: 8.1. Mapping of the OBJECTS clause The OBJECTS clause, which need not be present, defines an ordered sequence of MIB obje

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

2009-03-04 Thread Sergio Cabaço
Hello, I'm trying to compile a net-snmp agent with authentication and cipher support. I've compiled the openssl for my target and gave the directory to the "--with-openssl=dir". Here's an example: Make openssl ---> ...openssl/include/openssl/*.h ---> ...openssl/lib/*.a Config

RE: Trap question: OID for variable from a table

2009-03-04 Thread Sergio Cabaço
Hello, I'm trying to compile a net-snmp agent with authentication and cipher support. I've compiled the openssl for my target and gave the directory to the "--with-openssl=dir". Here's an example: Make openssl ---> ...openssl/include/openssl/*.h ---> ...openssl/lib/*.a Configu

RE: problem with snmpusm command

2009-03-04 Thread Mike Ayers
> From: kusuma.bm [mailto:kusuma...@globaledgesoft.com] > Sent: Thursday, March 05, 2009 2:50 AM > snmpvacm -v 3 -u wes -l authNoPriv -a MD5 -A initialpasswd > 172.16.8.145:161 createSec2Group 3 wes-network wesRWGroup > Error in packet. > Reason: authorizationError (access denied to that object

RE: Trap question: OID for variable from a table

2009-03-04 Thread McGowen, Wendy
Ahh, I hadn't thought of using the vmName as the index (I'm too used to thinking about indices as "integers"). That would work beautifully, because that name is guaranteed to be unique (in the scope of the table, at least), and is constant with respect to the object itself. So in that case I would

Re: Trap question: OID for variable from a table

2009-03-04 Thread Dave Shield
2009/3/4 McGowen, Wendy : > I haven't done anything with string indices > yet, but it looks like I just have to convert each character in the > string to its ASCII equivalent (for example, "vm1" would be .118.109.49, > correct?). Perhaps. It depends on whether the index is IMPLIED or not.