Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
pnp4nagios
> pnp4nagios-nagios-pnp.cfg
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File pnp4nagios-nagios-pnp.cfg of Package pnp4nagios (Revision 7)
Currently displaying revision
7
,
show latest
# 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$ }