3 * Header file for vmstat_dynix module for UCD-SNMP
4 * Patrick Hess <phess@phess.best.vwh.net>
9 * Prevent accidental double inclusions
11 #ifndef _MIBGROUP_VMSTAT_DYNIX_H
12 #define _MIBGROUP_VMSTAT_DYNIX_H
15 * Directive to include utility module
17 config_require(util_funcs)
20 * MIB wants V_CPU_SYSTEM which is sysinfo V_CPU_KERNEL + V_CPU_WAIT
22 #define V_CPU_SYSTEM 4
24 * Time interval to gather system data
27 * Lower value -> more accurate data, higher value -> less CPU usage
32 #define POLL_INTERVAL 60
34 * How many snapshots of system data to keep. Values returned are over
37 * time difference between first and last snapshot
40 * Using POLL_INTERVAL 60 and POLL_VALUES 5 we get the values
43 * over five minutes, which is a reasonable figure
47 * Declared in vmstat_dynix.c, from prototype
49 void init_vmstat_dynix(void);
51 #endif /* _MIBGROUP_VMSTAT_DYNIX_H */