diff options
Diffstat (limited to 'src/zabbix_agent/sysinfo.c')
-rw-r--r-- | src/zabbix_agent/sysinfo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/zabbix_agent/sysinfo.c b/src/zabbix_agent/sysinfo.c index 84c722c4..9edfeb7b 100644 --- a/src/zabbix_agent/sysinfo.c +++ b/src/zabbix_agent/sysinfo.c @@ -498,7 +498,7 @@ float PROCLOAD(void) return dyn.psd_avg_1_min; } #else - return FAIL; + return getPROC("/proc/loadavg",1,1); #endif #endif } @@ -529,7 +529,7 @@ float PROCLOAD5(void) return dyn.psd_avg_5_min; } #else - return FAIL; + return getPROC("/proc/loadavg",1,2); #endif #endif } @@ -560,7 +560,7 @@ float PROCLOAD15(void) return dyn.psd_avg_5_min; } #else - return FAIL; + return getPROC("/proc/loadavg",1,3); #endif #endif } |