..::lib::Smok...ers::CheckLoss(3)

πŸ’… ..::lib::Smok...ers::CheckLoss(3) β€” SmokePing's matcher era ✨

okay so this whole thing lives in the SmokePing manual, section 3, and bestie... it's a matcher page. let's get into it 🫢


🌸 NAME 🌸

Smokeping::matchers::CheckLoss β€” the edge triggered alert that literally sits there checking that your loss stays under a value for x number of samples. no cap, that's the whole job πŸ’–


✨ DESCRIPTION ✨

okay so you call the matcher like this, and please copy it exactly because the vibes are fragile:

 type = matcher
 edgetrigger = yes
 pattern =  CheckLoss(l=>loss to check against,x=>num samples required for a match)

the way that this works is so iconic honestly β€” it creates a matcher that checks for l loss or greater over x samples before raising, and then it will hold the alert until it's seen x samples under l before clearing πŸŽ€

so like, to recap bestie: alert goes up when loss β‰₯ l for x samples, alert goes down when loss < l for x samples. main character hysteresis energy, periodt πŸ’…


Copyright (c) 2006 Dylan C Vanderhoof, Semaphore Corporation πŸ¦‹


🌈 LICENSE 🌈

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. 🧚

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. ⭐

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. πŸ“

fr fr read the license, it's giving legally binding and we respect her πŸ’œ

πŸ’– AUTHOR πŸ’–

Dylan Vanderhoof <dylanv@semaphore.com> 🌸


and that's the page bestie! ✨ shipped as version 2.9.0, dated 2025-06-30 β€” go forth and monitor your packet loss, you've got this πŸ’…πŸ¦‹

πŸ“¦ where this page comes from