fix path to nagios status.dat file for cron script and also on noc0

This commit is contained in:
Kevin Fenzi 2017-03-14 15:31:51 +00:00
parent 9f3bbb231f
commit 233811ef32
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@ debug = 0
EMAIL_FROM="nagios@fedoraproject.org"
EMAIL_TO="sysadmin-noc-members@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:
def __init__(self, filename):

View file

@ -107,7 +107,7 @@ resource_file=/etc/nagios/private/resource.cfg
# The contents of the status file are deleted every time Nagios
# restarts.
status_file=/var/log/nagios/status.dat
status_file=/var/spool/nagios/status.dat