On 2020-12-15, Matthews, Travis Oakes <travis_matth...@unc.edu> wrote: > --_000_BL0PR03MB41632B2FCAF6C2043CA2108189C60BL0PR03MB4163namp_ > Content-Type: text/plain; charset="us-ascii" > Content-Transfer-Encoding: quoted-printable > > Hi, > > I've been using the check_snmp plugin, and can't quite figure out how to de= > fine different thresholds for critical and warning. I see the help has thi= > s > > -w, --warning=3DTHRESHOLD(s) > Warning threshold range(s) > -c, --critical=3DTHRESHOLD(s) > Critical threshold range(s) > > I don't see any examples of what the formatting is supposed to look like to= > define things though? I have some checks that need to use something like = > -w > 1000 or -w < 1000 etc and don't understand how to do that. Can you p= > lease advise on the formatting for setting the critical and warning thresho= > lds.
This is standard for thresholds in the various monitoring-plugins tools; check_snmp --help includes this: - See: https://www.monitoring-plugins.org/doc/guidelines.html#THRESHOLDFORMAT for THRESHOLD format and examples.