Skip to content

serverzone/drive-tester

Repository files navigation

drive-tester

Build Status

Drive tester utility.

Runtime requirements

  • debian stretch
  • PHP >=7.2
  • puppet 4.8

Instalation

apt-get install git
git clone https://github.com/serverzone/drive-tester.git
./drive-tester/bin/setup.sh

Update

git pull origin master
bin/setup.sh

Configuration

Utility use configuration from file src/config.local.neon.

  1. Copy src/config.local.neon.template to src/config.local.neon.
  2. Set up configuration parameters.

Parameters

  • logFilename - Log file name with path.

Services

Store process outputs to file

To enable/disable store processs ouptut to file uncomment/comment FileStorage service and specify store directory.

    - App\Event\Subscriber\StoreProcessOutput\FileStorage('%appDir%/../data')

Mattermost notification

To enable/disable send notification to Mattermost uncomment/comment MattermostWebHook service and specify url value.

    - App\Event\Subscriber\SendNotification\MattermostWebHook('https://mattermost.my-company.net/hooks/xxx')

Usage

Run with drive autodetection:

bin/console.php drive:test -a

Run for specified drive(s):

bin/console.php drive:test /dev/sdb /dev/sdc

Note: Not run for system drive!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages