Differences of certain parameters set in Nagios.cfg

Jochen Bern Jochen.Bern at LINworks.de
Thu Nov 25 18:20:56 CET 2010


On 11/25/2010 03:51 PM, Deborah Martin wrote:
> I'm using the parameter "service_perfdata_file_processing_command" to
> process performance data for pnp4nagios. The first parameter
> "service_perfdata_command" is commented out. But could I still use that
> first parameter?

Yes. I'm running n2rrd and PNP (bulk mode with npcd) in parallel while
the users are making up their minds whether they want to switch over:


# grep '^service.*command' nagios.cfg
service_perfdata_command=process-service-perfdata
service_perfdata_file_processing_command=process-service-perfdata-file


# grep -A 1 process-service ../var/objects.cache
        command_name    process-service-perfdata
        command_line    /usr/local/n2rrd/bin/n2rrd.pl -N
"/usr/local/nagios/var/spool/status.dat" -C '$SERVICECHECKCOMMAND$' -c
/usr/local/n2rrd/etc/n2rrd.conf -e $SERVICEEXECUTIONTIME$ -l
$SERVICELATENCY$ -T $LASTSERVICECHECK$ -H $HOSTNAME$ -s "$SERVICEDESC$"
-o "$SERVICEPERFDATA$"
--
        command_name    process-service-perfdata-file
        command_line    /bin/mv
/usr/local/pnp4nagios/var/spool/incoming/service-perfdata
/usr/local/pnp4nagios/var/spool/service-perfdata.$TIMET$


Kind regards,
								J. Bern
-- 
Jochen Bern, Systemingenieur --- LINworks GmbH <http://www.LINworks.de/>
Postfach 100121, 64201 Darmstadt | Robert-Koch-Str. 9, 64331 Weiterstadt
PGP (1024D/4096g) FP = D18B 41B1 16C0 11BA 7F8C DCF7 E1D5 FAF4 444E 1C27
Tel. +49 6151 9067-231, Zentr. -0, Fax -299 - Amtsg. Darmstadt HRB 85202
Unternehmenssitz Weiterstadt, Geschäftsführer Metin Dogan, Oliver Michel

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev




More information about the Developers mailing list