difference in df and statfs

2004-10-28 Thread haris_here
Hello, Though this is a more generalized doubt, I ran into this situation when I used the net-snmp for implementing my MIB. I've a query object in my MIB for used disk space, for a particular partition in my device. I use "statfs" for getting the free disk space... When I compare the result

"noSuchObject" for snmpwalk

2004-09-30 Thread haris_here
Hello, I've integrated my MIB module into the agent, and the snmpwalk returns "nosuchobject" from the agent. I ran the agent in the debug mode, and I could see that the agent gets all the values from my MIB module during the walk. What would be the reason for returning a "noSuchObject" after

Re: "NoSuchName" errorStatus is not set for v1

2004-09-02 Thread haris_here
Dave, I'm not sure why you think that 1.3.6.1.2.1.1.2.0 is not supported. This is SNMPv2-MIB::sysObjectID.0 which is a standard part of the agent in all but the most unusual configurations. Indeed, my configuration is an unusual one in which this OID is not supported. I was just wondering whethe

Error Logging in the agent

2004-08-17 Thread haris_here
Hello, I've a device which uses the net-snmp agent for the SNMP support. The device doesn't provide any useful cosole to read any error logs (net-snmp logs), other than to read the logs created by the native code of the device. Now, I want to integrate the error messages sent out by the snmp

Prob in integrating table module

2004-08-02 Thread haris_here
Hello, I've been implementing a module for the net-snmp agent. I'm successful in integrating the module with the agent. All the objects in the MIB were scalar variables. Recently, I added a new object which corresponds to a table. This table object is given below. 'company' corresponds to th

How to debug the agent

2004-07-26 Thread haris_here
I've integrated my MIB with the net-snmp agent, and it was working properly. After some recent additions to my application, the agent spills out an error of "No Such Object available on this agent", for an 'snmpwalk'. I'd like to debug the agent, and reach the problem. Does the net-snmp agent

Re: No Such Object available on this agent

2004-07-23 Thread haris_here
On Fri, Jul 23, 2004 at 04:48:34AM -0600, [EMAIL PROTECTED] wrote: Hello! I've been able to integrate my MIB into the net-snmp agent, and the agent is running happily. Now when I do an snmpwalk for the OID corresponding my MIB, the agent snmpwalk displays "No Such Object available on this a

No Such Object available on this agent

2004-07-23 Thread haris_here
Hello! I've been able to integrate my MIB into the net-snmp agent, and the agent is running happily. Now when I do an snmpwalk for the OID corresponding my MIB, the agent snmpwalk displays "No Such Object available on this agent". Where am I going wrong? Can anyone help me with this? Than

Running mib2c

2004-07-21 Thread haris_here
Hi! While running mib2c for generating skeleton code for my MIB, I get the following errors. Can anyone help me with this !! Thanks, Haris --- sh$ mib2c -c ../local/mib2c.create-dataset.conf myNode Cannot find module (IP-MIB): At line

Send trap from an application, with multiple params

2004-07-19 Thread haris_here
Hi! I'd like to send an SNMP trap from my application, with multiple parameters along with it. Does the MIB standards support this? If the MIB standards support this, does net-snmp support this? For exmaple, if I design a trap in my MIB for detecting large file sizes. I need to send the fol

Re: MIB Parse Error

2004-07-15 Thread haris_here
Thanks Dave!! It made a lot of sense... Haris My curiosity was to know what the orphan node in the MIB tree means, and when does a node become an orphan node? An orphan is a child without any parents, so an orphan node i

Re: MIB Parse Error

2004-07-15 Thread haris_here
Thanks Dave, My curiosity was to know what the orphan node in the MIB tree means, and when does a node become an orphan node? I played around the code a while, and found that it has to do something with unlinked nodes in the tree. What does an unlinked node mean? Try changing this to read

MIB Parse Error

2004-07-14 Thread haris_here
Hi, I get the following error message from the net-snmp library: "Unlinked OID in COMPANY_MIB: VariableName ::= { company 21 }". This error is thrown by the parsing module in the net-snmp library(snmplib/parse.c). This indicates that there exists a broken node in the MIB tree(orphan node).