snmpget truncating return

Marc Powell marc at ena.com
Fri Oct 31 15:16:42 CET 2008


On Oct 31, 2008, at 8:26 AM, Matt Nelson wrote:

> 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?

You'll probably get a better answer from a more appropriate forum  
(i.e. one about SNMP) but if this is under Solaris, this seems to be a  
known issue according to these threads --

http://www.google.com/search?hl=en&client=safari&rls=en-us&q=hrSWRunParameters+snmp-coders&btnG=Search

--
Marc


-------------------------------------------------------------------------
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=/
_______________________________________________
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