snmpget truncating return

Matt Nelson matt at frozenatom.com
Fri Oct 31 14:26:55 CET 2008


I have a process that I check for via SNMP.  I am using the following:

snmpget server1 -v2c -c public -t 10 .1.3.6.1.2.1.25.4.2.1.5.9691

which returns a string that is truncated:

HOST-RESOURCES-MIB::hrSWRunParameters.9691 = STRING: "-Xms512m -Xmx1024m
-Dcom.sun.management.jmxremote.port=xxxxx
-Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxre"  <THERE
SHOULD BE MORE DATA HERE>

Is there a limitation of snmp that I can change to return more of this
string?


Note: In all actuallity I run snmpwalk, and grep for what I am needing,
since 9691 changes...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20081031/49d80c79/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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.php?banner_id=100&url=/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list