/usr/share/doc/pnp4nagios/examples/misccommands.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 | #
# 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 /usr/bin/perl /usr/lib/pnp4nagios/libexec/process_perfdata.pl
#}
#
#define command {
# command_name process-host-perfdata
# command_line /usr/bin/perl /usr/lib/pnp4nagios/libexec/process_perfdata.pl -d HOSTPERFDATA
#}
#
# Bulk mode
#
#define command{
# command_name process-service-perfdata-file
# command_line /usr/lib/pnp4nagios/libexec/process_perfdata.pl --bulk=/var/log/pnp4nagios/service-perfdata
#}
#define command{
# command_name process-host-perfdata-file
# command_line /usr/lib/pnp4nagios/libexec/process_perfdata.pl --bulk=/var/log/pnp4nagios/host-perfdata
#}
#
# Bulk with NPCD mode
#
#define command{
# command_name process-service-perfdata-file
# command_line /bin/mv /var/log/pnp4nagios/service-perfdata /var/spool/pnp4nagios/service-perfdata.$TIMET$
#}
#define command{
# command_name process-host-perfdata-file
# command_line /bin/mv /var/log/pnp4nagios/host-perfdata /var/spool/pnp4nagios/host-perfdata.$TIMET$
#}
|