3
* Header file for vmstat_solaris2 module for UCD-SNMP
4
* Jochen Kmietsch <kmietsch@jochen.de>
5
* see vmstat_solaris2.c for revision history and additional comments
10
* Prevent accidental double inclusions
12
#ifndef _MIBGROUP_VMSTAT_SOLARIS2_H
13
#define _MIBGROUP_VMSTAT_SOLARIS2_H
16
* The following statements are used by the configure script
19
* Dependency requirements
21
config_arch_require(solaris2, kernel_sunos5)
24
* Directive to include utility module
26
config_require(util_funcs)
29
* MIB wants CPU_SYSTEM which is sysinfo CPU_KERNEL + CPU_WAIT
33
* Time interval to gather system data
36
* Lower value -> more accurate data, higher value -> less CPU usage
41
#define POLL_INTERVAL 60
43
* How many snapshots of system data to keep. Values returned are over
46
* time difference between first and last snapshot
49
* Using POLL_INTERVAL 60 and POLL_VALUES 5 we get the values
52
* over five minutes, which is a reasonable figure
56
* Declared in vmstat_solaris2.c, from prototype
58
void init_vmstat_solaris2(void);
60
#endif /* _MIBGROUP_VMSTAT_SOLARIS2_H */