Commit Graph

35 Commits

Author SHA1 Message Date
aadd46ae1b switched to proper package names 2021-02-03 05:59:31 -09:00
dbd74982ff started on framework for running recurring checks 2021-01-28 20:14:16 -09:00
081ecb0607 added smtp auth machinery 2021-01-24 13:59:53 -09:00
e1df5ac487 code cleanup 2021-01-24 13:32:39 -09:00
3fa0c393fe Added subject and message email template options 2021-01-23 08:27:03 -09:00
8c7822be97 refined alarm email, removed port requirement for smtp server, fixed bug with config loading 2021-01-20 18:49:32 -09:00
afcdef029e email alarm now sends emails 2021-01-20 07:31:22 -09:00
bcf0e91d0b added manual alarm triggering for testing 2021-01-18 12:47:03 -09:00
814102fc09 added tokenizer test for empty quotes 2021-01-18 07:40:56 -09:00
cd73181a62 improved tokenizer, added tests 2021-01-18 07:29:38 -09:00
b675d8714e separated parser from tokenizer, wrote some tokenizer tests 2021-01-17 16:41:28 -09:00
3a4317f3a9 fixed parser bug when handling empty strings, added empty string check to email alarm 2021-01-17 09:44:39 -09:00
2d99960f06 Added framework for alarms, code cleanup 2021-01-17 09:04:08 -09:00
f108090967 Added default interval 2021-01-17 05:24:13 -09:00
5c930cd409 Changed interval to duration, added outline for alarm configuration 2021-01-16 09:30:18 -09:00
59971d75d2 Added README and LICENSE 2021-01-12 03:46:58 -09:00
951bee15fd improved command line argument handling, migrated json to config at higher debug levels 2021-01-12 03:32:15 -09:00
233aec7010 Added max rtt and max avg rtt to ping check 2021-01-12 03:32:14 -09:00
5c55903e88 added maxpacketloss variable for ping check 2021-01-12 03:32:14 -09:00
d80a5a80d7 Added options to check ping configuration 2021-01-12 03:32:14 -09:00
4e67a31552 Ping check actually pings 2021-01-12 03:32:14 -09:00
ad3d9fb4d4 Added ability to trigger check from command line 2021-01-12 03:32:14 -09:00
826564a060 Changed groups and hosts to use maps in config, reorganized code, cleaned up command line arguments 2021-01-12 03:32:14 -09:00
aa1d4d10fa Startup options, fixed new group bug with unnamed groups 2021-01-12 03:32:14 -09:00
9cc26fe41c Fixed parser issue with quotes in an ignored line 2021-01-12 03:32:14 -09:00
ac45a8625b Added basic structure for checks 2021-01-12 03:32:14 -09:00
87c53831a2 Code cleanup 2021-01-12 03:32:14 -09:00
90325e9dd5 Added set support to config 2021-01-12 03:32:14 -09:00
60d83288df Fixed off-by-one error in config parse error line output 2021-01-12 03:32:14 -09:00
5de5349fde Changed tokenizer state into a queue so that it can more easily step back up the tree 2021-01-12 03:32:14 -09:00
e10de3188a Added in token handling 2021-01-12 03:32:14 -09:00
233e33348d Added line counting 2021-01-12 03:32:14 -09:00
79329520e2 go fmt 2021-01-12 03:32:14 -09:00
e8d45282e8 Simplified splitter to use a single scanner and respect comment lines 2021-01-12 03:32:14 -09:00
1fcf9f1291 Initial commit 2021-01-12 03:32:14 -09:00