<commit_before><?php
/*
 * Centreon is developped with GPL Licence 2.0 :
 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
 * Developped by : <NAME> - <NAME> 
 * 
 * The Software is provided to you AS IS and WITH ALL FAULTS.
 * Centreon makes no representation and gives no warranty whatsoever,
 * whether express or implied, and without limitation, with regard to the quality,
 * any particular or intended purpose of the Software found on the Centreon web site.
 * In no event will Centreon be liable for any direct, indirect, punitive, special,
 * incidental or consequential damages however they may arise and even if Centreon has
 * been previously advised of the possibility of such damages.
 * 
 * For information : <EMAIL>
 */

aff_header("Centreon Setup Wizard", "Environment Configuration", 3);   ?>
In order for your Centreon installation to function properly, please complete the following fields.<br /><br />
<table cellpadding="0" cellspacing="0" border="0" width="80%" class="StyleDottedHr" align="center">
  	<tr>
    	<th style="padding-left:20px " colspan="2">Environment Configurations</th>
  	</tr>
  	<tr>
    	<td style="padding-left:50px ">Nagios user</td>
		<td><input name="nagios_user" type="text" value="<?php echo (isset($_SESSION["nagios_user"]) ?  $_SESSION["nagios_user"]  : (isset($conf_centreon['nagios_user']) ?  $conf_centreon['nagios_user']  : "nagios" ) );?>"></td>
  	</tr>
  	<tr>
    	<td style="padding-left:50px ">Nagios group</td>
		<td><input name="nagios_group" type="text" value="<?php echo (isset($_SESSION["nagios_group"]) ?  $_SESSION["nagios_group"]  : (isset($conf_centreon["nagios_group"]) ?  $conf_centreon["nagios_group"]  : "nagios" ) );?>"></td>
  	</tr>
 	<tr>
    	<td style="padding-left:50px ">Apache User</td>
		<td><input name="apache_user" type="text" value="<?php echo (isset($_SESSION["apache_user"]) ?  $_SESSION["apache_user"]  : (isset($conf_centreon["apache_user"]) ?  $conf_centreon["apache_user"]  : "apache" ) );?>"></td>
  	</tr>
  	<tr>
    	<td style="padding-left:50px ">Apache Group</td>
		<td><input name="apache_group" type="text" value="<?php echo (isset($_SESSION["apache_group"]) ?  $_SESSION["apache_group"]  : (isset($conf_centreon["apache_group"]) ?  $conf_centreon["apache_group"]  : "apache" ) );?>"></td>
  	</tr>
  	<tr>
    	<td style="padding-left:50px ">Nagios Version</td>
		<td>
		<select name="nagios_version">
			<option value="2" <?php if (isset($_SESSION["nagios_version"]) && $_SESSION["nagios_version"] == "2") print "selected"; else if (!isset($_SESSION["nagios_version"])) print "selected"; ?>>2.x</option>
    		<option value="3" <?php if (isset($_SESSION["nagios_version"]) && $_SESSION["nagios_version"] == "3") print "selected"; ?>>3.x</option>
    	</select>
		</td>
  	</tr>
  	<tr>
    	<td style="padding-left:50px ">Nagios configuration directory</td>
		<td><input name="nagios_conf" type="text" value="<?php echo (isset($_SESSION["nagios_conf"]) ?  $_SESSION["nagios_conf"]  : (isset($conf_centreon["nagios_conf"]) ?  $conf_centreon["nagios_conf"]  : "/usr/local/nagios/etc/" ) );?>" size="40"></td>
  	</tr>
  	<tr>
    	<td style="padding-left:50px ">Nagios plugins</td>
		<td><input name="nagios_plugins" type="text" value="<?php echo (isset($_SESSION["nagios_plugins"]) ?  $_SESSION["nagios_plugins"]  : (isset($conf_centreon["nagios_plugins"]) ?  $conf_centreon["nagios_plugins"]  : "/usr/local/nagios/libexec/" ) );?>" size="40"></td>
  	</tr>
  	<tr>
    	<td style="padding-left:50px ">RRDTool binary</td>
		<td><input name="rrdtool_dir" type="text" value="<?php echo (isset($_SESSION["rrdtool_dir"]) ?  $_SESSION["rrdtool_dir"]  : (isset($conf_centreon["rrdtool_dir"]) ?  $conf_centreon["rrdtool_dir"]  : "/usr/bin/rrdtool" ) );?>" size="40"></td>
  	</tr>
</table>
<?php
aff_middle();
print "<input class='button' type='submit' name='goto' value='Back' /><input class='button' type='submit' name='goto' value='Next' id='button_next' />";<commit_msg>set nagios 3 by default<commit_after><?php
/*
 * Centreon is developped with GPL Licence 2.0 :
 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
 * Developped by : <NAME> - <NAME> 
 * 
 * The Software is provided to you AS IS and WITH ALL FAULTS.
 * Centreon makes no representation and gives no warranty whatsoever,
 * whether express or implied, and without limitation, with regard to the quality,
 * any particular or intended purpose of the Software found on the Centreon web site.
 * In no event will Centreon be liable for any direct, indirect, punitive, special,
 * incidental or consequential damages however they may arise and even if Centreon has
 * been previously advised of the possibility of such damages.
 * 
 * For information : <EMAIL>
 */

aff_header("Centreon Setup Wizard", "Environment Configuration", 3);   ?>
In order for your Centreon installation to function properly, please complete the following fields.<br /><br />
<table cellpadding="0" cellspacing="0" border="0" width="80%" class="StyleDottedHr" align="center">
  	<tr>
    	<th style="padding-left:20px " colspan="2">Environment Configurations</th>
  	</tr>
  	<tr>
    	<td style="padding-left:50px ">Nagios user</td>
		<td><input name="nagios_user" type="text" value="<?php echo (isset($_SESSION["nagios_user"]) ?  $_SESSION["nagios_user"]  : (isset($conf_centreon['nagios_user']) ?  $conf_centreon['nagios_user']  : "nagios" ) );?>"></td>
  	</tr>
  	<tr>
    	<td style="padding-left:50px ">Nagios group</td>
		<td><input name="nagios_group" type="text" value="<?php echo (isset($_SESSION["nagios_group"]) ?  $_SESSION["nagios_group"]  : (isset($conf_centreon["nagios_group"]) ?  $conf_centreon["nagios_group"]  : "nagios" ) );?>"></td>
  	</tr>
 	<tr>
    	<td style="padding-left:50px ">Apache User</td>
		<td><input name="apache_user" type="text" value="<?php echo (isset($_SESSION["apache_user"]) ?  $_SESSION["apache_user"]  : (isset($conf_centreon["apache_user"]) ?  $conf_centreon["apache_user"]  : "apache" ) );?>"></td>
  	</tr>
  	<tr>
    	<td style="padding-left:50px ">Apache Group</td>
		<td><input name="apache_group" type="text" value="<?php echo (isset($_SESSION["apache_group"]) ?  $_SESSION["apache_group"]  : (isset($conf_centreon["apache_group"]) ?  $conf_centreon["apache_group"]  : "apache" ) );?>"></td>
  	</tr>
  	<tr>
    	<td style="padding-left:50px ">Nagios Version</td>
		<td>
		<select name="nagios_version">
			<option value="2" <?php if (isset($_SESSION["nagios_version"]) && $_SESSION["nagios_version"] == "2") print "selected"; ?>>2.x</option>
    		<option value="3" <?php if (isset($_SESSION["nagios_version"]) && $_SESSION["nagios_version"] == "3") print "selected"; else if (!isset($_SESSION["nagios_version"])) print "selected"; ?>>3.x</option>
    	</select>
		</td>
  	</tr>
  	<tr>
    	<td style="padding-left:50px ">Nagios configuration directory</td>
		<td><input name="nagios_conf" type="text" value="<?php echo (isset($_SESSION["nagios_conf"]) ?  $_SESSION["nagios_conf"]  : (isset($conf_centreon["nagios_conf"]) ?  $conf_centreon["nagios_conf"]  : "/usr/local/nagios/etc/" ) );?>" size="40"></td>
  	</tr>
  	<tr>
    	<td style="padding-left:50px ">Nagios plugins</td>
		<td><input name="nagios_plugins" type="text" value="<?php echo (isset($_SESSION["nagios_plugins"]) ?  $_SESSION["nagios_plugins"]  : (isset($conf_centreon["nagios_plugins"]) ?  $conf_centreon["nagios_plugins"]  : "/usr/local/nagios/libexec/" ) );?>" size="40"></td>
  	</tr>
  	<tr>
    	<td style="padding-left:50px ">RRDTool binary</td>
		<td><input name="rrdtool_dir" type="text" value="<?php echo (isset($_SESSION["rrdtool_dir"]) ?  $_SESSION["rrdtool_dir"]  : (isset($conf_centreon["rrdtool_dir"]) ?  $conf_centreon["rrdtool_dir"]  : "/usr/bin/rrdtool" ) );?>" size="40"></td>
  	</tr>
</table>
<?php
aff_middle();
print "<input class='button' type='submit' name='goto' value='Back' /><input class='button' type='submit' name='goto' value='Next' id='button_next' />";
{'fraction_non_alphanumeric': 0.19663485685585133, 'fraction_numerical': 0.010421898543445504, 'mean_word_length': 5.356743814844373, 'pattern_counts': {'":': 0, '<': 173, '<?xml version=': 0, '>': 171, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4114990', 'n_tokens_mistral': 2899, 'n_tokens_neox': 2788, 'n_words': 610}