> #define MAXREADCOUNT 100   /* max times to loop reading  output from
execs. */

Would it apply to "extend" also ? 





> -----Original Message-----
> From: Wes Hardaker [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, May 09, 2007 12:41 PM
> To: Karamchedu, Rajeev K.
> Cc: [email protected]
> Subject: Re: snmpwalk truncated output with "extend" or "exec"
> 
> >>>>> "RKK" == Rajeev K Karamchedu <Karamchedu> writes:
> 
> RKK> We are having trouble with the snmpwalk truncating output to 100 
> RKK> lines when using the "extend" or the "exec" facility. 
> Looks like I 
> RKK> am missing something in the setup ?
> 
> That's a hard coded limit you're hitting as the exec/extend 
> stuff was designed for fairly short scripts (during a time 
> period where memory/cpu-power was more expensive too).  If 
> you want to change that, you'll have to manually edit the 
> include/net-snmp/net-snmp-config.h
> file to change the following definition:
> 
> #define MAXREADCOUNT 100   /* max times to loop reading 
> output from execs. */
> 
> Now days, that should be run-time configurable but it dates 
> back to code written before configuration files were in place.
> --
> Wes Hardaker
> Sparta, Inc.
> 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to