hrSystemInitialLoadDevice in Host resource MIB

2011-03-11 Thread Malathi Panyam
Hi, I tried to verify the HR MIB details on our node and I get value "1536" for the hrSystemInitialLoadDevice. I checked the code and this value comes from (HRDEV_DISK=6)<<(HRDEV_TYPE_SHIFT=8). As per the MIB definition of the above object, we should see this value(1536) as a device index i

Scalar and tabular objects accessing external data?

2011-03-11 Thread sunaina mangla
Hi, I am developing a private mib. I am using net-snmp-5.6.1. No sub-agent. Below is summary of my MIB: 1. My MIB file has scalar and tabular objects. 2. All the data ( scalar and tabular) is not available locally but I have API interface to get those data from the other processes. This holds tr

Re: A very simple mistake about snmpget

2011-03-11 Thread Dave Shield
On 11 March 2011 12:28, Jaime Lozano wrote: > This is very simple. This works: >>snmpget -m all -v1 -c public localhost sysUptime.0 2>/dev/null > DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (975551) 2:42:35.51 Yes - that reports the (single) value associated with the (instance) OID sysUp

Re: Modeling a hash of tables

2011-03-11 Thread Jörg Westheide
Hi Dave! >> Yes, but this has the problem that neither snmptable nor snmpwalk >> will give me all the data I'm interested in. > > Eh? > Both snmptable and snmpwalk (on the baseOid) would give you the > whole of the table. i.e. all of the values for all of the hash keys. > That's *all* of the dat

A very simple mistake about snmpget

2011-03-11 Thread Jaime Lozano
Hi all: This is very simple. This works: >snmpget -m all -v1 -c public localhost sysUptime.0 2>/dev/null DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (975551) 2:42:35.51 But this doesnt work, and returns nothing: >snmpget -m all -v1 -c public localhost iso 2>/dev/null "iso" is the oid ".1" so

Re: Modeling a hash of tables

2011-03-11 Thread Dave Shield
On 11 March 2011 12:15, Jörg Westheide wrote: >> But you could certainly have a table indexed by two values: >> >>    baseOid.1.col."hashKey".hashIndex >> >> That would be implemented in the same way as any other >> two-index table. > > Yes, but this has the problem that neither snmptable nor snmp

Re: Can not get remote engineTime.

2011-03-11 Thread Dave Shield
On 10 March 2011 17:04, Zongjun wrote: > I did get some result! > snmpwalk -v 2c -c public localhost:6161 snmpFrameworkMIB > SNMP-FRAMEWORK-MIB::snmpEngineID.0 = Hex-STRING: 80 00 > SNMP-FRAMEWORK-MIB::snmpEngineBoots.0 = INTEGER: 1 > SNMP-FRAMEWORK-MIB::snmpEngineTime.0 = INTEGER: 471 second

Re: Modeling a hash of tables

2011-03-11 Thread Jörg Westheide
Hi Dave! >> I'm in the need to model a hash of tables. > > What exactly do you mean by "a hash of tables"? A key value store where the values are tables (like the tables in SNMP) E.g. I want to query some data for some domains (e.g. "*.port25.com") The domain (pattern) would be the key to the ta

mibs

2011-03-11 Thread geetha ramani
i did make menuconfig in uclinux-dist directory in which i selected the following package netsnmp ,snmpd,snmp tools etc.an UImage was created and i loaded the UImage to board.i created a snmpd.conf file in which i added a community string to my linux pc.when i did snmpwalk from the linux pc to my t

multiple snmpget request failed

2011-03-11 Thread normanraedke
Hello, my snmp application is created as a Dynamically Loadable Object and i try to do an multiple snmpget request on my implemented table with 8 colums and i've got the error 'No Such Instance currently exists at this OID' on some column entries. It seems that only the STRING columns followed

Re: mibs

2011-03-11 Thread Dave Shield
On 11 March 2011 10:56, geetha ramani wrote: > i want to port netsnmp to uclinux I will repeat my usual plea here. If you manage to get this working, can you PLEASE report back as to exactly what you did - any problems you experience, etc. We are frequently asked for advice about porting to uCli

Re: mibs

2011-03-11 Thread Dave Shield
On 11 March 2011 09:03, geetha ramani wrote: > what is  the difference between snmp agent and mibs. The way I usually describe this is by comparing the MIB to a design document. The agent is then the application written to fulfil that design specification. That's not strictly accurate (or eve

Re: mibs

2011-03-11 Thread Dave Shield
On 11 March 2011 08:22, geetha ramani wrote: > i am using netsnmp package .how can i add my own mib to the agent. > how to create a configuration file for the agent which includes my mib. In addition to the tutorial links that Rakesh has mentioned, please see the FAQ entries: How do I add a M

mibs

2011-03-11 Thread geetha ramani
i want to port netsnmp to uclinux Is it necessary to run the ./configure, make and make install in /uClinux-dist/user/net-snmp/ folder? or all this will be taken care when I build uClinux-dist by enabling snmpd and net-snmp through make menuconfig? -

mibs

2011-03-11 Thread geetha ramani
what is the difference between snmp agent and mibs.in linux i installed snmpd that comes with some default mibs,when i do snmpwalk the default mibs are loaded.how to create a configuration for snmp agent when new mibs are loaded

Re: mibs

2011-03-11 Thread rakesh zingade
On Fri, Mar 11, 2011 at 1:52 PM, geetha ramani wrote: > i am using netsnmp package .how can i add my own mib to the agent. > how to create a configuration file for the agent which includes my mib. > > You can get some info from here: http://www.net-snmp.org/wiki/index.php/TUT:Using_and_loading_MI

mibs

2011-03-11 Thread geetha ramani
i am using netsnmp package .how can i add my own mib to the agent. how to create a configuration file for the agent which includes my mib. -- Colocation vs. Managed Hosting A question and answer guide to determining the be