Set failures threshold variables type as long, due to unpredictable behaviour of libconfuse on x86_64
This commit partly reverts commit 1610c1394f
This commit is contained in:
parent
8c2e9b4dc2
commit
9fd34303ee
@ -16,9 +16,9 @@ int hosts_count=0; // count of hosts
|
|||||||
bool sms_enable=false; // use SMS messages for control and reports?
|
bool sms_enable=false; // use SMS messages for control and reports?
|
||||||
char* recipient_number=NULL; // recipient of sms alerts
|
char* recipient_number=NULL; // recipient of sms alerts
|
||||||
bool loop_locked=false; // flag for locking main loop while config re-reading
|
bool loop_locked=false; // flag for locking main loop while config re-reading
|
||||||
int failures_first=0; // count of failures while hosts checking, that triggers SMS sending
|
long failures_first=0; // count of failures while hosts checking, that triggers SMS sending
|
||||||
int failures_second=0; // count of failures while hosts checking, that triggers host's reset
|
long failures_second=0; // count of failures while hosts checking, that triggers host's reset
|
||||||
int failures_third=0; // count of failures while hosts checking, that clean failure statistics
|
long failures_third=0; // count of failures while hosts checking, that clean failure statistics
|
||||||
pid_t mainloop_clone_pid; // pid of clone process, that containt main loop
|
pid_t mainloop_clone_pid; // pid of clone process, that containt main loop
|
||||||
|
|
||||||
void* allocate_memory(int bytes)
|
void* allocate_memory(int bytes)
|
||||||
|
Loading…
Reference in New Issue
Block a user