Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Env Events, Notifiers and more #1

Merged
merged 32 commits into from
Aug 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
8dbc5ca
Initial env events impl + some rework
Theldus Jul 16, 2024
0294051
Rework logging
Theldus Jul 16, 2024
8b21301
Rework fifo and socket routines
Theldus Jul 17, 2024
f6e3c09
Make IWYU happy
Theldus Jul 17, 2024
204ccea
Initial handling for environment events
Theldus Jul 18, 2024
6779c5f
Setup proper static events with env vars too
Theldus Jul 19, 2024
eb0c701
Bug Fix: Missing clilen initialization
Theldus Jul 24, 2024
6145053
Bug Fix: Only trigger static events if they're enabled
Theldus Jul 24, 2024
154061e
Add regex support
Theldus Jul 24, 2024
5635cfa
Add regex for static events too
Theldus Jul 25, 2024
426ed60
Add docs
Theldus Jul 26, 2024
03d58ec
Initial notifiers rework
Theldus Jul 26, 2024
5ba10f0
Initial Slack support
Theldus Jul 27, 2024
13d73b3
Rework string manipulation & minor improvements on webhook events
Theldus Jul 28, 2024
596371a
Initial setup for Teams & Discord
Theldus Jul 28, 2024
822ae03
Major rework on notifiers structure
Theldus Jul 28, 2024
31ded2c
Add four generic webhook notifiers
Theldus Jul 28, 2024
1d526ee
Add POSIX Reg Extended tool
Theldus Aug 1, 2024
9a42802
Add forward mode
Theldus Aug 3, 2024
92b7285
Bug Fix: Replace printf to log_msg
Theldus Aug 3, 2024
e8a7f5f
Remove alertik.h header
Theldus Aug 4, 2024
aac1d0e
Add notifiers description
Theldus Aug 4, 2024
abacb07
notifiers
Theldus Aug 4, 2024
c7624a7
Add environment events on README
Theldus Aug 4, 2024
18ccb1c
Add static events on README
Theldus Aug 5, 2024
2b70599
Add forward mode on README
Theldus Aug 6, 2024
a2c3754
Update README.md
Theldus Aug 6, 2024
4e82617
Add Logging description on README
Theldus Aug 6, 2024
042ac4c
Update README.md
Theldus Aug 6, 2024
45bf9d2
Update README.md
Theldus Aug 6, 2024
2b596cd
Update README.md
Theldus Aug 6, 2024
21b1ab7
Add -O2 flag
Theldus Aug 7, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
#

CC ?= cc
CFLAGS += -Wall -Wextra
CFLAGS += -Wall -Wextra -O2
LDLIBS += -pthread -lcurl
STRIP = strip
VERSION = v0.1
OBJS = alertik.o events.o env_events.o notifiers.o log.o syslog.o str.o

ifeq ($(LOG_FILE),yes)
CFLAGS += -DUSE_FILE_AS_LOG
Expand All @@ -32,7 +33,7 @@ CFLAGS += -DGIT_HASH=\"$(GIT_HASH)\"
all: alertik Makefile
$(STRIP) --strip-all alertik

alertik: alertik.o events.o
alertik: $(OBJS)

clean:
rm -f alertik.o events.o alertik
rm -f $(OBJS) alertik
373 changes: 304 additions & 69 deletions README.md

Large diffs are not rendered by default.

Loading