|
BmnRoot
|
Functions | |
| test_ping (ip) | |
| test_pgsql_connection (params) | |
| test_http (http_addr) | |
| send_email (to, short_msg, long_msg="") | |
| get_notify (params_dict) | |
| main () | |
Variables | |
| str | MEASUREMENT_NAME = "resp_time" |
| int | allow_failed_check = 2 |
| mon-service.get_notify | ( | params_dict | ) |
Definition at line 91 of file mon-service.py.
Referenced by main().
| mon-service.main | ( | ) |
Definition at line 99 of file mon-service.py.
References get_notify(), main(), send_email(), test_http(), test_pgsql_connection(), and test_ping().
Referenced by main().
| mon-service.send_email | ( | to, | |
| short_msg, | |||
long_msg = "" |
|||
| ) |
Definition at line 76 of file mon-service.py.
Referenced by main().
| mon-service.test_http | ( | http_addr | ) |
Definition at line 66 of file mon-service.py.
Referenced by main().
| mon-service.test_pgsql_connection | ( | params | ) |
Definition at line 30 of file mon-service.py.
Referenced by main().
| mon-service.test_ping | ( | ip | ) |
Definition at line 24 of file mon-service.py.
Referenced by main().
| int mon-service.allow_failed_check = 2 |
Definition at line 22 of file mon-service.py.
| str mon-service.MEASUREMENT_NAME = "resp_time" |
Definition at line 19 of file mon-service.py.