/etc/pnp4nagios/process_perfdata.cfg is in pnp4nagios-bin 0.6.16-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 | # pnp4nagios–0.6.16
# Config File for process_perfdata.pl
#
# More info on RRDtool can be found at www.rrdtool.org
#
# process_perfdata.pl Timeout in seconds
#
TIMEOUT = 15
#
# Use RRDs Perl module
#
USE_RRDs = 1
#
# Path to XML/RRD files
#
RRDPATH = /var/lib/pnp4nagios/perfdata
#
# Location of RRDtool binary
#
RRDTOOL = /usr/bin/rrdtool
#
# Location of PNP config files
#
CFG_DIR = /etc/pnp4nagios
#
# Use a single RRD database per service
# one or more datasources per RRD database
# RRD_STORAGE_TYPE = SINGLE
#
# Use multiple RRD databases per service
# one RRD Database per Datasource.
# RRD_STORAGE_TYPE = MULTIPLE
#
RRD_STORAGE_TYPE = SINGLE
#
# max. interval between samples/updates
#
RRD_HEARTBEAT = 8460
#
# file with RRA options used to create new RRD files
#
RRA_CFG = /etc/pnp4nagios/rra.cfg
#
# interval at which PDPs are generated
#
RRA_STEP = 60
#
# name of the log file
#
LOG_FILE = /var/log/pnp4nagios/perfdata.log
#
# Loglevel 0=silent 1=normal 2=debug
#
LOG_LEVEL = 0
#
# XML encoding
# The supported encodings are ISO-8859-1, UTF-8 and US-ASCII.
# http://www.php.net/xml-parser-create
#
XML_ENC = UTF-8
#
# XML update delay in seconds
# 0 = Update XML Files everytime new data arrives
#
# Use this option to reduce disk I/O
#
XML_UPDATE_DELAY = 0
#
# Use only with rrdtool svn revision 1511+
#
# RRD_DAEMON_OPTS = unix:/tmp/rrdcached.sock
RRD_DAEMON_OPTS =
#
# Spool Directory used for internal statistic
#
STATS_DIR = /var/log/pnp4nagios/stats
#########################################################
# Gearman Worker Config
# Only used while running as gearman worker
#
# How many child processes
#
PREFORK = 1
#
# Gearman server to connect to
#
GEARMAN_HOST = localhost:4730
#
# Restart child process after a given count of requests
#
REQUESTS_PER_CHILD = 10000
# enables or disables encryption. It is strongly
# advised to not disable encryption. Anybody will be
# able to inject packages to your worker.
# Encryption is enabled by default and you have to
# explicitly disable it.
# When using encryption, you will either have to
# specify a shared password with KEY = ...
# Default is 1.
#
ENCRYPTION = 1
# A shared password which will be used for
# encryption of data pakets. Should be at least 8
# bytes long. Maximum length is 32 characters.
#
KEY = should_be_changed
# The shared password will be read from this file.
# Use either key or keyfile. Only the first 32
# characters will be used.
# KEY_FILE = /etc/pnp4nagios/secret.key
|