@@ -0,0 +1,35 @@
+# Default mode
+define command {
+ command_name process-service-perfdata
+ command_line $USER1$/process_perfdata.pl
+}
+
+define command {
+ command_name process-host-perfdata
+ command_line $USER1$/process_perfdata.pl -d HOSTPERFDATA
+}
+
+# Bulk mode
+define command {
+ command_name perfdata-service-pnp-bulk
+ command_line $USER1$/process_perfdata.pl --bulk=/var/spool/nagios-pnp/service-perfdata
+# If you are using npcd to process perfdata, disable the line above
+# and enable the command_line line below.
+#
+# NPCD monitors the spool directory and passes the file names to
+# process_perfdata.pl. This way processing of performance data is completely
+# decoupled from nagios.
+# command_line /bin/mv /var/spool/nagios-pnp/service-perfdata /var/spool/nagios-pnp/service-perfdata.$TIMET$
+}
+
+define command {
+ command_name perfdata-host-pnp-bulk
+ command_line $USER1$/process_perfdata.pl --bulk=/var/spool/nagios-pnp/host-perfdata
+# If you are using npcd to process perfdata, disable the line above
+# and enable the command_line line below.
+#
+# NPCD monitors the spool directory and passes the file names to
+# process_perfdata.pl. This way processing of performance data is completely
+# decoupled from nagios.
+# command_line /bin/mv /var/spool/nagios-pnp/host-perfdata /var/spool/nagios-pnp/host-perfdata.$TIMET$
+}
|