Hello,
I am using SUN solstice SNMP kit to develop my own subagents. There is no much info on the registration part and I can't understand what I am doing wrong. Could you give me a hand on this?
I need the subagent to manage 1st and 2nd rows (2 and 3 columns) of the appTable , but I can't get it working. The registration process fails with the genErr(5) - attached below.
To register a subagent with the master agent I use the following file:
macros =
{
enterprises = 1.3.6.1.4.1
appTable = enterprises.13735.1.7
}
agents =
{
{
name = "conServerd"
subtrees = { enterprises.13735.1}
tables =
{
{ #begin
table = appTable
columns = [2 -3]
indexes = [1 -2]
} #end table
} #end of tables
timeout = 2000000
watch-dog-time = 86400
}
}
The error I recieve with the -d 4 option is below:
PDU:
-
version:0
community:public
type: GET_RSP_MSG (0xa2)
request id:5
error status: genErr(5)
error index: 1
--
name:1.3.6.1.4.1.42.2.15.10.1.3.5.1
type:OBJECT IDENTIFIER (0x6)
length: 36
value:1.3.6.1.4.1.13735.1.7
--
name:1.3.6.1.4.1.42.2.15.10.1.4.5.1
type:INTEGER (0x2)
length: 4
value:2
--
name:1.3.6.1.4.1.42.2.15.10.1.5.5.1
type:INTEGER (0x2)
length: 4
value:3
--
name:1.3.6.1.4.1.42.2.15.10.1.6.5.1
type:INTEGER (0x2)
length: 4
value:1
--
name:1.3.6.1.4.1.42.2.15.10.1.7.5.1
type:INTEGER (0x2)
length: 4
value:2
--
name:1.3.6.1.4.1.42.2.15.10.1.8.5.1
type:INTEGER (0x2)
length: 4
value:2
--
TABLE CONFIG