{ lib, ... }: { options = { warningThresholdSentBytes = lib.mkOption { type = lib.types.nullOr lib.types.ints.positive; default = null; description = "Sent bytes per second threshold for a warning alert to be sent. If null, this threshold is disabled and not checked."; }; criticalThresholdSentBytes = lib.mkOption { type = lib.types.nullOr lib.types.ints.positive; default = null; description = "Sent bytes per second threshold for a critical alert to be sent. If null, this threshold is disabled and not checked."; }; warningThresholdRecvBytes = lib.mkOption { type = lib.types.nullOr lib.types.ints.positive; default = null; description = "Received bytes per second threshold for a warning alert to be sent. If null, this threshold is disabled and not checked."; }; criticalThresholdRecvBytes = lib.mkOption { type = lib.types.nullOr lib.types.ints.positive; default = null; description = "Received bytes per second threshold for a critical alert to be sent. If null, this threshold is disabled and not checked."; }; warningThresholdCombBytes = lib.mkOption { type = lib.types.nullOr lib.types.ints.positive; default = null; description = "Combined (sent + received) bytes per second threshold for a warning alert to be sent. If null, this threshold is disabled and not checked."; }; criticalThresholdCombBytes = lib.mkOption { type = lib.types.nullOr lib.types.ints.positive; default = null; description = "Combined (sent + received) bytes per second threshold for a critical alert to be sent. If null, this threshold is disabled and not checked."; }; }; }