pnp4nagios/sample-config/misccommands.cfg-sample.in
2017-05-20 15:26:21 +02:00

45 lines
1.2 KiB
Plaintext

#
# definitions for PNP processing commands
#
# please uncomment the appropriate definitions and make sure
# that there aren't duplicate entries in your config
#
# Synchronous mode
#
#define command {
# command_name process-service-perfdata
# command_line @PERL@ @libexecdir@/process_perfdata.pl
#}
#
#define command {
# command_name process-host-perfdata
# command_line @PERL@ @libexecdir@/process_perfdata.pl -d HOSTPERFDATA
#}
#
# Bulk mode
#
#define command {
# command_name process-service-perfdata-file
# command_line @libexecdir@/process_perfdata.pl --bulk @localstatedir@/service-perfdata
#}
#define command {
# command_name process-host-perfdata-file
# command_line @libexecdir@/process_perfdata.pl --bulk @localstatedir@/host-perfdata
#}
#
# Bulk with NPCD mode
#
#define command {
# command_name process-service-perfdata-file
# command_line /bin/mv @localstatedir@/service-perfdata @PERFDATA_SPOOL_DIR@/service-perfdata.$TIMET$
#}
#define command {
# command_name process-host-perfdata-file
# command_line /bin/mv @localstatedir@/host-perfdata @PERFDATA_SPOOL_DIR@/host-perfdata.$TIMET$
#}