Werk #17670 · Nov 26, 26
Check SMB share access: Monitor multiple shares with one rule
You can now monitor several SMB shares of a server with a single rule. The rule set Check SMB share access follows the structure of the rule sets for HTTP and certificate checks. If a server exports many shares, you no longer need one rule per share.
How it works
Under SMB shares to monitor, you add one entry per share. Each entry creates its own service. The Standard settings for all shares hold the NetBIOS name, IP address, TCP port, workgroup, credentials and the levels for used disk space. They apply to every share. If one share needs something different, for example other credentials or levels, set it under Individual settings for this share. Each option you set there replaces the corresponding standard option. If the standard settings carry credentials but one share allows guest access, choose No authentication under Authorization for that share.
By default, the service name is SMB Share <share>. The name field is prefilled
with the macro $SHARE$, so you enter the share name only once. You can also
use host macros such as $HOSTNAME$, and you can drop the prefix SMB Share.
Every share in a rule must result in a unique service name.
Existing rules
Existing rules are migrated automatically during the update. Each one becomes a rule with a single share, and its settings move to the standard settings. The service names stay the same, so you keep the history of your services.
If you read or write these rules via the REST API, note that the rule value now
uses the new structure with endpoints and standard_settings.
Details
- Class:
- New Features
- Level:
- Prominent
- Component:
- Checks
- Versions:
- 3.0.0b1Not yet releasedAll Editions