What is the different between option 1 option 2 in mail?

2012-07-20 Thread Benix Vincent
#option 1    timeObjects OBJECT-TYPE    SYNTAX      Unsigned32    MAX-ACCESS   not-accessible    STATUS      current    DESCRIPTION     ::= {objects 1} #option 2timeObjects  OBJECT IDENTIFIER ::={objects 1} This object is not-accessible. When to user #1 and when #2?

Problem with traphandlers

2012-07-20 Thread Matson, Stuart (UK)
Problem with traphandlers Centos 6.1 SNMP version 5.5 Hello. I'm currently having issues getting trap handling to work. My snmptrapd.conf is as follows: # Example configuration file for snmptrapd # # No traps are handled by default, you must edit this file! # authUser log,execute,net rwlatis

Re: snmpwalk problem: something wrong with a MIB?

2012-07-20 Thread Bill Fenner
On Thu, Jul 19, 2012 at 6:56 PM, Alexander Shikoff minot...@crete.org.ua wrote: Hello! I have a strange problem with snmpwalk: # snmpwalk -v2c -c public -M/data/noc/mrtg/MIBs/DLink -mDES-1210-28P_Ax 10.255.0.32 enterprises.171.10.75.6.22.1.1.10.1.17 MIB search path:

Re: What is the different between option 1 option 2 in mail?

2012-07-20 Thread Dave Shield
On 20 July 2012 14:57, Benix Vincent benixvinc...@yahoo.com wrote: This object is not-accessible. When to user #1 and when #2? Difference? You would use #1 if this is a column object defined within a table, which is being used as an index for that table. You would use #2 if the definition

Re: snmpwalk problem: something wrong with a MIB?

2012-07-20 Thread Dave Shield
On 19 July 2012 23:56, Alexander Shikoff minot...@crete.org.ua wrote: I have a strange problem with snmpwalk: # snmpwalk -v2c -c public -M/data/noc/mrtg/MIBs/DLink Try using -M+/data/noc/mrtg/MIBs/DLink to *add* this directory to the list of locations containing MIB files. The

Re: net-snmp on a 64 bit Solaris System

2012-07-20 Thread Dave Shield
On 18 July 2012 13:39, SCHILLO, ROBERT rs4...@att.com wrote: Hello, I have downloaded and installed net-snmp on a Solaris 10 system. When I try to compile code using the net-snmp libraries I get an error message wrong ELF class: ELFCLASS32 It appears the net-snmp libraries are built

Re: snmp set , reason:general failure occured

2012-07-20 Thread Dave Shield
On 4 July 2012 20:44, hazeeq hanafi hhaz...@gmail.com wrote: However when I run the set command *snmpset -v 2c -c public localhost POMI=MOBILITY-MIB::txpower.0 = 1 I got * Error in packet * Reason : General failured occurred This is the code for txpower for each every mode set request:

Re: Modules to load automatically when starting snmpd

2012-07-20 Thread Dave Shield
On 5 July 2012 10:34, Michael Schwartzkopff mi...@schwartzkopff.org wrote: 1) How can I compile a agent that includes only the minimal MIBs that I need? As far as I read the docs it should be --enable-minimalist --with-mib-modules correct? Close - try configure --enable-mini-agent

Re: Problem with traps in embedded net-snmp 5.6.1.1

2012-07-20 Thread Dave Shield
On 5 July 2012 16:30, Stone, Thomas thomas.st...@safenet-inc.com wrote: Cross-compiling netsnmp 5.6.1.1 in CentOS for a Tilera target. All of the enterprise MIBs show up and I can get/set attributes in them but our traps are going nowhere. Are the traps being sent (and discarded), or are they

Re: How to start snmp agent with unique engineBoots value

2012-07-20 Thread Dave Shield
On 27 June 2012 22:57, Patel, Narendra - ES narendra.pa...@exelisinc.com wrote: I want to start net-snmp 5.7.1 agent with required(integer) engineBoots value instead of default ‘1’. The default value is not '1' - it's one more than the previous value. That's a fundamental requirement for proper

Re: software requirement

2012-07-20 Thread Dave Shield
On 28 June 2012 23:52, Danner Nanfuñay dannercit...@gmail.com wrote: I am finding a driver SNMP (MIB's) with windows environment, for up to 100 users or sensors. If they had the solution to my requirements, I will be attentive to your questions or suggestions. It's not particularly clear as

Re: Unable to pass on hrStorageSize

2012-07-20 Thread Dave Shield
On 14 July 2012 17:15, Reno, Sheppy sheppy.r...@ellucian.com wrote: Due to net-snmp not returning data relating to reserved space on volumes we have decided to implement a change that will return hrStorageSize as used + available. Any ideas as to how to get the pass to work properly against

Re: Need Help regarding net-snmp memory leak and crash

2012-07-20 Thread Dave Shield
On 13 July 2012 13:26, Adarsha S s.adar...@gmail.com wrote: In one of my project I'm using net-snmp-5.3.0.1. That's a relatively old version of the agent (more than six years!) It's also a very early version of the 5.3.x line - there have been several updates to that line since (and it's no

Re: How can I change the net-snmp Directory

2012-07-20 Thread Dave Shield
On 13 July 2012 09:05, 朱飞 zhu...@macrosan.com wrote: Nowadays I receiver a requirement of changing the directory of the normal net-snmp, from /usr/local/net-snmp to /odsp/net-snmp. You will need to recompile the agent. Run configure --prefix=/odsp/net-snmp (plus any other

Re: How to delete/add line from raw table?

2012-07-20 Thread Dave Shield
On 12 July 2012 14:30, Naama Bar Menachem naama.barmenac...@novelsat.com wrote: I am using a raw tables. How can I provide the user with the option to add and remove rows? It depends on how the MIB table is defined. The standard approach would be to have a column object of type 'RowStatus'.

Re: q: /proc/partitions: No such file or directory errors in messages logfile

2012-07-20 Thread Dave Shield
On 11 July 2012 15:11, Tim Chipman tim.chip...@gmail.com wrote: I have a number of OpenVZ based VMs running CentOS 6.3 /64bit The log file, /var/log/messages - gets frequent messages logged, as follows: Jul 11 18:03:59 hostname snmpd[1779]: /proc/partitions: No such file or directory Jul

Re: snmpwalk and write-only variables

2012-07-20 Thread Dave Shield
On 10 July 2012 15:37, bfc0...@gmail.com wrote: I hope I'm missing something real basic. If you're doing an snmpwalk and it comes up to write-only variables, 'write-only' objects were an idea within SMIv1 that was subsequently dropped for SMIv2. Modern MIB files would not define MIB objects

RE: Unable to pass on hrStorageSize

2012-07-20 Thread Reno, Sheppy
Dave, Thanks for your response. I was able to get snmpd started properly by modifying the priority for the pass. A look at the log file showed that both the MIB and snmpd.conf were trying to register the OID at the same time. Sorry for not including the system information before, this is

Re: snmp_alarm_unregister_all

2012-07-20 Thread Dave Shield
On 5 July 2012 22:50, Zohar M send.zo...@gmail.com wrote: I want to use snmp_alarm_unregister_all in order to delete all of my alarms (which I previously registered) but I'm affraid it will cause the deamon to not working properly. Do you know if the implementation of net-snmp uses alarms? As

Re: Unable to pass on hrStorageSize

2012-07-20 Thread Dave Shield
On 20 July 2012 21:29, Reno, Sheppy sheppy.r...@ellucian.com wrote: With that said, we had considered modifying the source directly, but discarded this idea as it would require recompiling on upwards of 400 machines that are managed by various different groups. If I'm mistaken and this can be

Re: Received response for SNMPv3 inform; but Agent still sending inform for the number of retries configured.(Stuck Please help...)

2012-07-20 Thread Dave Shield
On 27 June 2012 19:11, Suresh kumar skjaiswa...@hotmail.com wrote: Hi Dave I also attached trapdconfig(in zip file 7.z format) Sorry for the delay in responding - I was on holiday, then got caught up with real work. Can you please post a copy of this as a straight text file, not encoded.

Re: net-snmp-5.5-37 v3 users conf file

2012-07-20 Thread Dave Shield
On 27 June 2012 09:02, pavan_pa...@mcafee.com wrote: So to create the v3 users we don’t use net-snmp command, instead we create v3 users file from our application and place it as /var/lib/net-snmp/snmpd.conf. This file contains the createUser entries along with the engine id. That's fine..

Re: SNMPv3 problem with kill -HUP

2012-07-20 Thread Dave Shield
On 21 June 2012 21:02, Andrew Ma andrewm...@gmail.com wrote: I am trying to create a SNMPv3 user on a SNMP v5.6.1 agent. I am using the snmpusm utility to create the user, and seems successfully, that I can show it on: snmpwalk -v2c -c public 127.0.0.1 snmpUsmMIB /usr/bin/snmpusm -v3 -u

Re: wrong trap oid is displayed

2012-07-20 Thread Dave Shield
On 26 June 2012 13:59, pallavi.deshmu...@wipro.com wrote: When a topology change occurs , a trap is sent. Topology change notification ID:1.3.6.1.2.1.17.0.2(Bridge MIB) I see that the trap sent from agentx to manager has the oid wrongly displayed . From agentx the correct oid is sent as

Re: Stuck in the way of quering a private MIB (extension using perl)

2012-07-20 Thread Dave Shield
On 22 June 2012 10:23, Chayvialle, Daniel (External) daniel.chayvialle.exter...@cassidian.com wrote: OK, so I found that my snmp commands actually did not find the MIBs Cannot find module (TCS-MIB.mib): At line 0 in (none) tcs: Unknown Object Identifier (Sub-id not found: (top) - tcs) even

Re: take 2 at installation

2012-07-20 Thread Dave Shield
On 21 June 2012 14:20, Michael Zimmers mzimm...@gmail.com wrote: OK...I ran make, then make test. Here's the output of the latter: Test Summary Report --- SNMPv3 snmptrapd USM user management with snmpusm (Wstat: 256 Tests: 12 Failed: 7) Failed tests: 5-11

I'm on vacation.

2012-07-20 Thread mikael . danielsson
I will be out of the office starting 2012-07-16 and will not return until 2012-08-06. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed