Code

control: Improved description.
[pkg-pnp4nagios.git] / debian / patches / fix-npcd-path
1 Index: pkg-pnp4nagios/sample-config/pnp/npcd.cfg-sample.in
2 ===================================================================
3 --- pkg-pnp4nagios.orig/sample-config/pnp/npcd.cfg-sample.in    2011-01-26 14:33:43.595054016 +0100
4 +++ pkg-pnp4nagios/sample-config/pnp/npcd.cfg-sample.in 2011-01-26 14:36:53.351054016 +0100
5 @@ -76,7 +76,7 @@
6  # perfdata_spool_dir = </path/to/directory/>
7  #
8  
9 -perfdata_spool_dir = @PERFDATA_SPOOL_DIR@/
10 +perfdata_spool_dir = @PERFDATA_SPOOL_DIR@/npcd/
11  
12  
13  # Execute following command for each found file
14 @@ -163,7 +163,7 @@
15  # perfdata_file = </path/to/file>
16  #
17  
18 -perfdata_file = @localstatedir@/perfdata.dump
19 +perfdata_file = @PERFDATA_SPOOL_DIR@/nagios/perfdata.dump
20  
21  
22  # perfdata_spool_filename - declare the destination