fix path to nagios status.dat file for cron script and also on noc0
This commit is contained in:
parent
9f3bbb231f
commit
233811ef32
2 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ debug = 0
|
||||||
EMAIL_FROM="nagios@fedoraproject.org"
|
EMAIL_FROM="nagios@fedoraproject.org"
|
||||||
EMAIL_TO="sysadmin-noc-members@fedoraproject.org"
|
EMAIL_TO="sysadmin-noc-members@fedoraproject.org"
|
||||||
#EMAIL_TO="athmane@fedoraproject.org"
|
#EMAIL_TO="athmane@fedoraproject.org"
|
||||||
nagios_status_file = '/var/log/nagios/status.dat'
|
nagios_status_file = '/var/spool/nagios/status.dat'
|
||||||
|
|
||||||
class NagiosStatus:
|
class NagiosStatus:
|
||||||
def __init__(self, filename):
|
def __init__(self, filename):
|
||||||
|
|
|
@ -107,7 +107,7 @@ resource_file=/etc/nagios/private/resource.cfg
|
||||||
# The contents of the status file are deleted every time Nagios
|
# The contents of the status file are deleted every time Nagios
|
||||||
# restarts.
|
# restarts.
|
||||||
|
|
||||||
status_file=/var/log/nagios/status.dat
|
status_file=/var/spool/nagios/status.dat
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue