Compare commits

..

No commits in common. "main" and "v1.1" have entirely different histories.
main ... v1.1

4 changed files with 10 additions and 12 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.pod > '$(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.1 > $(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,4 +1,2 @@
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 the value is 1
0 HTTP server responded with metric, and result is 0
111 HTTP server did not respond
125 HTTP server responded with metric, but value is not 1
125 HTTP server responded with metric, result 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.2
Version: 1.1
Release: 0
Summary: Health check
License: EUPL-1.2