Thanks Robert.

I have added default vales in table , if process is not running.

Thanks for providing the debuggig steps which helped me to understand the
traversing.

On Fri, Mar 4, 2016 at 7:17 PM, Robert Story <rst...@freesnmp.com> wrote:

> On Fri, 12 Feb 2016 16:07:29 +0530 Pranesh wrote:
> PK> I have implemented subagent of 5 tables. using mib2c MFD option
> PK>
> PK> All 5 tables gives the value when my monitoring process say
> PK> "XYZ" is running.
> PK>
> PK> Now the problem is if my process XYZ is not running , the last
> PK> three tables dont have any values.
> PK>
> PK> while doing snmpwalk on 2nd table  , it gives value and says at
> PK> last
> PK>
> PK> Timeout No Response or Error in Packet .
>
> If you do a snmpget on the last object in the 2nd table and specify
> the -d option, you should be able to see if you get back a packet
> (error in packet) or no packet (timeout no response).
>
> PK> I have include MFD_SKIP or MFD_END_OF_DATA in third table in
> PK> container_load() , if my process XYZ is not running,
>
> I don't think you need to return skip or end of data. You simply
> need to return without adding data to the container. The agent
> should then skip over the table and move on to the next table.
>
> Also, try adding -D table2,table3 (where table2 and table3 are the
> actual table names) to the sub-agent command line to see if that
> gives you a better idea of what's going on. For more detail, you
> can add verbose:table2 and internal:table2.
>
> Robert
>



-- 
Thanks,
Pranesh
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to