# # 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/local/bin/perl /usr/local/libexec/process_perfdata.pl #} # #define command { # command_name process-host-perfdata # command_line /usr/local/bin/perl /usr/local/libexec/process_perfdata.pl -d HOSTPERFDATA #} # # Bulk mode # #define command { # command_name process-service-perfdata-file # command_line /usr/local/libexec/process_perfdata.pl --bulk /var/log/service-perfdata #} #define command { # command_name process-host-perfdata-file # command_line /usr/local/libexec/process_perfdata.pl --bulk /var/log/host-perfdata #} # # Bulk with NPCD mode # #define command { # command_name process-service-perfdata-file # command_line /bin/mv /var/log/service-perfdata /var/spool/nagios/pnp/perfspool/service-perfdata.$TIMET$ #} #define command { # command_name process-host-perfdata-file # command_line /bin/mv /var/log/host-perfdata /var/spool/nagios/pnp/perfspool/host-perfdata.$TIMET$ #}