Package: libnagios-object-perl / 0.21.20-1

use-correct-path-to-status.dat Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Description: Fix the man page to show the path of where Debian's
 Nagios puts its status.dat.
Origin: vendor
Author: Ryan Niebur <ryan@debian.org>
Reviewed-by: Salvatore Bonaccorso <carnil@debian.org>
Last-Update: 2010-12-22
Forwarded: not-needed

--- a/lib/Nagios/StatusLog.pm
+++ b/lib/Nagios/StatusLog.pm
@@ -130,13 +130,13 @@
 
  # for Nagios v2.0
  my $log = Nagios::StatusLog->new(
-                Filename => "/var/opt/nagios/status.dat",
+                Filename => "/var/cache/nagios2/status.dat",
                 Version  => 2.0
            );
 
  # for Nagios v3.0
  my $log = Nagios::StatusLog->new(
-                Filename => "/var/opt/nagios/status.dat",
+                Filename => "/var/cache/nagios3/status.dat",
                 Version  => 3.0
            );