Files
monasca-agent/conf.d/nagios_wrapper.yaml.example
David Schroeder bac28480bd Remove 'detail' dimension, fix a couple bugs
The 'detail' dimension in http_check is not actually an appropriate
dimension since it does not contain data which _identifies_ a metric.
This data is valuable, though, and will be captured and made available
in a future enhancement.

Bug fixes:
- Fix unix.py crash on EFI mountpoints which return 0 available inodes
- Rename 'service_name' to 'name' in nagios_wrapper for ServicesCheck
  compatibility
- Update nagios_wrapper YAML example for naming convention

Change-Id: I44877a856fac84f54ca764a79e75ace9f90d9302
2014-09-17 15:21:39 -06:00

24 lines
868 B
Plaintext

init_config:
# Directories where Nagios checks (scripts, programs) may live (optional)
# check_path: /usr/lib/nagios/plugins:/usr/local/bin/nagios
# Where to store last-run timestamps for each check (required)
# temp_file_path: /dev/shm/
# List a check name under 'name' and the full command-line
# under 'check_command'. If the command exists in 'check_path' above,
# it is not necessary to specify the full path.
instances:
# - name: nagios.load
# check_command: check_load -r -w 2,1.5,1 -c 10,5,4
# - name: nagios.disk
# check_command: check_disk -w 15\% -c 5\% -A -i /srv/node
# check_interval: 300
# - name: nagios.swap
# check_command: /usr/lib/nagios/plugins/check_swap -w 50\% -c 10\%
# check_interval: 120
# dimensions: { 'group': 'memory' }