Commit Graph

24 Commits

Author SHA1 Message Date
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