blob: 4f5e7a58710c0e0e2ee735ba91c70cc14017db8f [file] [log] [blame]
/*
* Loadaveess watching mib group
*/
#ifndef _MIBGROUP_LOADAVE_H
#define _MIBGROUP_LOADAVE_H
config_require(util_funcs/header_simple_table)
void init_loadave(void);
extern FindVarMethod var_extensible_loadave;
/*
* config file parsing routines
*/
void loadave_parse_config(const char *, char *);
void loadave_free_config(void);
int try_getloadavg(double *r_ave, size_t s_ave);
#include "mibdefs.h"
#define LOADAVE 3
#define LOADMAXVAL 4
#define LOADAVEINT 5
#define LOADAVEFLOAT 6
#endif /* _MIBGROUP_LOADAVE_H */