-
I've observed a bug in the handling of engineBoots/engineTime when the agent is reconfigured. The bug was identified in 5.4.1.2, but I believe 5.5 is also affected.
At startup, the agent sets engineTime to zero, reads engineBoots from the persistent conf file and increments it as expected.
When a reconfig occurs (ie kill -HUP), the engineBoots value used by the agent is incremented...
2009-11-08 23:14:49 UTC by warem
-
File /trunk/net-snmp/agent/mibgroup/ip-mib/data_access/ipaddress_ioctl.c
If ioctl in function netsnmp_access_ipaddress_ioctl_get_interface_count fails, there is code:
---
snmp_log(LOG_ERR, "bad rc from ioctl, errno %d", errno);
SNMP_FREE(ifc->ifc_buf);
break;
---
So "for" loop will break and function will return "ifc->ifc_len / sizeof(struct ifreq)" which is > 0. When caller tries to use...
2009-11-08 09:00:22 UTC by maks_polunin
-
dts12 made 2 file-release changes.
2009-11-06 09:26:02 UTC by dts12
-
dts12 made 1 file-release changes.
2009-11-06 09:25:01 UTC by dts12
-
OS: Windows XP SP3
PERL: ActivePerl V5.10.1.1006
Net-SNMP Version: 5.4.2.1
snmpconf -g basic_setup fails on my system, output below:
The following installed configuration files were found:
1: E:/Program Files/ARMS Agent (for Windows)/etc/snmp/snmp.conf
Would you like me to read them in? Their content will be merged with the
output files created by this session.
Valid...
2009-11-04 08:37:11 UTC by rpletscher
-
if you have:
1. perl compiled without 64bit integers
2. AgentX in perl
3. Counter64 data to return
the only way to pass 64-bit data to agent is string representation. Using strtoull() instead of strtoul() helps to achieve this.
2009-11-02 20:50:04 UTC by max_romanov
-
dts12 made 8 file-release changes.
2009-11-02 12:37:01 UTC by dts12
-
dts12 made 4 file-release changes.
2009-11-02 12:36:02 UTC by dts12
-
dts12 made 4 file-release changes.
2009-11-02 12:35:01 UTC by dts12
-
dts12 made 2 file-release changes.
2009-11-02 12:34:01 UTC by dts12