File: use-correct-path-to-status.dat

package info (click to toggle)
libnagios-object-perl 0.21.12-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 996 kB
  • ctags: 167
  • sloc: perl: 2,966; makefile: 4
file content (14 lines) | stat: -rw-r--r-- 389 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
fix the man page to show the path of where Debian's Nagios puts its
status.dat

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