Hi,

 You just can't modify some MIB code to work with your MIB.

 You need to identify how you are getting the data for your MIB. 

 How you plan to maintain the data, etc..

 

 If you need more examples to use net-snmp skeleton code refer the
following link. For options refer documentation.

 

 
http://www.liacs.nl/~herbertb/projects/studprojects/tmoerlan/code/agent/

 

Regards,

Lok.

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, January 22, 2007 3:19 PM
To: [EMAIL PROTECTED]
Cc: [email protected];
[email protected]
Subject: RE: Query on configuring master and subagent in net-snmp

 

 

Hi,

Thanks for your response.

As I am new to net-snmp. I used the example mib(only leaf node) from
net-snmp tutorials and tried to implement our project related mib i.e.
SIP-COMMON-MIB.

Using mib2c, I am generating .c and .h files. But it is giving only
skeleton program.

Could you please give me one entire MIB code or atleast one Table code.
So that I can modify for my mib.

It would be very much appreciable if you give me the correct options
while running mib2c command.

I am sufferring from past one week with this net-snmp mibs..

Expecting an encouragement response from you.


Regards
Vijaya


-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Dave Shield
Sent: Sat 1/20/2007 7:52 PM
To: Vijaya Lakshmi D (WT01 - IP-Multimedia Carrier & Ent Networks)
Cc: [email protected];
[email protected]
Subject: Re: Query on configuring master and subagent in net-snmp

On 20/01/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
>  d) ./mysubagent &
>   But after running the step "d" , it is looking for
/var/agentx/master file.

Please see the FAQ entry
   How can I run AgentX with a different socket address?
      (http://net-snmp.sourceforge.net/wiki/index.php/FAQ:Agent_13)


>   The example MIB explains about only leaf node.

Yes - it's only leaf nodes that have management information associated
with them.   Anything higher are "structure" nodes - which are
irrelevant
when it comes to implementing a MIB module.

Dave



DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have 
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and 
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to