Hi,

there is no response from server, most probably snmpd is not up.

you can use the following command to see if snmpd listen to standard port, 161

~/trial/snmp> netstat -a | grep snmp
udp 0 0 *:snmp *:*


2008/7/23 Amit Srivastava :
> Hi,
>
>
>
> I am new to net SNMP. I created a table with row status column.
>
> Now I have generated the code using the
>
>
>
> mib2c -c mib2c.iterate.conf
> amitStackTable -ŕ this is the table name
>
>
>
> and after doing some changes I copied the .c and .h files it into the
> mibgroup folder and then compiled the file.
>
>
>
> Now I executed the ./snmpd and then executed the following commnad
>
>
>
> snmpwalk –v1 –c public localhost amitStackTable
>
>
>
> but after few seconds it is showing the following message.
>
> .
>
> .
>
> [root@d253 agent]# snmpwalk -v 1 -c public localhost amitStackTable
>
> Timeout: No Response from localhost
>
> [root@d253 agent]#
>
>
>
>
>
> So please tell me that how I would be able to do the get and set on the
> below table.If I am wrong in code generation then please tell me which
> configuration file to choose and what changes I have to do. If possible send
> me an example file.
>
>
>
> Please help me its urgent…..
>
>
>
>
>
> Below is the table format
>
>
>
>
>
> amitStackTable OBJECT-TYPE
>
> SYNTAX SEQUENCE OF AmitStackEntry
>
> MAX-ACCESS not-accessible
>
> STATUS current
>
> DESCRIPTION
>
> "The table containing information on the relationships"
>
> ::= { sarnath 6 }
>
>
>
> amitStackEntry OBJECT-TYPE
>
> SYNTAX AmitStackEntry
>
> MAX-ACCESS not-accessible
>
> STATUS current
>
> DESCRIPTION
>
> "Information on a particular relationship between two sub-."
>
> INDEX { amitStackHigherLayer, amitStackLowerLayer }
>
> ::= { amitStackTable 1 }
>
>
>
> AmitStackEntry ::=
>
> SEQUENCE {
>
> amitStackHigherLayer InterfaceIndexOrZero,
>
> amitStackLowerLayer InterfaceIndexOrZero,
>
> amitStackStatus RowStatus
>
> }
>
>
>
> amitStackHigherLayer OBJECT-TYPE
>
> SYNTAX InterfaceIndexOrZero
>
> MAX-ACCESS not-accessible
>
> STATUS current
>
> DESCRIPTION
>
> "The value of ifIndex corresponding to the higher sub-layer"
>
> ::= { amitStackEntry 1 }
>
>
>
> amitStackLowerLayer OBJECT-TYPE
>
> SYNTAX InterfaceIndexOrZero
>
> MAX-ACCESS not-accessible
>
> STATUS current
>
> DESCRIPTION
>
> "The value of ifIndex corresponding to the lower sub-layer"
>
> ::= { amitStackEntry 2 }
>
>
>
> amitStackStatus OBJECT-TYPE
>
> SYNTAX RowStatus
>
> MAX-ACCESS read-create
>
> STATUS current
>
> DESCRIPTION
>
> "The status of the relationship between two sub-layers."
>
> ::= { amitStackEntry 3 }
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.p...r_id=100&url=/
> _______________________________________________
> 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/...net-snmp-users
>
>




--
/BR, Alexander

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.p...r_id=100&url=/
_______________________________________________
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/...net-snmp-users