Configuring OCP Daemon
Yungwei Chen
yungwei at resolvity.com
Wed Aug 26 01:05:53 CEST 2009
I figured out that they should be placed in nagios.cfg.
From: Yungwei Chen
Sent: Tuesday, August 25, 2009 6:03 PM
To: 'nagios-users at lists.sourceforge.net'
Subject: Configuring OCP Daemon
Hi,
I'm interested in using OCP Daemon to improve performance of sending check results from one nagios process to another.
My question is : which file shoud I store the following settings? Thanks.
# OCP daemon required configuration.
# Files to which Nagios will write data. In this setup
# they will be named pipes.
host_perfdata_file=/var/nagios/host-perfdata.fifo
service_perfdata_file=/var/nagios/service-perfdata.fifo
# This is exactly what will be sent to send_NSCA. Do not change it.
host_perfdata_file_template=$HOSTNAME$\t$HOSTSTATEID$\t$HOSTOUTPUT$|$HOSTPERFDATA$
service_perfdata_file_template=$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATEID$\t$SERVICEOUTPUT$|$SERVICEPERFDATA$
# If using Nagios 2, use the 'w' mode
host_perfdata_file_mode=p
service_perfdata_file_mode=p
# We don't want to process any command, so set this to 0
host_perfdata_file_processing_interval=0
service_perfdata_file_processing_interval=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090825/2b99871e/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list