Page MenuHomeFreeBSD

net-mgmt/simplomon: NEW PORT - radically simple availability monitoring
Needs ReviewPublic

Authored by dch on Mar 7 2025, 10:42 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jun 25, 9:15 PM
Unknown Object (File)
Mon, Jun 23, 8:06 PM
Unknown Object (File)
Sat, Jun 21, 3:59 AM
Unknown Object (File)
Fri, Jun 20, 4:24 PM
Unknown Object (File)
Fri, Jun 20, 2:53 PM
Unknown Object (File)
Thu, Jun 19, 6:46 PM
Unknown Object (File)
Thu, Jun 19, 4:13 AM
Unknown Object (File)
Wed, Jun 18, 2:37 PM
Subscribers

Details

Reviewers
igoro
Summary
  • basic website checks, including TLS expiration
  • comprehensive DNS & DNSSEC monitoring

Alpha from git tag, ping functionality is broken on FreeBSD

Sponsored by: SkunkWerks, GmbH

Test Plan

works on amd64 & arm64 poudriere OK 14 & 15.

I'd love some advice on making this a fully static build apart from base libraries,
as its a monitoring tool, I have mixed results so far.

$ ldd /usr/local/bin/simplomon
/usr/local/bin/simplomon:
**      libfmt.so.10 => /usr/local/lib/libfmt.so.10 (0x22f233d44000)
**      libbrotlidec.so.1 => /usr/local/lib/libbrotlidec.so.1 (0x22f234011000)
**      libbrotlienc.so.1 => /usr/local/lib/libbrotlienc.so.1 (0x22f234e7d000)
        libm.so.5 => /lib/libm.so.5 (0x22f235b94000)
**      libssh2.so.1 => /usr/local/lib/libssh2.so.1 (0x22f237353000)
**      libunistring.so.5 => /usr/local/lib/libunistring.so.5 (0x22f23810a000)
        libthr.so.3 => /lib/libthr.so.3 (0x22f2361ea000)
**      libsqlite3.so.0 => /usr/local/lib/libsqlite3.so.0 (0x22f238f07000)
        libc++.so.1 => /lib/libc++.so.1 (0x22f2394b8000)
        libcxxrt.so.1 => /lib/libcxxrt.so.1 (0x22f239766000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x22f23988e000)
        libc.so.7 => /lib/libc.so.7 (0x22f239d98000)
 **     libbrotlicommon.so.1 => /usr/local/lib/libbrotlicommon.so.1 (0x22f23b027000)
        libcrypto.so.30 => /lib/libcrypto.so.30 (0x22f23b075000)
        libz.so.6 => /lib/libz.so.6 (0x22f23b56d000)
        libsys.so.7 => /lib/libsys.so.7 (0x22f23c081000)
        [vdso] (0x22f233571000)

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 62852
Build 59736: arc lint + arc unit

Event Timeline

dch requested review of this revision.Mar 7 2025, 10:42 AM
dch created this revision.

fix CURRENT, thanks igoro

This revision is now accepted and ready to land.Mar 10 2025, 10:47 AM

add README and pkg-message

This revision now requires review to proceed.Mar 10 2025, 10:50 AM
diizzy added inline comments.
net-mgmt/simplomon/Makefile
27

We can't use version in tree?

31

MESON_ARGS= and does that mean all deps are static?

dch marked an inline comment as done.Mar 12 2025, 4:32 PM
dch added inline comments.
net-mgmt/simplomon/Makefile
27

not yet, but I hope to fix that eventually. The in-tree
port doesn't have whatever meson's wrap tools require, to correctly identify it.

31

It should do, but evidently doesn't result in that.
I would like to fix that, not good if you pkg upgrade dependencies, and your monitoring breaks
because of that.

Suggestions welcomed on why that might be the case.

net-mgmt/simplomon/Makefile
31

Uhm.... no, that clearly violates the ports tree policies.
https://docs.freebsd.org/en/books/porters-handbook/book/#bundled-libs-practices