/*
*
* U.S. Government Rights - Commercial software. Government users are subject
* to the Sun Microsystems, Inc. standard license agreement and applicable
* provisions of the FAR and its supplements.
*
*
* This distribution may include materials developed by third parties. Sun,
* Sun Microsystems, the Sun logo and Solaris are trademarks or registered
* trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
*
*/
/*
* Note: this file originally auto-generated by mib2c using
* : mib2c.scalar.conf,v 1.5 2002/07/18 14:18:52 dts12 Exp $
*/
#ifndef HEALTHMONITOR_H
#define HEALTHMONITOR_H
/* function declarations */
void init_healthMonitor(void);
/* Additions to the template generated by mib2c */
/* Define node alarm states */
#define OK 0
/* Defile various rule states */
#define NOTINIT 0
/* Forward Function declarations */
int hm_post_read_config(int a, int b, void *c, void *d);
void send_trap(u_char *host , u_char *mod , u_char* con, oid *asdf, int size, u_char *stat , u_char *desc , u_char* dvalue, int dtype);
int Kernel_rule(int action);
void refresh_SWAP_data();
void refresh_Kernel_data();
void refresh_NFS_data();
void refresh_CPU_data();
void refresh_RAM_data();
void refresh_KMEM_data();
void refresh_DNLC_data();
char* conv_alarm_state(int);
/*
* Additions from hmDiskGroup.h required for implementing hmDiskGroup
*
*/
/* function declarations */
void initialize_table_hmDiskTable(void);
/* column number definitions for table hmDiskTable */
typedef struct HmDiskEntry {
char *hmDiskName;
char *hmDiskAliasName;
char *hmAvgWaitTransactions;
char *hmDiskBusyPcnt;
char *hmAvgDiskSvcTime;
int hmDiskState;
int hmTraversed;
} hmDiskTable;
/* Function prototypes */
void construct_DISK_table();
void check_state_DISK();
#endif /* HEALTHMONITOR_H */