Re: snmpwalk truncated output with "extend" or "exec"
Wes Hardaker <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Organization | Sparta |
| Message-ID | <[email protected]> |
>>>>> "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 RKK> I 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