Commit Graph

81 Commits

Author SHA1 Message Date
989ca201e4 lock LPT control circuit when receiving SIGTERM 2011-12-19 10:07:48 +04:00
4c1fb5fa9d make LPT port configurable 2011-12-19 09:56:50 +04:00
7ecbe35d83 move Main Loop to a separate clone process 2011-12-18 12:07:40 +04:00
52b69a0196 initialize gammu only when enabled in config 2011-12-17 19:49:12 +04:00
796be414fc implement function for SMS reading 2011-12-17 19:47:58 +04:00
85f8da54a5 move freeing IPC resources in separate function 2011-12-14 18:13:42 +04:00
16d950f98d implement IPC messaging with queue loop 2011-12-14 17:52:13 +04:00
1338bd660b fix warning about implicit declaration of log_debug() 2011-12-14 10:41:40 +04:00
b285350e36 implement host failures count threshold, before sending first SMS 2011-12-13 19:15:45 +04:00
75c7a1be71 implement LPT pin "reset" function 2011-12-13 19:09:17 +04:00
8f39695140 main loop locking and config re-reading on SIGHUP 2011-12-12 15:03:45 +04:00
eeb0166fa7 prevent duplicate alerts on same problem with host 2011-12-12 14:31:18 +04:00
1036bd84f2 config file options to define phone parameters 2011-12-12 14:10:05 +04:00
03f76b6a26 remove differencies between logged messages and messages sent by SMS 2011-12-12 13:54:37 +04:00
e7cc358a82 add explicit return of pointer to allocated memory 2011-12-12 13:51:22 +04:00
cbd115f22c option to enable/disable SMS sending 2011-12-12 13:47:43 +04:00
849e8dc502 option to define SMS recipient via config 2011-12-12 13:28:07 +04:00
1d7c2b6a15 log success sms sending only when debugging, log failures always 2011-12-12 13:06:00 +04:00
e6d0c3610e initial implementation of sms sending 2011-11-30 16:21:34 +04:00
3e183be533 Move gammu-related functions into separate file. Change "check_gammu_error" function to return error state. Some configure.ac dependecies added 2011-11-29 13:47:48 +04:00
9f78ad8d03 add gammu initialization code 2011-11-25 18:30:16 +04:00
d0f8301436 link with libGammu 2011-11-25 17:52:53 +04:00
cacb7c46e3 make config structure pointer global 2011-11-25 17:50:47 +04:00
4aa37602ec free memory for config structure explicitly 2011-11-25 17:45:50 +04:00
ab22d61262 add check for empty hosts' list 2011-11-25 17:42:48 +04:00
bc7c1edb41 option for log verbosity level 2011-11-25 17:35:33 +04:00
c93b612597 hosts' list are now defined via config file 2011-11-25 17:04:49 +04:00
748bd4d10a begin to implent libconfuse usage 2011-11-17 15:45:44 +04:00
e007355bd3 fix missing license info in README 2011-11-16 15:57:09 +04:00
08aca40316 initial work on daemon 2011-11-15 17:53:12 +04:00
ff3f30d3a6 initial commit 2011-11-15 14:41:46 +04:00