fuel-plugin-lma-infrastruct.../volumes.yaml
Swann Croiset c21f7232b9 Dedicate a Logical Volume for Nagios
A LV of 20GB is dedicated for Nagios which uses /var/nagios for all its data:
 - object_cache_file
 - status_file
 - temp_file
 - log_file
 - debug_file
 - log_archive_path

Change-Id: I5dc67e6326e21af48c59e3acf7fe31541c5af497
2015-09-11 15:55:34 +02:00

21 lines
513 B
YAML

volumes:
- id: "nagios"
type: "vg"
min_size:
generator: "calc_gb_to_mb"
generator_args: [20]
label: "Nagios data"
volumes:
- mount: "/var/nagios"
type: "lv"
name: "nagios"
file_system: "ext4"
size:
generator: "calc_total_vg"
generator_args: ["nagios"]
volumes_roles_mapping:
infrastructure_alerting:
- {allocate_size: "min", id: "os"}
- {allocate_size: "min", id: "logs"}
- {allocate_size: "min", id: "nagios"}