Puppet Class: raid::perccli
- Defined in:
- modules/raid/manifests/perccli.pp
Overview
SPDX-License-Identifier: Apache-2.0 Dell PowerEdge RAID Controler
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'modules/raid/manifests/perccli.pp', line 3
class raid::perccli {
include raid
ensure_packages('perccli')
nrpe::plugin { 'get-raid-status-perccli':
source => 'puppet:///modules/raid/get-raid-status-perccli.py';
}
nrpe::check { 'get_raid_status_perccli':
command => '/usr/local/lib/nagios/plugins/get-raid-status-perccli',
sudo_user => 'root',
}
nrpe::monitor_service { 'raid_perc_raid':
description => 'Dell PowerEdge RAID Controller',
nrpe_command => '/usr/local/lib/nagios/plugins/get-raid-status-perccli',
sudo_user => 'root',
check_interval => $raid::check_interval,
retry_interval => $raid::retry_interval,
event_handler => "raid_handler!perccli!${::site}",
notes_url => 'https://wikitech.wikimedia.org/wiki/PERCCli#Monitoring',
}
}
|