Debian Codegraph @

contrib/epel-patches/nagios-0012-fix-spool.patch

raw
1 diff -up ./contrib/eventhandlers/disable_active_service_checks.fix_spool ./contrib/eventhandlers/disable_active_service_checks
2 --- ./contrib/eventhandlers/disable_active_service_checks.fix_spool 2017-08-24 17:43:48.000000000 -0400
3 +++ ./contrib/eventhandlers/disable_active_service_checks 2017-09-19 15:21:28.173643069 -0400
4 @@ -16,7 +16,7 @@
5
6 printfcmd="/usr/bin/printf"
7
8 -CommandFile="/usr/local/nagios/var/rw/nagios.cmd"
9 +CommandFile="/var/spool/nagios/"
10
11 # get the current date/time in seconds since UNIX epoch
12 datetime=`date +%s`
13 diff -up ./contrib/eventhandlers/disable_notifications.fix_spool ./contrib/eventhandlers/disable_notifications
14 --- ./contrib/eventhandlers/disable_notifications.fix_spool 2017-08-24 17:43:48.000000000 -0400
15 +++ ./contrib/eventhandlers/disable_notifications 2017-09-19 15:21:28.198643530 -0400
16 @@ -14,7 +14,7 @@
17
18 printfcmd="/usr/bin/printf"
19
20 -CommandFile="/usr/local/nagios/var/rw/nagios.cmd"
21 +CommandFile="/var/spool/nagios/"
22
23 # get the current date/time in seconds since UNIX epoch
24 datetime=`date +%s`
25 diff -up ./contrib/eventhandlers/enable_active_service_checks.fix_spool ./contrib/eventhandlers/enable_active_service_checks
26 --- ./contrib/eventhandlers/enable_active_service_checks.fix_spool 2017-08-24 17:43:48.000000000 -0400
27 +++ ./contrib/eventhandlers/enable_active_service_checks 2017-09-19 15:21:28.199643549 -0400
28 @@ -16,7 +16,7 @@
29
30 printfcmd="/usr/bin/printf"
31
32 -CommandFile="/usr/local/nagios/var/rw/nagios.cmd"
33 +CommandFile="/var/spool/nagios/"
34
35 # get the current date/time in seconds since UNIX epoch
36 datetime=`date +%s`
37 diff -up ./contrib/eventhandlers/submit_check_result.fix_spool ./contrib/eventhandlers/submit_check_result
38 --- ./contrib/eventhandlers/submit_check_result.fix_spool 2017-08-24 17:43:48.000000000 -0400
39 +++ ./contrib/eventhandlers/submit_check_result 2017-09-19 15:21:28.200643567 -0400
40 @@ -24,7 +24,7 @@
41
42 echocmd="/bin/echo"
43
44 -CommandFile="/usr/local/nagios/var/rw/nagios.cmd"
45 +CommandFile="/var/spool/nagios/"
46
47 # get the current date/time in seconds since UNIX epoch
48 datetime=`date +%s`