Hi,
i can use snmptable to display the whole table, but
how to disply a row of table?
The type of table index is IpAddress and i set
the index via snmp_set_var_value() as the following:
<table>_get_first[next]_data_point() {
...
vptr = put_index_data;
snmp_set_var_value(vptr, (u_char *)&addr_ip, sizeof(in_addr_t));
...
}
When i tried the following command for instance with index 230.0.0.1,
"snmpget -v 2c -c private <remotehost> recMCAddressTable.230.0.0.1"
i got:
"...::recMCAddressTable.230.0.0.1 = No Such Object available on this
agent at this OID"
What is the correct usage of snmp command to dispaly a row of table?
thanks.
Li-Juen
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users