Functions

alarm_checks.h File Reference

SNMP statistic module

More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions


Detailed Description

Definition in file alarm_checks.h.


Function Documentation

int check_dialog_alarm ( int  threshold_to_compare_to  ) 

Definition at line 74 of file alarm_checks.c.

References get_statistic().

Referenced by run_alarm_check().

Here is the call graph for this function:

Here is the caller graph for this function:

int check_msg_queue_alarm ( int  threshold_to_compare_to  ) 

If threshold_to_compare_to is < 0, then no check will be performed and zero always returned.

Definition at line 52 of file alarm_checks.c.

References get_total_bytes_waiting().

Referenced by run_alarm_check().

Here is the call graph for this function:

Here is the caller graph for this function:

void run_alarm_check ( unsigned int  ticks,
void *  attr 
)

The first time it is called, it will query OPENSER-MIB for configured thresholds.

Definition at line 96 of file alarm_checks.c.

References check_dialog_alarm(), check_msg_queue_alarm(), and register_with_master_agent().

Referenced by mod_init().

Here is the call graph for this function:

Here is the caller graph for this function: