This repository has been archived by the owner on Jan 15, 2019. It is now read-only.
[dev.icinga.com #3106] cmd.cgi does not read enviroment variable ICINGA_COMMAND_FILE #1105
Labels
Milestone
This issue has been migrated from Redmine: https://dev.icinga.com/issues/3106
Created by dgoetz on 2012-09-11 13:10:38 +00:00
Assignee: mfriedrich
Status: Resolved (closed on 2012-09-18 23:10:53 +00:00)
Target Version: 1.8
Last Update: 2014-12-08 09:27:33 +00:00 (in Redmine)
cmd.cgi only reads the main configuration and ignores the enviroment variable ICINGA_COMMAND_FILE. Some use cases are explained in https://wiki.icinga.org/display/howtos/CGI+Environment+Variables.
With the following patch cmd.cgi reads the environment variable after the main config file (icinga.cfg). The code for this is already included in cgiutils.c.
Changesets
2012-09-11 13:29:39 +00:00 by mfriedrich 3ec2124
The text was updated successfully, but these errors were encountered: