--- agent/mibgroup/host/hr_system.c 2011/01/09 18:13:50 19830 +++ agent/mibgroup/host/hr_system.c 2011/01/29 23:36:29 19898 @@ -106,7 +106,7 @@ static int get_load_dev(void); static int count_users(void); extern int count_processes(void); - +extern int swrun_count_processes(void); /********************* * @@ -287,7 +287,9 @@ long_return = count_users(); return (u_char *) & long_return; case HRSYS_PROCS: -#if USING_HOST_HR_SWRUN_MODULE +#if USING_HOST_DATA_ACCESS_SWRUN_MODULE + long_return = swrun_count_processes(); +#elif USING_HOST_HR_SWRUN_MODULE long_return = count_processes(); #else #if NETSNMP_NO_DUMMY_VALUES