Commit Graph

94 Commits

Author SHA1 Message Date
Asif Bacchus
52f5ef96e8 refactor: replace BASH script with new POSIX one 2021-05-08 04:00:15 -06:00
Asif Bacchus
124644e38e feature: add console and no-logging features 2021-05-08 03:58:30 -06:00
Asif Bacchus
a060e72ea0 fix: confirm creds exist if using default location 2021-05-08 03:50:58 -06:00
Asif Bacchus
7bc5f73e27 docs: add in-script example commands 2021-05-08 03:43:47 -06:00
Asif Bacchus
94e1208af2 docs: add in-script help 2021-05-08 03:29:37 -06:00
Asif Bacchus
d7be713574 refactor: use patch to only change IP
- remove proxy option, not needed
- doesn't touch any other configured properties
2021-05-08 02:37:28 -06:00
Asif Bacchus
cc3f52b849 struct: finish operational rewrite
- add requirement and check for jq for JSON processing
- run all checks, confirmations and actions via JSON
- check existing records
- update records as needed
- update error codes and reporting
- less colourful logs by default
2021-05-08 02:05:32 -06:00
Asif Bacchus
36ececcb5d struct(templates): add sample credentials file 2021-05-08 02:04:03 -06:00
Asif Bacchus
53f7245001 feature: auto-detect ip, update exit func
- auto-detect IP address if not supplied
- rework exit functions: one for error, one for success
2021-05-07 15:32:46 -06:00
Asif Bacchus
cf820d777d refactor: ip4 and ip6 mutual override
- use the most recently specified option
2021-05-07 14:03:52 -06:00
Asif Bacchus
1ede37961f fix: turn off ip4 when ip6 selected 2021-05-07 14:00:32 -06:00
Asif Bacchus
5a477d6c86 feature: initial logging, add curl check 2021-05-07 13:59:07 -06:00
Asif Bacchus
911526dd08 struct: skeleton of POSIX script version 2021-05-07 13:30:51 -06:00
Asif Bacchus
2e978050b6 Added spacing for readability 2018-10-01 22:25:54 -06:00
Asif Bacchus
ba2b728e88 Added section about detail level in service config file 2018-10-01 22:25:18 -06:00
Asif Bacchus
7470b2c1fa Added commented out Detail setting in the service defintion file 2018-10-01 22:20:17 -06:00
Asif Bacchus
a43a0bf80e Updated to include logrotate instructions and new TOC 2018-09-28 00:07:41 -06:00
Asif Bacchus
2db482e800 Created sample logrotate config file 2018-09-27 23:52:03 -06:00
Asif Bacchus
7f90f496a9 Cleaned up TOC 2018-09-27 19:31:09 -06:00
Asif Bacchus
fe9b7fc578 Cleaned up markdown code 2018-09-27 19:30:14 -06:00
Asif Bacchus
a901fc7ea2 Proofreading 2018-09-27 19:25:23 -06:00
Asif Bacchus
689f11beba Updated TOC to remove improper headings 2018-09-27 19:01:38 -06:00
Asif Bacchus
0b2668f150 Added auto-generated TOC 2018-09-27 18:55:20 -06:00
Asif Bacchus
35cdd91089 Initial Logwatch integration readme 2018-09-27 18:54:08 -06:00
Asif Bacchus
d9d9e58764 Cleaned up markdown coding 2018-09-27 17:42:43 -06:00
Asif Bacchus
74fab6429a Updated readme to mention separate logwatch readme file. 2018-09-27 17:36:52 -06:00
Asif Bacchus
97c7105cb9 Corrected [INFO] tagging to have '--' prepended for consistency 2018-09-27 17:02:49 -06:00
Asif Bacchus
7f4de4f0f3 Changed REGEXs to look for updated tags in log file 2018-09-27 17:00:48 -06:00
Asif Bacchus
f0bc037416 Updated comments 2018-09-27 16:57:41 -06:00
Asif Bacchus
3b92b2c509 Added all other detail levels 2018-09-27 16:53:23 -06:00
Asif Bacchus
462d081b14 Rewrite logwatch script: changed to PERL instead of BASH.
Initial code, summary only.
2018-09-27 16:40:53 -06:00
Asif Bacchus
47acc2684c Updated Logwatch 'SearchDate' custom script. Renamed it.
Updated notes in LogFile config.
2018-09-26 22:54:14 -06:00
Asif Bacchus
9ba6b40904 Corrected path sample in Logfile group configuration. 2018-09-26 02:05:25 -06:00
Asif Bacchus
9aafb7b023 Updated Logfile group configuration. Include archive and time-format. 2018-09-26 02:04:00 -06:00
Asif Bacchus
657bc1e3ee Created date filter for parsing timestamps in logs 2018-09-26 01:53:16 -06:00
Asif Bacchus
2b9580382f Cleaned up spacing in comments in cfddns Logwatch script 2018-09-26 01:16:20 -06:00
Asif Bacchus
87d3215c70 Initial: Script file Logwatch executes to parse cfddns.log 2018-09-26 01:11:29 -06:00
Asif Bacchus
662879e8a0 Created Logwatch service and logfile location config files 2018-09-26 00:40:25 -06:00
Asif Bacchus
3fd8a66257 Cleaned up code to remove unused variables and quote where needed 2018-09-26 00:35:33 -06:00
Asif Bacchus
07820587d8 Changed colour used for STATUS update.
Fixed typo in "Script Completed" notation.
2018-09-25 18:43:35 -06:00
Asif Bacchus
b49be41577 Fixed spacing typo 2018-09-25 18:41:40 -06:00
Asif Bacchus
c7618c7a4b Changed logfile notation for IP4 vs IP6 hostname list 2018-09-25 18:39:23 -06:00
Asif Bacchus
f8a23992ea Fixed timestamp variable 2018-09-25 18:38:48 -06:00
Asif Bacchus
523c9984a6 Added INFO log tags to hostname lookup list 2018-09-25 18:36:40 -06:00
Asif Bacchus
a09dac147a Updated help text 2018-09-25 18:24:06 -06:00
Asif Bacchus
8a0362a6e1 Updated logging with colour variables and logging tags 2018-09-25 18:17:30 -06:00
Asif Bacchus
92519055fc Reformatted quit function log output 2018-09-25 18:01:29 -06:00
Asif Bacchus
3585490f80 Added formatting variables 2018-09-25 17:55:58 -06:00
Asif Bacchus
356dfc7f21 Removed [SUCCESS] tag from scipt completion notation 2018-09-25 17:49:12 -06:00
Asif Bacchus
1e8ff53075 Replaced repeated timestamp with single variable 2018-09-25 17:47:30 -06:00