Scan devices with a disk check assigned to automatically update
%DISK% host variables.
/opt/opsview/support-scripts/bin/setup_disk_monitoring setup_disk_monitoring [-?hV] setup_disk_monitoring [--username <username>] [--password [password]] [--reload] setup_disk_monitoring [-u <username>] [-p [password]] [-r] setup_disk_monitoring [-u <username>] [-p [password]] [-r] [-H <hostname>][-H <hostgroup>]
Performs a search of all service checks configured with a
%DISK% variable in the plugin arguments. Any host that has such a service check assigned either directly or via a host template has a disk scan performed against it. The results of the disk scan are used to populate
%DISK% variables of each host.
If a host or host group is provided then the disk scans are limited to those devices (the search for all service checks is still performed first). Any host that does not have a suitable service check assigned either directly or indirectly is be ignored.
The disk scan uses
check_disk or an SNMP check to gather filesystem information.
The “username” and “password” can be specified in the configuration file along with any filesystems that may need to be excluded (either across all devices or specific ones).
||Display help text|
||Enable debugging mode (using more than once increases verbosity, or specify a level explicitly to a maximum of level 8)|
||Show version information|
||Limit the updates to the named hosts or members of the named parent hostgroup|
||If changes have been made, perform an Apply changes|
||Example configuration file|
||Optional configuration file|