Trying to debug this, I get the following crash when:

starting /usr/local/sbin/snmpd -D ALL

and the EM7 server queries the host:

libc.so.1`strlen+0x50(ff0ee2b8, ffbfdbac, 152ead, 0, 0, 0)
libc.so.1`vsnprintf+0x6c(ffbfd6d8, 400, ff0ee2a8, ffbfdba4, 7ffffc00, 
1494)
libnetsnmp.so.30.0.1`snmp_vlog+0x20(7, ff0ee2a8, ffbfdba4, ffbfdc5c, 0, 0)
libnetsnmp.so.30.0.1`debugmsg+0x30(ff0ee298, ff0ee2a8, 152ea0, 0, 33a, 
1494)
libnetsnmp.so.30.0.1`netsnmp_getaddrinfo+0x14c(152ea0, 0, ffbfdc60, 
ffbfdc5c, 0, 0)
libnetsnmp.so.30.0.1`netsnmp_gethostbyname_v4+0x50(152ea0, ffbfdd74, 3235, 
31302e32, 80808080, 1010101)
libnetsnmp.so.30.0.1`netsnmp_sockaddr_in2+0x524(ffbfdd70, 152ea0, 152ea0, 
ff0f21c8, 0, ff0f2420)
libnetsnmp.so.30.0.1`netsnmp_udp_create_tstring+0x10(ffbff129, 0, 295c0, 
ffbff129, 0, ff10e35c)
libnetsnmp.so.30.0.1`netsnmp_tdomain_transport_full+0x3cc(ff0f2308, 
ffbff129, ff0f21d8, ff0f21c8, 0, ff0f2420)
libnetsnmpagent.so.30.0.1`create_trap_session2+0xb8(ffbff129, 0, ff33a868, 
0, a4, 0)
libnetsnmpagent.so.30.0.1`snmpd_parse_config_trapsink+0xb8(ffbfed20, 
ffbff129, ffbff13d, ffbff13c, fecc6c99,
fecc6c99)
libnetsnmp.so.30.0.1`run_config_handler+0xdc(26ad8, ffbfed20, ffbff129, 0, 
ffbff120, ff10eefc)
libnetsnmp.so.30.0.1`read_config+0x268(ffbff638, 26a98, ff0ef148, 
ff0ee8d0, ff0ee8c8, ffbff520)
libnetsnmp.so.30.0.1`read_config_files_in_path+0x4e4(ffbff638, 28310, 0, 
1502e0, 0, 1502e0)
libnetsnmp.so.30.0.1`read_config_files_of_type+0xd8(0, 28310, 0, ff10e344, 
17f0, 2c1c)
libnetsnmp.so.30.0.1`read_config_files+0x44(ffffffff, ff0ef6b0, ff0ef6a0, 
ff0ee8e0, 3f8, 1798)
libnetsnmp.so.30.0.1`read_configs+0x88(0, 0, 0, 0, 154e1, 154e0)
main+0xbf4(3, ffbffc04, 0, ffffffff, 0, 0)
_start+0x5c(0, 0, 0, 0, 0, 0)

Comparing our version 5.4.2.1, the PS command works correctly, however the 
builds of 5.6.1
and 5.7.1, lose the arguments, truncate the first character of the full 
path, and populate that
truncated path to the arguements.

Ben






<ben.tay...@sybase.com> 
01/06/2012 12:21 PM

To
<net-snmp-users@lists.sourceforge.net>
cc

Subject
Solaris 10, with SMCperl (5.8.8) and net-snmp (5.6.1/5.7.1)






I have a rather generic build of netsnmp 5.6.1 and more recently 5.7.1. We 
are using 
EM7 for monitoring, and we notice that in both 5.6.1 and 5.7.1, we are 
seeing some 
problems with the process information.  Specifically, we are seeing the 
following: 

1) truncation of the first character in the process name 
2) dropping of all arguments 
3) truncation of the full path of the process name 

Anyone got some pointers? 

Thanks, 

Ben Taylor
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to