You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.
Assignee: (none)
Status: Closed (closed on 2009-06-10 18:36:26 +00:00)
Target Version: 0.8.1
Last Update: 2009-06-10 18:36:26 +00:00 (in Redmine)
Reported on the Mailing List:
On my system Icinga creates logfiles (daily rotation) with the name
Icinga-$DATE-00.log. No Problem with that.
But when I want to use the trend.cgi or avail.cgi these archived
logfiles will not be used and only the data from the current file is shown.
I've tried serveral things and finally found out, that renaming these
logfiles to nagios-$DATE-00.log solved this problem. The cgis now use
the data from these files.
This issue seems to be solved already and the solution can be found at https://dev.icinga.org/issues/show/110. Please don't alter cgiutils.c in the way shown here.
This issue has been migrated from Redmine: https://dev.icinga.com/issues/112
Created by jhein on 2009-06-10 15:32:57 +00:00
Assignee: (none)
Status: Closed (closed on 2009-06-10 18:36:26 +00:00)
Target Version: 0.8.1
Last Update: 2009-06-10 18:36:26 +00:00 (in Redmine)
Reported on the Mailing List:
On my system Icinga creates logfiles (daily rotation) with the name
Icinga-$DATE-00.log. No Problem with that.
But when I want to use the trend.cgi or avail.cgi these archived
logfiles will not be used and only the data from the current file is shown.
I've tried serveral things and finally found out, that renaming these
logfiles to nagios-$DATE-00.log solved this problem. The cgis now use
the data from these files.
Resolution:
Edit the cgiutils.c on line 1576. Change the line
snprintf(buffer,buffer_length,"%snagios~~%02d~~%02d~~%d~~%02d.log",log_archive_path,t~~tm_mon+1,t
>tm_mday,ttm_year+1900,t~~>tm_hour);to
snprintf(buffer,buffer_length,"%sIcinga~~%02d~~%02d~~%d~~%02d.log",log_archive_path,t~~tm_mon+1,t
>tm_mday,ttm_year+1900,t~~>tm_hour);Relations:
The text was updated successfully, but these errors were encountered: