Skip to content

Instantly share code, notes, and snippets.

@VerosK
Created June 13, 2018 07:52
Show Gist options
  • Save VerosK/fcf409e0f27f4e14afd71ce8ab0421b4 to your computer and use it in GitHub Desktop.
Save VerosK/fcf409e0f27f4e14afd71ce8ab0421b4 to your computer and use it in GitHub Desktop.
npcd.confd on CentOS 7
user = nagios
group = icinga
log_type = file
log_file = /var/log/pnp4nagios/npcd.log
max_logfile_size = 10485760
log_level = 0
perfdata_spool_dir = /var/spool/icinga2/perfdata
perfdata_file_run_cmd = /usr/libexec/pnp4nagios/process_perfdata.pl
perfdata_file_run_cmd_args = --bulk
identify_npcd = 1
npcd_max_threads = 1
sleep_time = 15
load_threshold = 2.0
pid_file=/var/run/npcd.pid
perfdata_file = /var/log/pnp4nagios/perfdata.dump
perfdata_spool_filename = perfdata
perfdata_file_processing_interval = 15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment