Dear sir,
sir,Mr.DAVE it works for "SNMPWALK" also, i just recompiled once again then i found it working.. i didnot know what was the problem in the previous state? anyway now it works.sir, the new PROBLEM is i couldnot make a SNMPSET as the mib variables in the table has
max-access as READ-ONLY.so, i added the other subsequent table
wmanIfBsControllerActionsTable which is in the same object identifier.
sir, i used
"mib2c -c mib2c-create-dataset.conf wmanIfBsControllerActionsTable" to create a C template
and added my code for adding data to the variables.
here the PROBLEM is there is NO INDEX in the table and that, i added the value for the other variables as such and added the row to the table. now when i start the agent i get an expection thrown
as "illegal data attempted to be added to table wmanIfBsControllerActionsTable"
sir, here is the copy and paste of the terminal output...
===========================================================================================================================
[EMAIL PROTECTED] agent]$ ./snmpd -r -L -f 172.29.5.102:1275
illegal data attempted to be added to table wmanIfBsControllerActionsTable
NET-SNMP version 5.2
===========================================================================================================================
here there is NO warnings or errors during make & make install.when i query the agent using
SNMPGET.. "No Such Instance currently exists at this OID" and as Mr.DAvE sir instructed, i tried using the index or subidentifier ".1" again it gives the same.
and when SNMPGETNEXT is made, it shows some "UCD-SNMP-MIB" values.sir, what is wrong?
what to be done when there is no index in the table?how to implement it?
kindly give the instructions and guidelines.
with sincere thanks & love,
n.parthiban
here, the copy and paste of the terminal output.
===========================================================================================================================
==========================HERE WORKS FOR wmanIfBsControllerStatusTable=====================================================
[EMAIL PROTECTED] net-snmp-5.2]$ snmpgetnext -c necops -v 2c 172.29.5.102:1275 1.3.6.1.2.1.10.184.1.1.5.1.1.2
WMAN-IF-MIB::wmanIfBsControllerStatusRunningSwVersion.1 = STRING: "1.32a"
[EMAIL PROTECTED] net-snmp-5.2]$ snmpget -c necops -v 2c 172.29.5.102:1275 1.3.6.1.2.1.10.184.1.1.5.1.1.2.1
WMAN-IF-MIB::wmanIfBsControllerStatusRunningSwVersion.1 = STRING: "1.32a"
[EMAIL PROTECTED] net-snmp-5.2]$
===========================================================================================================================
============================HERE THE PROBLEM wmanIfBsControllerActionsTable=================================================
[EMAIL PROTECTED] net-snmp-5.2]$ snmpget -c necops -v 2c 172.29.5.102:1275 1.3.6.1.2.1.10.184.1.1.5.3.1.1
WMAN-IF-MIB::wmanIfBsControllerActionsResetBs = No Such Instance currently exists at this OID
[EMAIL PROTECTED] net-snmp-5.2]$ snmpget -c necops -v 2c 172.29.5.102:1275 1.3.6.1.2.1.10.184.1.1.5.3.1.1.1
WMAN-IF-MIB::wmanIfBsControllerActionsResetBs.1 = No Such Instance currently exists at this OID
[EMAIL PROTECTED] net-snmp-5.2]$ snmpgetnext -c necops -v 2c 172.29.5.102:1275 1.3.6.1.2.1.10.184.1.1.5.3.1.1
UCD-SNMP-MIB::memIndex.0 = INTEGER: 0
[EMAIL PROTECTED] net-snmp-5.2]$
===========================================================================================================================
sir, for your convience, i have given the portion of the wmanIfMib -MIB file and also the description
of wmanIfBsControllerActionsEntry.
here, instead of index, "augments" is given.
===========================================================================================================================
A PORTION OF (wmanIfMib)MIB FILE IN THE TREE VIEW
===========================================================================================================================
|
|
|-wmanIfBsController
|-wmanIfBsControllerStatusTable
| |-wmanIfBsControllerStatusEntry
| |
| |-wmanIfBsControllerStatusIndex - INTEGER(2 - int, int32)Max access: not-accessible
| |-wmanIfBsControllerStatusRunningSwVersion - OCTET STRING(4 - octets)Max access:read-only
| |-wmanIfBsControllerStatusBackupSwVersion - OCTET STRING(4 - octets)Max access:read-only
|
|
+-wmanIfBsControllerConfigTable
|
|-wmanIfBsControllerActionsTable
|-wmanIfBsControllerActionsEntry
|
|-wmanIfBsControllerActionsResetBs - INTEGER(2 - int, int32)Max access:read-write
|-wmanIfBsControllerActionsResetSector - INTEGER(2 - int, int32)Max access:read-write
|-wmanIfBsControllerActionsSectorIfToReset - InterfaceIndex(2 - int, int32)Max access:read-write
|-wmanIfBsControllerActionsRowStatus - RowStatus(2 - int, int32)Max access:read-write
===========================================================================================================================
===========================================================================================================================
DESCRIPTION ABOUT THE wmanIfBsControllerActionsEntry
===========================================================================================================================
Name: wmanIfBsControllerActionsEntry
Type: OBJECT-TYPE
OID: 1.3.6.1.2.1.10.184.1.1.5.3.1
Full path: iso(1).org(3).dod(6).internet(1).mgmt(2).mib-2(1).transmission(10).wmanIfMib(184).wmanIfMibObjects(1).wmanIfBsObjects(1).wmanIfBsController(5).wmanIfBsControllerActionsTable(3).wmanIfBsControllerActionsEntry(1)
Module: WMAN-IF-MIB
Parent : wmanIfBsControllerActionsTable
First child : wmanIfBsControllerActionsResetBs
Numerical syntax : Null
Base syntax : WmanIfBsControllerActionsEntry
Composed syntax : WmanIfBsControllerActionsEntry
Status : current
Max access : not-accessible
Sequences : 1: wmanIfBsControllerActionsResetBs - INTEGER(2 - int, int32)
2: wmanIfBsControllerActionsResetSector - INTEGER(2 - int, int32)
3: wmanIfBsControllerActionsSectorIfToReset - InterfaceIndex(2 - int, int32)
4: wmanIfBsControllerActionsRowStatus - RowStatus(2 - int, int32)
Augments : 1: wmanIfBsControllerStatusEntry
Description : This table augments the table wmanIfBsControllerStatusTable.
The table has one row only.
===========================================================================================================================
- AGENT EXT SIT ON NAILS -6 Parthiban Naliiamudali
- Re: AGENT EXT SIT ON NAILS -6 Robert Story