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"' @echo 'Available targets: "install", "uninstall"'
install: install:
install -d '$(DESTDIR)$(BINDIR)' '$(DESTDIR)$(MANDIR)/man1' '$(DESTDIR)$(SYSCONFDIR)/apparmor.d' install -d $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man1 $(DESTDIR)$(SYSCONFDIR)/apparmor.d
install buddycheck.pl '$(DESTDIR)$(BINDIR)/buddycheck' install buddycheck.pl $(DESTDIR)$(BINDIR)/buddycheck
pod2man buddycheck.pod > '$(DESTDIR)$(MANDIR)/man1/buddycheck.1' pod2man buddycheck.1 > $(DESTDIR)$(MANDIR)/man1/buddycheck.1
sed 's?__BINDIR__?$(BINDIR)?' buddycheck.apparmor > '$(DESTDIR)$(SYSCONFDIR)/apparmor.d/buddycheck' sed s?__BINDIR__?$(BINDIR)? buddycheck.apparmor > $(DESTDIR)$(SYSCONFDIR)/apparmor.d/buddycheck
uninstall: uninstall:
rm '$(BINDIR)/buddycheck' rm $(BINDIR)/buddycheck
rm '$(MANDIR)/man1/buddycheck.1' rm $(MANDIR)/man1/buddycheck.1
rm '$(SYSCONFDIR)/apparmor.d/buddycheck' rm $(SYSCONFDIR)/apparmor.d/buddycheck

View File

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

View File

@ -23,9 +23,9 @@
=head1 EXIT CODES =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 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 255 HTTP response was not 200 or required variable was not set
=head1 AUTHOR =head1 AUTHOR

View File

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