Hi,
After googling I could find that I will be able to create the row
using
snmpset -c public 127.0.0.1 mVgSipDnsServerRowStatus.1.\"1.1.1.1\" i 4.
I have generated the code for the table using iterator helper. After
receiving the request I am not able to receive the ipaddress passed by
the snmpset command in
Table_info->indexes but I am able to receive the ipaddresstype i.e '1'.
Can anyone help me please.
Thanks
Krishna
________________________________
From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: Monday, September 17, 2007 11:09 AM
To: [email protected]
Subject: How to create row for a table having two indices.
Hi,
The following is the MIB which has two indices.
+--mVgSipDnsServerTable(6)
| | | |
| | | +--mVgSipDnsServerEntry(1)
| | | | Index: mVgSipDnsServerIPAddressType,
mVgSipDnsServerIpAddress
| | | |
| | | +-- ---- EnumVal
mVgSipDnsServerIPAddressType(1)
| | | | Textual Convention: InetAddressType
| | | | Values: unknown(0), ipv4(1), ipv6(2),
ipv4z(3), ipv6z(4), dns(16)
| | | +-- ---- String mVgSipDnsServerIpAddress(2)
| | | | Textual Convention: InetAddress
| | | | Size: 0..255
| | | +-- CR-- INTEGER mVgSipDnsServerPriority(3)
| | | | Range: 1..2
| | | +-- CR-- EnumVal mVgSipDnsServerRowStatus(4)
| | | Textual Convention: RowStatus
| | | Values: active(1), notInService(2),
notReady(3), createAndGo(4), createAndWait(5), destroy(6)
How do I give the snmpset command to create the row.
Thanks
Krishna
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.