Nagios3 Fix for service_perfdata_file_processing_command

Hendrik Baecker andurin at process-zero.de
Thu Mar 1 14:30:04 CET 2007


Hi List, hi Ethan,

after playing lots with perfdata commands and so on....

There is a small (I guess) copy & paste error in xdata/xpddefault.c.

######## FIX #########

diff -Naur nagios3-clean/xdata/xpddefault.c nagios3/xdata/xpddefault.c
--- nagios3-clean/xdata/xpddefault.c    2007-02-24 12:09:22.000000000 +0100
+++ nagios3/xdata/xpddefault.c  2007-03-01 14:23:16.000000000 +0100
@@ -297,7 +297,7 @@
                         }

                 /* save the command pointer for later */
- 
xpddefault_host_perfdata_file_processing_command_ptr=temp_command;
+ 
xpddefault_service_perfdata_file_processing_command_ptr=temp_command;
                 }

         /* periodically process the host perfdata file */

Kind Regards,

Hendrik

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV




More information about the Developers mailing list