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;
Hi,
i built my table with mib2c and mib2c.iterate_access.conf.
my handler routine include a loop to work through the requests list.
i placed my routine of table-retrieving in
mytable_get_first_data_point().
snmptable gets the table correctly but it takes a long time to do it,
Hi,
the error message shown on Subject happened after i changed
the type of my mib variable, MediaTime, from 'ASN_OCTET_STR'
to 'ASN_INTEGER' in my agent code.
My agent was running on a remote Linux box. I used 'snmpget'
on my local Linux to get the value of MediaTime.
I then
removing myMIB.txt.orig from /usr/share/...,
the error message disappeared.
Sign, I seemed always finding the answer *after* throwing
the question. Sorry if i bothered you.
Thanks.
Li-Juen
Li Juen Hwang wrote:
Hi,
the error message shown on Subject happened after i changed
.
thanks.
Li-Juen
Dave Shield wrote:
On Fri, 2006-02-17 at 20:19 -0800, Li Juen Hwang wrote:
i have a table containing 500 entries with 5 columns.
How have you implemented this table?
If you're using the v4 API, please see the
FAQ entry:
How can I support a large table
Hi,
it's my test script problem. sorry about the
false alarm.
Li-Juen
Li Juen Hwang wrote:
Dave:
i am using net-snmp-5.2.1 (not v4). And my table only
has 5 columns, not 256. The data entry of my table usually
exceeds 256, i.e. 256 *rows*. So it is not a wide table
Hi,
i have a table containing 500 entries with 5 columns.
(My snmp agent is running on Linux BlueCat.)
When i used snmptable to retrieve it, i can only
get 256 entries and the top entry seems a NULL
entry. Is there a limit for the number of table entry
and how to increase it?
Hi,
i built a set of table access routines by mib2c
with mib2c.iterate_access.conf.
My table was malloc'd and the data was handed
to *my_data_context in mytable_get_first[next]_data_point().
I wonder who is freeing the data pointed by
*my_data_context? I ask because i don't
Hi, Dave:
2) Is it a big deal that I removed /var/agentx/master?
No.
The socket itself (master) should be removed automatically
when the agent shuts down. So it might be worth checking
that no other SNMP agent is currently running.
Alternatively, how do you shut down the agent?
Hi,
I am trying to create an snmp table.
The data for my table is dynamically changing from an external
data source. The definition of the table follows.
RecMCAddressEntry ::= SEQUENCE {
recMCAddressIndex
IpAddress,
recMCAddress
IpAddress,
Shield wrote:
On Tue, 2006-01-24 at 13:43 -0800, Li Juen Hwang wrote:
I am using net-snmp-5.2.1 to buid an snmp agent.
When i (either as root or normal user) tried
snmpget -v 2c -c public localhost darDeviceType.0,
i got Timeout: No Response from localhost.
Can you
Hi,
I am using net-snmp-5.2.1 to buid an snmp agent.
The source code of my agent was created by running mib2c on my MIB files
with mib2c.scalar.conf and mib2c.iterate_access.conf.
The binary code of my agent is linked with the snmp libraries of
net-snmp-5.2.1.
I placed
12 matches
Mail list logo