Meaning of flags fields to create a row in a table - need help.

2012-11-22 Thread Helcio Silva
Hi, gentlemen. I have a table with a row composed by following columns: - name (OCTET STRING, index) - score (INTEGER) - status (RowStatus) I am using mib2c with mfd.conf option to create skeleton files. One of structures created is shown below: -- typedef struct mySimpleTable

Error when installing NET-SNMP 5.7.2

2012-11-08 Thread helcio silva
I'm trying the last release of NET-SNMP package, named 5.7.2. I've typed 'configure', and everything did worked. However, after I've just typed 'make', the following messages were shown: --- system.c: In function 'netsnmp_str_to_gid': system.c:1416:13: warning: assignment makes pointer f

Help on using 'table_iterator' helper.

2012-08-30 Thread helcio silva
Hi, gentlemen. Some days ago, I've used 'table_dataset' helper to build a table. However, there was an error when I was trying to create a row on that table. I've readed on previous messages that 'table_dataset' helper should be used only when the table contains at least one row. Other h

Can not create row on a MIB table. Why?

2012-08-24 Thread helcio silva
Hi, gentlemen. I am facing problems on creating a new table row using snmpset. Let's start from beginning. Below is my MIB module - a simple table containing three columns: 'name' (its index), 'score' and 'status' (a RowStatus object type). --- myTable DEFINITIONS ::= BEGIN IMPORTS

Re: Extending snmpd: how to create rows dynamically on custom tables, and perform other procedures?

2012-08-23 Thread helcio silva
The problem rises when I use snmpset. Please, take a look: --- snmpset -v2c -c public localhost myTable::mySimpleTable.mySimpleEntry.status.\"Helcio\" i 4 Error in packet. Reason: noCreation (That table does not support row creation or that object can not ever be created) Failed object:

Extending snmpd: how to create rows dynamically on custom tables, and perform other procedures?

2012-08-15 Thread helcio silva
Hi, gentlemen. I need a SNMP agent enabled to hold a scalar variable and some tables. The SNMP agent should receive SET messages to write the scalar and create the rows for those tables. After that, the agent should perform some network tasks - more accurately, send/receive messages using th

Objects for huge configuration on snmpd.

2011-01-07 Thread helcio silva
Hi to everyone. I would like to perform an huge configuration on NET-SNMP agent (snmpd), using Set PDUs carried by SNMP messages. I would like to use the HOST RESOURCES MIB for that, but it does not contain much ReadWrite objects. Can someone show me what are the MIBs used to configure s