hi Dev,Wes and all,

 

excuse me for my long mail...I am in a difficult situation working with dynamic

inclusion  of the mib module NET-SNMP-TUTORIAL-MIB.txt to my main agent

as told in the example in the net-snmp.org site....

my version is net-snmp 5.0.9 associated with the linux OS...

 

I have both tried dynamic allocation of the above module without restarting the agent

and with restarting the agent.....

in both cases

#snmpget -v2c -c public  localhost NET-SNMP-TUTORIAL-MIB::nstAgentPluginObject.0

shows

NET-SNMP-TUTORIAL-MIB::nstAgentPluginObject.0: Unknown Object Identifier

 

for the dynamic inclusion of the above mib module in the /etc/snmp/snmpd.conf file I have included the

directive

 

dlmod nstAgentPluginObject /home/jobins/snmp-project/mibs/nstAgentPluginObject.so

under the section extensible sections...(otherwise in which portion to include this...?)

 

i have set

MIBS=+NET-SNMP-TUTORIAL-MIB

MIBSDIR=+/jome/jobins/snmp-project/mibs ...->the directory where the NET-SNMP-TUTORIAL-MIB is lying

                                                                  

 

does it really needed......?

 

and i have configured the snmpd.conf so that to grant the correct access control for the added module..

(i can set or get whatever i included like this way..)

i have given like this

 

view    systemview    included  .iso.org.dod.internet.private.enterprises.netSnmp.netSnmpExamples.netSnmpTutorialMIB

or i have to give it in any other way?

 

view    systemview    included  .iso.org.dod.internet.private.enterprises.netSnmp.netSnmpExamples.netSnmpTutorialMIB

(i also tried--> view    systemview    included  .1.3.6.1.4.1.8072.2.4.1.1.3)

 

but if i am giving

 

snmpget -v2c -c public  localhost netSnmpExample.nstAgentPluginObject.0

 

it will give the value of the object...

 

In the NET-SNMP-EXAMPLES-MIB.txt (included in the default mibs associated with the net-snmp tool)

 

--netSnmpTutorial          OBJECT IDENTIFIER ::= { netSnmpExamples 4 }

why this line is commented...anything to be done with this?(like removing this comment?)

 

So i will be thankful if anybody can help me to come out of this situation........

In which part I am wrong with?

 

Yours faithfully....

with warm regards,

Jobin Jose Sebastian,

Aztec Software Bangalore.

Phone:080-25522892 exten.112

Mob: 9845 976 976

 



**********************************************************

The information contained in, or attached to, this e-mail, contains confidential information and is intended solely for the use of the individual or entity to whom they are addressed and is subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email

************************************************************

Reply via email to