<feed xmlns='http://www.w3.org/2005/Atom'>
<title>console.git/statuspage/checks/wg-watcher.sh, branch master</title>
<subtitle>Monitor for my server
</subtitle>
<id>http://cgit.dandokmang.com/console.git/atom?h=master</id>
<link rel='self' href='http://cgit.dandokmang.com/console.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://cgit.dandokmang.com/console.git/'/>
<updated>2026-07-01T07:52:22Z</updated>
<entry>
<title>Add pf visibility and a wg-quick watcher check, add a neutral row status</title>
<updated>2026-07-01T07:52:22Z</updated>
<author>
<name>batsumaru</name>
<email></email>
</author>
<published>2026-07-01T07:52:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.dandokmang.com/console.git/commit/?id=a034c6724381b172ba4b6d36357682c44f18b8de'/>
<id>urn:sha1:a034c6724381b172ba4b6d36357682c44f18b8de</id>
<content type='text'>
checks/pf.sh reports pf enabled/disabled, state table usage (warn/down
as it nears the configured limit), and the loaded filter/nat rule
count, then lists each active rule as its own row for at-a-glance
visibility into what's actually being enforced.

Those rule rows use a new "info" status (gray square) rather than
"ok" - they're not a health check on any individual rule, so a green
square there would misleadingly imply otherwise. render.sh maps
info -&gt; gray; anything else still falls back to red.

checks/wg-watcher.sh checks the route-monitor process wg-quick spawns
to react to WAN interface/address changes - it isn't rc.d-managed, so
there's no `service status` for it, hence the new proc_running helper
in lib/common.sh (pgrep -f based).

Co-Authored-By: Claude Sonnet 5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
</feed>
