Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
89d249810b | |||
242795def2 | |||
cd6e797d5e | |||
9aa266fdc6 | |||
7b20cf87d0 |
14
Makefile
14
Makefile
@ -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'
|
||||
|
@ -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.
|
||||
|
@ -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
|
@ -19,7 +19,7 @@
|
||||
|
||||
%bcond_without apparmor
|
||||
Name: buddycheck
|
||||
Version: 1.1
|
||||
Version: 1.2
|
||||
Release: 0
|
||||
Summary: Health check
|
||||
License: EUPL-1.2
|
||||
|
Loading…
x
Reference in New Issue
Block a user