FreeBSD Bugzilla – Attachment 251573 Details for
Bug 279860
[NEW PORT] net-mgmt/check_wg: Icinga2 health check of wireguard peers, using output of wg(8)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
check_wg.diff
check_wg.diff (text/plain), 1.73 KB, created by
Denis Shaposhnikov
on 2024-06-19 14:40:42 UTC
(
hide
)
Description:
check_wg.diff
Filename:
MIME Type:
Creator:
Denis Shaposhnikov
Created:
2024-06-19 14:40:42 UTC
Size:
1.73 KB
patch
obsolete
>diff --git net-mgmt/check_wg/Makefile net-mgmt/check_wg/Makefile >new file mode 100644 >index 0000000..92ff975 >--- /dev/null >+++ net-mgmt/check_wg/Makefile >@@ -0,0 +1,25 @@ >+PORTNAME= check_wg >+DISTVERSIONPREFIX= v >+DISTVERSION= 0.0.7 >+CATEGORIES= net-mgmt >+ >+MAINTAINER= dsh@bamus.cz >+COMMENT= Icinga2 health check of wireguard peers, using output of wg(8) >+WWW= https://github.com/dsh2dsh/${PORTNAME} >+ >+LICENSE= MIT >+LICENSE_FILE= ${WRKSRC}/LICENSE >+ >+USES= go:1.22,modules >+ >+GO_MODULE= github.com/dsh2dsh/${PORTNAME} >+GO_BUILDFLAGS= -ldflags="${STRIP} -w -X ${GO_MODULE}/main.version=${DISTVERSIONFULL}" >+ >+PLIST_FILES= libexec/nagios/${PORTNAME} >+ >+do-install: >+ ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios >+ ${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/${PORTNAME} \ >+ ${STAGEDIR}${PREFIX}/libexec/nagios/ >+ >+.include <bsd.port.mk> >diff --git net-mgmt/check_wg/distinfo net-mgmt/check_wg/distinfo >new file mode 100644 >index 0000000..ad28467 >--- /dev/null >+++ net-mgmt/check_wg/distinfo >@@ -0,0 +1,5 @@ >+TIMESTAMP = 1716219169 >+SHA256 (go/net-mgmt_check_wg/check_wg-v0.0.7/v0.0.7.mod) = 70bf440bb65daba36df9cf87cb3314523bb0435053cd72ff796b932cd3790809 >+SIZE (go/net-mgmt_check_wg/check_wg-v0.0.7/v0.0.7.mod) = 423 >+SHA256 (go/net-mgmt_check_wg/check_wg-v0.0.7/v0.0.7.zip) = f4f19a8cc0090d92323a4ebeb6ded085f7d1614e18f6ab1f7d67db0b41a0d2ee >+SIZE (go/net-mgmt_check_wg/check_wg-v0.0.7/v0.0.7.zip) = 18637 >diff --git net-mgmt/check_wg/pkg-descr net-mgmt/check_wg/pkg-descr >new file mode 100644 >index 0000000..c60d129 >--- /dev/null >+++ net-mgmt/check_wg/pkg-descr >@@ -0,0 +1,4 @@ >+Icinga2 health check of wireguard peers, using output of wg(8). >+ >+It analizes latest handshake of every peer and outputs warning or critical >+status if any of them is greater of given threshold.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 279860
: 251573