Compare commits

...

5 Commits
v1.1 ... main

Author SHA1 Message Date
89d249810b
Correct manpage source suffix
Source file is in the POD format, correctly reflect this in the file
name.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2024-08-29 17:42:12 +02:00
242795def2
Version 1.2
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2024-08-29 15:00:46 +02:00
cd6e797d5e
Quoting in Makefile
Avoid word splitting and hence potential abuse of variables.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2024-08-29 14:57:34 +02:00
9aa266fdc6
Correct exit code documentation
0/1 were mixed up.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2024-08-29 14:51:17 +02:00
7b20cf87d0
Link history in README
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2024-08-29 04:33:32 +02:00
4 changed files with 12 additions and 10 deletions

View File

@ -16,12 +16,12 @@ usage:
@echo 'Available targets: "install", "uninstall"'
install:
install -d $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man1 $(DESTDIR)$(SYSCONFDIR)/apparmor.d
install buddycheck.pl $(DESTDIR)$(BINDIR)/buddycheck
pod2man buddycheck.1 > $(DESTDIR)$(MANDIR)/man1/buddycheck.1
sed s?__BINDIR__?$(BINDIR)? buddycheck.apparmor > $(DESTDIR)$(SYSCONFDIR)/apparmor.d/buddycheck
install -d '$(DESTDIR)$(BINDIR)' '$(DESTDIR)$(MANDIR)/man1' '$(DESTDIR)$(SYSCONFDIR)/apparmor.d'
install buddycheck.pl '$(DESTDIR)$(BINDIR)/buddycheck'
pod2man buddycheck.pod > '$(DESTDIR)$(MANDIR)/man1/buddycheck.1'
sed 's?__BINDIR__?$(BINDIR)?' buddycheck.apparmor > '$(DESTDIR)$(SYSCONFDIR)/apparmor.d/buddycheck'
uninstall:
rm $(BINDIR)/buddycheck
rm $(MANDIR)/man1/buddycheck.1
rm $(SYSCONFDIR)/apparmor.d/buddycheck
rm '$(BINDIR)/buddycheck'
rm '$(MANDIR)/man1/buddycheck.1'
rm '$(SYSCONFDIR)/apparmor.d/buddycheck'

View File

@ -1,2 +1,4 @@
BuddyCheck is a tool querying the systemd health through Prometheus Node Exporter.
Reference buddycheck(1) for details.
Idea originated in https://progress.opensuse.org/issues/165935.

View File

@ -23,9 +23,9 @@
=head1 EXIT CODES
0 HTTP server responded with metric, and result is 0
0 HTTP server responded with metric, and the value is 1
111 HTTP server did not respond
125 HTTP server responded with metric, result is not 1
125 HTTP server responded with metric, but value is not 1
255 HTTP response was not 200 or required variable was not set
=head1 AUTHOR

View File

@ -19,7 +19,7 @@
%bcond_without apparmor
Name: buddycheck
Version: 1.1
Version: 1.2
Release: 0
Summary: Health check
License: EUPL-1.2