Re: [Nagios-users] check_snmp on Sol 10 mangling data

2006-10-19 Thread Ton Voon
Kyle,Thanks for the report. Applied in CVS.For future reference, please raise a tracker item in SF so it doesn't get lost in mailing lists. Thanks.TonOn 6 Mar 2006, at 18:58, Kyle Tucker wrote:After playing with gdb all day, I found the culprit. The array of charsnamed "type" was getting initialize

Re: [Nagios-users] check_snmp on Sol 10 mangling data

2006-03-06 Thread Kyle Tucker
After playing with gdb all day, I found the culprit. The array of chars named "type" was getting initialized with the crud on Solaris 10. On 8 it was zeroed out at runtime. Using bzero on it before it's used fixed it up. *** check_snmp.c.orig Mon Mar 6 08:05:26 2006 --- check_snmp.cMon

Re: [Nagios-users] check_snmp on Sol 10 mangling data

2006-03-06 Thread Kyle Tucker
I just want to add that snmpget returns a good clean string on both Solaris 8 and 10. I also copied over and ran the check_snmp that I built (and runs well) on Solaris 8 on the Solaris 10 system and it too returns the garbage strings. So I'm at a total loss as to what about Solaris 10 that would c

[Nagios-users] check_snmp on Sol 10 mangling data

2006-03-03 Thread Kyle Tucker
Hi, I had check_snmp from the 1.4.2 plugins working great with Net-SNMP 5.2.2 on Solaris 8. I have built it all on Solaris 10 now for my production server and I get mangled data back from check_snmp going to the exact same snmpd client. Here's a good working Solaris 8 query from check_s