Re: updating my net-snmp

2009-03-31 Thread Dave Shield
2009/3/30 Samer Vazdekis sbazd...@hotmail.com: I'm using NET-SNMP version 5.2.1.2. I would like to update to the latest version or to the next stable version. I do have lots of custom changes which I would like to keep. What is the best procedure to do this? The best approach is to take your

Re: disabling the ifTable and ifXtable - registering pdu failed: 263!

2009-03-31 Thread Dave Shield
2009/3/30 EYRE Bernadette bernadette.e...@alcatel-lucent.com: I want to disable the ifTable and ifXtable implementation in the master agent Starting the agent using -I-ifTable -I-ifXTable should do that, I think. Dave

Re: compile options for netsnmp

2009-03-31 Thread Dave Shield
2009/3/30 Sanad Kumar Mishra sanad.mis...@hcl.in: While compiling netsnmp, I require the least size for the agent. Please see the FAQ entries that cover this topic. Dave --

Re: snmpwalk can't walk when start by /usr/local/sbin/snmpd

2009-03-31 Thread Dave Shield
2009/3/31 down Load engl...@yahoo.com: I found problem snmpwalk can not walk when start by /usr/local/sbin/snmpd But Snmpwalk can walk If i start with command startsrc -s snmpd What is the exact command(s) that you are trying? What exactly are you seeing? A message such as snmpwalk can not

Re: 答复: question about the VACM

2009-03-31 Thread Dave Shield
2009/3/31 Kang Chen kang.c...@ecitele.com: Another question, if I use group/view/access command, how to express the property of 'rw' and 'ro'? Please read the section on the directive access in snmpd.conf(5). This is also discussed in the FAQ. Dave

Re: 答复: 答复: question about the VACM

2009-03-31 Thread Dave Shield
2009/3/31 Kang Chen kang.c...@ecitele.com: Is 'createUser' command necessary in configuring SNMPv3? Just think about it for a minute. In order to authorise a request, the agent must check the username and password. How can it know what the correct password should be? Where might it get this

Re: snmpwalk can't walk when start by /usr/local/sbin/snmpd

2009-03-31 Thread Dave Shield
2009/3/31 down Load engl...@yahoo.com: What is the exact command(s) that you are trying? /usr/local/sbin/snmpd That's not what I was asking. You keep saying snmpwalk can't run So I was asking what is the exact snmpwalk command that can't run ? and what exactly do you mean by can't run ?

Re: 答复: 答复: 答复: question about the VACM

2009-03-31 Thread Dave Shield
2009/3/31 Kang Chen kang.c...@ecitele.com: at first, I configure the command createUser leelin MD5 hellokit DES privpass in the snmpd.conf in /usr/local/share/snmp directory $ man snmpd.conf SNMPv3 Users createUser [-e ENGINEID] username (MD5|SHA) authpassphrase [DES|AES]

Re: I obtain that with make install

2009-03-31 Thread Dave Shield
2009/3/31 Gómez González, Enrique ego...@sice.com: I have started with mib2c -S cache=1 -c mib2c.table_data.conf tableName Unfortunately I get errors, some errors are easy (comments with # and not with // Oops! OK - that one is easy to fix. (assuming you mean the Determine the

Re: Need help regarding compiling the net-snmp 5.4.2.1

2009-03-31 Thread Dave Shield
2009/3/31 Pameely Rashid pamee...@ipinfusion.com: grep: /usr/lib/libbeecrypt.la: No such file or directory You probably need to install a missing RPM. (Assuming this is a Linux system - you don't say) There's an entry about this in the FAQ, which lists some of the common missing libraries.

Re: subagent's handlers never called

2009-03-31 Thread Dave Shield
2009/3/31 Tarun Kumar tarun.ku...@efi.com: I have generated an agentX based subagent, but when I am running it, its table handlers are never called. This MIB contains some scalars variables, which are being called perfectly but some problem with the table handlers e.g in the current case

Re: error when start snmpd by -i interfaces

2009-03-30 Thread Dave Shield
2009/3/27 down Load engl...@yahoo.com: Could you please let me know location of snmpd.conf that net-snmp use ? It depends on how the agent was compiled. Try running the agent using the command-line option -Dread_config, which will report the list of directories that are being searched. Dave

Re: I obtain that with make install

2009-03-30 Thread Dave Shield
2009/3/30 Gómez González, Enrique ego...@sice.com: You told me that I should recompile, I copy the functions from mibgroup/notification/snmpNotifyFilterProfileTable.c to mibgroup/notification/snmpNotifyTable.c? No - it's probably not sensible to copy these functions across. You'd probably end

Re: I obtain that with make install

2009-03-30 Thread Dave Shield
2009/3/30 Gómez González, Enrique ego...@sice.com: I try to execute the examples, data_set, delayed_instance, etc Each time I modify something I must launch configure, make clean, make and make install? If you are changing the *name* of the code file containing your MIB module, then yes - you

Re: I obtain that with make install

2009-03-30 Thread Dave Shield
2009/3/30 Gómez González, Enrique ego...@sice.com: If I want to give a quickly answer to the client, it is better that the info stay in the MIB stored. I have just to consult a value with snmpget and not to interroge in that moment the underlying subsystem. Hmmm... I think you're being a bit

Re: error when start snmpd by -i interfaces

2009-03-27 Thread Dave Shield
2009/3/27 down Load engl...@yahoo.com: I found this error when i try to start snmpd ,please help me to solve it Try man snmpd /usr/sbin# ./snmpd -i interfaces ./snmpd: Not a recognized flag: i Usage: snmpd [-c config_file] [-d level] [-f logfile] That doesn't look like the Net-SNMP agent.

Re: error when start snmpd by -i interfaces

2009-03-27 Thread Dave Shield
2009/3/27 sazid.maham...@wipro.com: Please check the snmpd option syntax. You can try     /usr/sbin# ./ snmpd -I interfaces Except that he is not using the Net-SNMP agent. The usage message is completely different from that produced by our software. This list is specifically to support the

Re: developing standalone agent

2009-03-26 Thread Dave Shield
2009/3/25 Abhishek Avasthi abhish...@techmahindra.com: Please help me understand how I can develop a standalone (core) SNMP agent using 5.4.2.1 release. ./configure make make install I don’t need Agent X support (Master and sub agent). ./configure --with-out-mib-modules=agentx

Re: 5.4.1: Persistent file ever growing

2009-03-26 Thread Dave Shield
2009/3/26 lanas la...@securenet.net:  Using net-snmp 5.4.1 and creating one V3 user, I noticed that the persistent snmpd.conf file is always growing at each shutdown and startup of the daemon. What is the difference between two successive copies of the file? I've just tried this with my

Re: approach towards implementing Ether-like MIB

2009-03-26 Thread Dave Shield
2009/3/26 prasanth K S ksrps...@gmail.com:    I am trying to implement ether-like MIB with respect RFC3635. But problem is how to find each frame collision, ethernet is configured to half or full duplex, current data rate,FCS check status etc. Yes - that doesn't suprise me.

Re: Regarding mib2c tool

2009-03-25 Thread Dave Shield
2009/3/24 Tanisha Kashyap tanisha.kash...@aricent.com: I need to generate a c code for a scalar object which is an integer. The mib2c tool seems to generate the get functions for the scalar objects and the set functionality is only provided for the tables. No - that's not correct. The

Re: snmp commands

2009-03-25 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. ]

Re: One Handle Method for all scalar properties

2009-03-24 Thread Dave Shield
2009/3/23 sazid.maham...@wipro.com: To fulfil some of my objective. I need to register only  one handle method for all the scalar.  Is it possible?? Yes. Have a look at 'mibgroup/mibII/icmp.c' which registers a scalar group. This handles multiple scalar objects within one handler. Can I get

Re: Unknown object identifier

2009-03-24 Thread Dave Shield
2009/3/23 Manav manav@gmail.com: When i do snmpget or snmpwalk i get the following errors: [r...@bugzilla usr]# snmpget -v 2c -c public localhost enterprises.cpMIB That will never work. GET requires the exact OID of a particular object instance. Please try working with existing MIB objects

Re: snmp commands

2009-03-24 Thread Dave Shield
2009/3/23 Anirudh Srinivasan srianir...@gmail.com: When i give snmpwalk i get follow results: snmpwalk -v 2c -c public 10.23.32.233 disk UCD-DISKIO-MIB::diskIOTable = No more variables left in this MIB View (It is past the end of the MIB tree) snmpwalk -v 2c -c public 10.23.32.233 mem

Re: Multi-destiny Traps

2009-03-24 Thread Dave Shield
2009/3/24 Sergio Cabaço sergio.cab...@edisoft.pt: I realised that in linux the net-snmp uses /usr/bin/getopt function in snmp_parse_args.c No - it will use the getopt() library call - not the command-line binary. and in the unix based system that function doesn't exists on the system.

Re: processing of the multi varbinds in one snmpset command

2009-03-20 Thread Dave Shield
2009/3/19 EYRE Bernadette bernadette.e...@alcatel-lucent.com: if the snmpset command line has multiple varbinds (variables) to modify for the same table and the same row (index), how can one ensures that all vars are processed in one request struct? That's the reason that SET requests are

Re: [PATCH 0/4] Linux /proc related patches

2009-03-18 Thread Dave Shield
Thanks for those. They have been applied to all relevant active lines of code, and should be included in future releases of the software. Dave -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are

Re: Issues with SNMP exec external script.

2009-03-13 Thread Dave Shield
2009/3/13 Stevenson, Steven steve.steven...@dowjones.com:    Running the command from the command line as root runs exactly as it should.  When I run snmpwalk and dump output for the exec program it shows stat fails with permission denied. What are the permissions on the

Re: Question

2009-03-13 Thread Dave Shield
2009/3/13 Terry Martin tmar...@timedatacorp.com:   I do not see anything the help commands to allow me to enter the port information to reach the MIB. A non-standard port is specified as part of the destination host string. I have been using: snmpwalk -v 2c -c public 192.168.100.101:5070

Re: Issues with SNMP exec external script.

2009-03-13 Thread Dave Shield
2009/3/13 Stevenson, Steven steve.steven...@dowjones.com: I have agentuser as root in the conf file. OK - so file permissions are unlikely to be the cause. How about answering my other question: If Linux, are you running with SELinux in enforcing mode? Dave

Re: Issues with SNMP exec external script.

2009-03-13 Thread Dave Shield
2009/3/13 Stevenson, Steven steve.steven...@dowjones.com: I just unset the enforcing with the SELinux and the results started working.   Is there any way around this without disabling Enforcing Mode? You could try setting the context on the log file to be something that snmpd has access to.

Re: Standard MIB object for SystemDateandTime and SystemIpAddress

2009-03-12 Thread Dave Shield
2009/3/12 Dey, Rajnish rajnish@adckrone.com: Could anyone let me know, which is the standard MIB object to set 'SystemDateandTime' HOST-RESOURCES-MIB::hrSystemDate and 'SystemIpAddress'. IP-MIB::ipAddressTable Note that the original (IPv4) address table defined in

Re: Subagent OID

2009-03-11 Thread Dave Shield
2009/3/10 Samer Vazdekis sbazd...@hotmail.com: One problem, keep getting this warning. Warning: Unknown token: sysObjectID So, sysObjectID keeps it's default value. Hmmm... that looks as if your subagent doesn't include the 'mibII/system_mib' module. (It worked for me, because I was running

Re: FW: Subagent OID

2009-03-10 Thread Dave Shield
2009/3/10 Samer Vazdekis sbazd...@hotmail.com: Would adding a new interface to specifically set the open-pdu subagent OID be a good idea?. It will overwrite the oid given to snmp_add_var() in agentx_open_session(), in ./agent/mibgroup/agentx/client.c That doesn't feel necessary. Just use the

Re: Subagent OID

2009-03-10 Thread Dave Shield
2009/3/10 Samer Vazdekis sbazd...@hotmail.com: Yes I did try the sysobjectid directive but didn't work. Looking at code, I see the open-pdu OID is always set to the sysObjectId. Actually, having checked the code more carefully - the Open-PDU OID is set to the internal version_oid (which is

Re: Multi-destiny Traps

2009-03-09 Thread Dave Shield
2009/3/9 Sergio Cabaço sergio.cab...@edisoft.pt: I've made a change in file snmp_parse_args.c to correct a problem that I had. The problem was notice when I tried to send multi-destiny traps using their definitions in snmpd.conf. Every time I've tried, an error was launched by the agent

Re: Regd. parsing of mibs

2009-03-05 Thread Dave Shield
2009/3/5 B V Narasimhulu bvna...@yahoo.co.in: I'm using net-snmp agent code. I have added one new mib called Entity-mib to the list. When I parse that mib, i'm getting the OID as follows: SNMPv2-SMI::mib-2.47.1.1.1.1.2.1 = STRING: My question why the OID is dispayed as

Re: FW: net-snmp for network discovery

2009-03-04 Thread Dave Shield
2009/3/4 Sathyanarayana Murthy, Harish Kolar harish...@hp.com: So, there is no way we can get router's IP address table using net-snmp? Yes, of course there is. The Net-SNMP software is a suite of tools (applications and libraries) that you can use to do SNMP stuff. This includes querying the

Re: populating ifTable with Virutal IP interfaces (eth0:1)

2009-03-04 Thread Dave Shield
2009/3/4 Sundarasamy Santhosh-PHT438 pht...@motorola.com:        Is there a way I could populate my own values (instead of actual interface details) in ifTable? Not easily, no.        Once possible way I could find is disabling default ifTable support through configure and instrument this

Re: Use of multiple MIB instances

2009-03-04 Thread Dave Shield
2009/3/4 Zé Flash ze.flas...@gmail.com:   I have still some issues regarding architecture, after discussing with some colleagues...What is the difference between using context based addressing and using a proxy forwarder to connect multiple devices (sensors), using a switch, while sharing

Re: ASN_PRIV_IMPLIED_OCTET_STR (formerly SNMP verion...)

2009-03-03 Thread Dave Shield
2009/3/2 Bell, Adam adam.b...@safenet-inc.com: I have a working implementation that fixes the multi-index fixed length OCTET STRING decoding. Could you please post a diff of your changes, rather than the whole mib.c file. It's very difficult to work out exactly what you are proposing, since I'm

Re: ASN_PRIV_IMPLIED_OCTET_STR (formerly SNMP verion...)

2009-03-03 Thread Dave Shield
2009/3/3 Bell, Adam adam.b...@safenet-inc.com: The new code does special handling for the ASN_PRIV_IMPLIED_OCTET_STRING when parsing through the index OID. IMPLIED would be handled as before (var-name_length == 0) but there was no IMPLIED case in the block I modified. I made no change for

Re: ASN_PRIV_IMPLIED_OCTET_STR (formerly SNMP verion...)

2009-03-02 Thread Dave Shield
2009/2/28 Bell, Adam adam.b...@safenet-inc.com: I am running 5.2.4 and am having a problem indexing a table with fixed octet string indexes. Since the ASN_PRIV_IMPLIED_OCTET_STR does not have an encoded length for the oid, the routine is taking the entire oid length. The table in question

Re: Regarding error on subcontainer '' insert (-1)

2009-03-02 Thread Dave Shield
2009/2/28 gauravmeh2...@indiatimes.com: We are getting error in log file for every insert, delete on NetSnmp container as -- error on subcontainer '' insert (-1) it is flling up the log file unneccesary. 3) i even tried to disable this mib by sing:     snmpd -I-ip... but still the

Re: What would be the return value of 'obsolete' status of any attribute?

2009-03-02 Thread Dave Shield
2009/3/2 Dey, Rajnish rajnish@adckrone.com: Could anyone let me know, what would be return value (incase SNMP GET/SET) of any SNNP attribute, which has STATUS field as 'obsolete'? It depends on whether the agent implements that object or not. If the agent implements it, then querying it

Re: help needed with root oid and getnext operation

2009-02-28 Thread Dave Shield
2009/2/28 EYRE Bernadette bernadette.e...@alcatel-lucent.com: One of my original problem was that when using snmpwalk command OK - so you are using snmpwalk. That's definitely relevant here on say a column (without any instance index) of one of the tables, grin That's pretty much what I

Re: Regarding SNMP Agent Programming

2009-02-27 Thread Dave Shield
2009/2/27 GK Reddy Chinthalapudi kondareddy.ch...@gmail.com: I installed NET-SNMP. I written my own MIB and I able to set and get the values in my MIB. My problem is where this setting and getting is actually happening in net-snmp source code. It is handled in the appropriate MIB

Re: Question on SNMP version

2009-02-25 Thread Dave Shield
2009/2/24 Bell, Adam adam.b...@safenet-inc.com: The table in question is using a Textual Convention definition for an octet string that is fixed 18 bytes in length. Therefore when encoding the index I expect        table.entry.firstrow.18bytesOfOID rather than        

Re: Changing password first boot 5.3.2

2009-02-25 Thread Dave Shield
2009/2/25 Sergio Cabaço sergio.cab...@edisoft.pt: I'm consulting the RFC 3414 and I'm not finding the place where it is described that the initial user can't change its own password. That's not quite what Wes said. He claimed that: ...you can't set your password if the

Re: Changing password first boot 5.3.2

2009-02-25 Thread Dave Shield
2009/2/25 Sergio Cabaço sergio.cab...@edisoft.pt: There is no specification in the RFC that says that initial master user can't change its own password in the first boot? Correct. The RFC specification doesn't say *anything* about first boot. Once a user has been created (which is where the

Re: Question on SNMP version

2009-02-24 Thread Dave Shield
2009/2/24 Sathyanarayana Murthy, Harish Kolar harish...@hp.com: My question here is this version is of the agent or the SNMP manager who is running this code? Neither. The version is of the protocol that is used between them. The agent and the manager must agree how they will communicate.

Re: registering only trap with other subagent

2009-02-24 Thread Dave Shield
2009/2/24 kapilkumar.j...@emerson.com: how to achieve this not register, but getting the table OIDs to able to send the traps? The table OIDs don't actually *do* anything. An OID is simply a way of referring to a piece of information. There are two aspects to sending a trap. One is deciding

Re: Log files

2009-02-23 Thread Dave Shield
2009/2/23 B V Narasimhulu bvna...@yahoo.co.in: I want to direct the messages of snmp_log () with priority 0 to 6, to logfile /var/lod/snmpd.log, and the messages with priority LOGDEBUg to a file /var/log/snmp_debug.log file. For this, i'm seeting the arguments as below. Is it correct ?

Re: Help Required on Net-SNMP

2009-02-23 Thread Dave Shield
2009/2/23 Sathyanarayana Murthy, Harish Kolar harish...@hp.com: Now i am looking to get details like list of running processes and list of hard disk storage drives etc.. but not able to achieve this. I know the OID text corresposning to them like H/W disk storage drives :

Re: Help Required on Net-SNMP

2009-02-23 Thread Dave Shield
2009/2/23 Sathyanarayana Murthy, Harish Kolar harish...@hp.com: Now my question is how to get the details like hard disc drives, running processes etc.. since the OIDs will be having a number appenede to the standard OIDs like That's the purpose of the GETNEXT request. As I said before:

Re: Changing password first boot 5.3.2

2009-02-21 Thread Dave Shield
[ I'm restricting this followup to -coders, since this is definitely a coding issue.] 2009/2/20 Sergio Cabaço sergio.cab...@edisoft.pt: I can create the user [in /var/net-snmp/snmpd] ... but when I try to send a snmpusm...passwd it doesn't like and returns me an error: Error in packet.

Re: Changing password first boot 5.3.2

2009-02-20 Thread Dave Shield
2009/2/20 Sergio Cabaço sergio.cab...@edisoft.pt: when I try to send a snmpusm...passwd it doesn't like and returns me an error: Error in packet. Reason: inconsistentName (That object can not currently be created) Failed object: SNMP-USER-BASED-SM-MIB::usmUserAuthKeyChange.. When

Re: Fedora 8 - snmpd: symbol lookup error: snmpd: undefined symbol: netsnmp_running

2009-02-19 Thread Dave Shield
2009/2/19 Ashton adavis1...@pointloma.edu: .. after having installed from source, I've run into another little hiccup - there's no /etc/rc.d/init.d/snmptrapd file. See 'dist/snmptrapd-init.d' Dave -- Open

Re: Log files

2009-02-19 Thread Dave Shield
2009/2/19 B V Narasimhulu bvna...@yahoo.co.in: Right now the net-snmp log-message from both snmp_log() and DEBUGMSGTL() are logging to same snmpd.log file. snmp_log messages are typically logged at priority LOG_WARNING or LOG_ERR DEBUGMSG messages are logged at priority LOG_DEBUG Is there

Re: Changing passwords using net-snmp 5.3.2

2009-02-19 Thread Dave Shield
2009/2/19 Sergio Cabaço sergio.cab...@edisoft.pt: My passwords are greater than 8 chars. Another thing I've notice is that, the engineBoot is always 1 and never increments? I thing this might be a problem but I don't know the solution either. This engineBoot is in the same file, the

Re: Fedora 8 - snmpd: symbol lookup error: snmpd: undefined symbol: netsnmp_running

2009-02-18 Thread Dave Shield
2009/2/17 Ashton adavis1...@pointloma.edu: Here's my problem. I'm working with a Nagios installation on Fedora 8 (Werewolf), for which I need net-snmp. Net-snmp runs at least two or three commands, which I was called in to fix. I reconfigured, make, and make install'd it

Re: Fedora 8 - snmpd: symbol lookup error: snmpd: undefined symbol: netsnmp_running

2009-02-18 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. ]

Re: Changing passwords using net-snmp 5.3.2

2009-02-18 Thread Dave Shield
2009/2/18 Sergio Cabaço sergio.cab...@edisoft.pt: I've already sent an email about this topic but this time I'll tried to be more cleared. I'm using net-snmp 5.3.2 and I'm trying to change the passwords for the users using the command snmpusm. The configuration file, snmpd.conf, used is as

Re: Changing passwords using net-snmp 5.3.2

2009-02-18 Thread Dave Shield
2009/2/18 Sergio Cabaço sergio.cab...@edisoft.pt: How can I insert the directives removed from the static snmpd.conf file and insert them in the writable one? Can I insert it by hand? Yes - they're text files, so can be edited with any text editor. Dave

Re: Changing passwords using net-snmp 5.3.2

2009-02-18 Thread Dave Shield
2009/2/18 Sergio Cabaço sergio.cab...@edisoft.pt: Ok thanks but, we've tried that and the directives that we wrote are overwritten when the agent executes so it's like they have never been defined... I'm talking about the dynamic or generated file snmpd.conf. The 'createUser' lines are

Re: Changing passwords using net-snmp 5.3.2

2009-02-18 Thread Dave Shield
2009/2/18 Sergio Cabaço sergio.cab...@edisoft.pt: At this moment, my problem is that I'm inserting create User directives without the space, I trust in the snmpd.conf file that says something like do not edit... unless it is a create user token and you are de admin. That's fine - you

Re: Quick query regd. the parsing of MIBs

2009-02-13 Thread Dave Shield
2009/2/13 B V Narasimhulu bvna...@yahoo.co.in: From my code, the mib is displyes as (IF-MIB::ifTable.2.1.7.1 = INTEGER: 1) Where does that '2' come from? The OID of ifAdminStatus is IF-MIB::ifTable.1.7 My code snapshot is: {IFADMINSTATUS, ASN_INTEGER, RWRITE,

February Bug Bash

2009-02-11 Thread Dave Shield
After a short hiatus, we're intending to restart the regular Bug Bash sessions on the #net-snmp IRC channel. The first session of 2009 is scheduled for next Monday - February 20th, at 8pm UTC. (See

Re: Can't Get CPU info

2009-02-11 Thread Dave Shield
2009/2/11 Ali Jawad alijaw...@gmail.com: However [the agent] is not returning the processor load values [r...@localhost src]# snmpwalk -c -v 2c x .1.3.6.1.2.1.25.3.3.1 HOST-RESOURCES-MIB::hrProcessorFrwID.768 = OID: SNMPv2-SMI::zeroDotZero

Re: Can't Get CPU info

2009-02-11 Thread Dave Shield
2009/2/11 Ali Jawad alijaw...@gmail.com: Hi I tried it after half an hour of running: OK - so that's not the problem. The other question that I should have asked was what version of the agent you were using. more info http://pastebin.com/m63b2adb8 That output answers this question:

Re: snmpwalk don't show all open ports ipv6

2009-02-09 Thread Dave Shield
2009/2/6 Péricles Oliveira pericles_silva_olive...@hotmail.com: it missing a number, my current version is: net-snmp-5.3-1.el4.i386.rpm. OK - that's less ridiculously ancient, but it's still a relatively old release (December 2005). . the snmpd don't response to TCP-MIB with OID

Re: snmpwalk don't show all open ports ipv6

2009-02-09 Thread Dave Shield
2009/2/9 Péricles Oliveira pericles_silva_olive...@hotmail.com: Do you have the steps to compile with IPV6-capable TCP table for the version 5.3.x agent. Try ./configure --enable-mfd-rewrites Dave -- Create

Re: Reg snmpbulkget (Net-SNMP-5.4.2.1)

2009-02-09 Thread Dave Shield
2009/2/9 Venkatrangan G venkatrang...@hcl.in: We have used net-SNMP (release: 5.4.2.1) for implementation at our end. When using snmpbulkget the following happens snmpbulkget -v2c -c public -C r11 10.128.20.2 1.3.6.1.4.1.9344.100.101.1.5.1.7

Re: SNMPGET error

2009-02-06 Thread Dave Shield
2009/1/20 Kumar, Santhosh IN BLR SISL r.santhoshku...@siemens.com: As per the Procedure given in Tutorial section I have generated the .c and .h file for the object nstAgentModuleObject existing in the NET-SNMP-TUTORIAL-MIB for WINDOWS. Did you update the netsnmpmibs VC++ project and

Re: snmpset and non-root user

2009-02-06 Thread Dave Shield
2009/2/6 Pranesh Kulkarni pranes...@gmail.com: Thanks to Dave and Robert, I am using SNMP v2c , so I cannot do this . Then use an appropriate (secret) community string. That is the access control mechanism used for SNMPv1/2c I will give try in SNMPV2/USM . That doesn't make sense.

Re: snmpwalk don't show all open ports ipv6

2009-02-06 Thread Dave Shield
2009/2/6 Péricles Oliveira pericles_silva_olive...@hotmail.com: I had tried to use the net-snmp 2.1 till 3.x Hmmm... I somehow doubt that. I don't believe there has *ever* been a version 2 of our software. I seem to remember that the UCD-SNMP package started at v3.0

Re: Variable binding ordering

2009-02-05 Thread Dave Shield
2009/2/5 Lab Partner labpartne...@gmail.com: I notice there's no requirement to uphold the ordering of variable bindings within a request, That's not strictly true. The varbinds in a response must match the order of the varbinds in the original request. (see RFC 1905, e.g. the second

Re: When should I use an Object Identifier or Object Identity?

2009-02-02 Thread Dave Shield
2009/2/2 Dey, Rajnish rajnish@adckrone.com: Could you please let me know. 1. When should I use an Object Identifier or Object Identity? Define an object using OBJECT IDENTITY when there is some management information associated with that object. I.e. all leaf-node management objects.

Re: Sending Traps for different destinations at the same time

2009-01-31 Thread Dave Shield
2009/1/30 Angela Lazaro angela.laz...@edisoft.pt: ... if I want to use only SNMPv3, how can I send a multi destination trap? Use two trapsess directives. Each such line (be it trapsess, trapsink, etc) will configure a separate trap destination. If you have 28 such lines in your config file,

Re: Fix broken smux with password support

2009-01-28 Thread Dave Shield
2009/1/27 Krzysztof Oledzki ole+s...@ans.pl: Currently it is required to add a dummy .number to make smux with password working. It is because there are two bugs Attached patch fixes this. Thanks for the patch. It has been applied to all active lines of the Net-SNMP agent, and should be

Re: Fix src/dst madness for UDP (fwd)

2009-01-28 Thread Dave Shield
2009/1/27 Krzysztof Oledzki ole+s...@ans.pl: Ping? -- Forwarded message -- Date: Wed, 8 Oct 2008 20:54:31 +0200 (CEST) To: net-snmp-coders@lists.sourceforge.net Hello, $ grep snmp /etc/hosts.allow snmpd: 192.168.129.26 127.0.0.1 Before: Connection from UDP:

Re: SNMP Trap Configuration in Fedora core 10

2009-01-27 Thread Dave Shield
2009/1/27 Asad Kazmi a...@imzak.com: can some one help me to configure snmp trap in fedora, my file is empty with no configuration and i need some hints to configure it. What do you want to do? Dave -- This SF.net

Re: send_linkUpDownNotifications() bug ?

2009-01-27 Thread Dave Shield
2009/1/27 lanas la...@securenet.net: What seems to happen is that the %W format option of snmptrapd will always return 'Cold Start'. In the example above it is clearly a linkUp trap: SNMPv2-MIB::snmpTrapOID.0 = OID: IF-MIB::linkUp But W is neverthless 'Cold Start'. The formatting codes

Re: com2SecList

2009-01-27 Thread Dave Shield
2009/1/12 Dana Burns dana.bu...@sun.com: com2SecList suffers from being transport-domain specific. I believe it should be moved to snmplib/snmp_transport.c and made tdomain-neutral. I agree. Most other transport-related configuration uses a standard prefix-based syntax for specifying

Re: Use of multiple MIB instances

2009-01-27 Thread Dave Shield
2009/1/22 Zé Flash ze.flas...@gmail.com: Ok... from what you explained, when I register a new instance of a MIB I have to specify the context in which I want it to be accessible. But, how can I announce this new context to the management system? How can I say that there is a new sensor?

Re: SNMP Trap Configuration in Fedora core 10

2009-01-27 Thread Dave Shield
2009/1/27 Asad Kazmi a...@imzak.com: I want to recieve incoming traps on linux and log them in mysql , just need help how to configure snmptrapd.conf , i configured the dslam to send traps but dont know how to config snmptrap configuration file in fedora. i am new to snmp. I suggest you look

Re: About the snmp 5.4.2

2009-01-27 Thread Dave Shield
2009/1/7 softw...@zlgmcu.com: How to configure snmptrapd.conf to make the FormatString work for the traphandle? I wrote the content: Format1UDP:[%a] in the snmptrapd.conf file. But it doesn't work. That works for formatting SNMPv1 traps. For SNMPv2 traps (i.e.

Re: registering custom interface in ifTable

2009-01-27 Thread Dave Shield
2009/1/18 Łukasz Zwierko lzwie...@gmail.com: My equipment has some custom hardware (ISDN network interfaces) which do not appear in linux as interfaces (such as eth or ppp etc) but are managed by a simple char device driver. Anyway, I'd like to register these interfaces in ifTable, and

Re: SNMP trap message include the GMT offset in the timestamp?

2009-01-27 Thread Dave Shield
2009/1/23 Dey, Rajnish rajnish@adckrone.com: Does SNMP v2 trap message include the GMT offset in the timestamp? The timestamp in an SNMPv2 trap is the sysUptime value - i.e. the number of centi-seconds that the agent (or notification generator) has been running. The PDU does not contain a

Re: MIBs needed to run SNMP agent

2009-01-27 Thread Dave Shield
2009/1/27 Angela Lazaro angela.laz...@edisoft.pt: Does anyone know if all the MIBs that came with the net-snmp package are needed in order to run the agent without errors? No - the agent doesn't actually need the MIB files at all. See http://www.net-snmp.org/wiki/index.php/FAQ:MIBs_09

Re: Proper GETNEXT behavior

2009-01-22 Thread Dave Shield
2009/1/21 Adrian Overbury adr...@inomial.com: Say I've got a table, and I've just gotten a GETNEXT request for the OID of one of the column heads. Should I return the OID for the next column head or the OID of the first field of that column? The general rule with GETNEXT is that you should

Re: Proper GETNEXT behavior

2009-01-22 Thread Dave Shield
2009/1/21 Adrian Overbury adr...@inomial.com: If I've got a MIB file that covers my whole sub-tree, is there a way I can parse that in, say, python or perl, and get some kind of data structure from which I can follow a link to the next OID in the

Re: Modifying IFTABLE_CACHE_TIMEOUT via snmpd.conf (WIP)

2009-01-22 Thread Dave Shield
2009/1/21 Daniel Montero Motilla damo...@gmail.com: - In the case of memory (agent/mibgroup/hardware/memory/hw_mem.c), a cache handler is used, but 'rootoid' parameter for 'netsnmp_cache_create' is NULL, maybe because this cache handler is associated to more than one oid?? Not really. It's

Re: query: send_easy_trap issue

2009-01-22 Thread Dave Shield
2009/1/22 B V Narasimhulu bvna...@yahoo.co.in: Why the net-snmp routine: send_easy_trap(x,x) sending trap TWICE for every time when call that routine ? What does your 'snmpd.conf' file contain? Dave -- This SF.net

Re: scalar_group and getnext processing

2009-01-21 Thread Dave Shield
2009/1/21 satyam write2san...@gmail.com: what is the best way to handle group of similar scalars ? I was looking at scalar_group and it seems to meet requirement perfectly Would it take care of getnext processing and getbulk processing ? Yes Dave

Re: KR - how relevant is it?

2009-01-21 Thread Dave Shield
2009/1/20 Wes Hardaker harda...@users.sourceforge.net: On Mon, 19 Jan 2009 23:58:41 +0100, Magnus Fromreide ma...@lysator.liu.se said: MF I just wanted to know if it would be permissible to remove the varargs.h MF support from the code base? Well, I've actually been wondering about that

Re: Modifying IFTABLE_CACHE_TIMEOUT via snmpd.conf (WIP)

2009-01-21 Thread Dave Shield
2009/1/21 Daniel Montero Motilla damo...@gmail.com: I'm working on a patch to allow modifying the update frequency value for network interface traffic data on IF-MIB, as by now it is established from IFTABLE_CACHE_TIMEOUT constant. Do you think that is the better approach to accomplish this

Re: build with SHA-256 or SHA-1 option but disable MD5

2009-01-14 Thread Dave Shield
2009/1/13 PoWah Wong wong_po...@yahoo.ca: How to enable SHA-1 option when building snmp? ./configure --with-openssl . Dave -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell

Re: Running Multiple snmpd agents on solaris (atleast two).

2009-01-14 Thread Dave Shield
2009/1/10 ayush.pat...@wipro.com: I am using netsnmp 5.3.0.1 which is being ported by us for solaris. On linux 2 instances are working fine. I will try these, but as you said that we need to upgrgade. No - Thomas did not say that you *need* to upgrade. He suggested that you use the most

<    5   6   7   8   9   10   11   12   13   14   >