Commit 22b7f842 authored by A. Täffner's avatar A. Täffner

first test for nagios view

parent ca7e9612
......@@ -357,6 +357,34 @@ $form["tabs"]['server'] = array(
'width' => '40',
'maxlength' => '255'
),
'nagios_url' => array(
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'validators' => array ( 0 => array ( 'type' => 'REGEX',
'regex' => '/^((?:http|https)(?::\\/{2}[\\w]+)(?:[\\/|\\.]?)(?:[^\\s"]*))$/',
'errmsg'=> 'nagios_url_error_regex'),
),
'value' => '',
'width' => '40',
'maxlength' => '255'
),
'nagios_user' => array(
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '40',
'maxlength' => '255'
),
'nagios_password' => array(
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '40',
'maxlength' => '255'
),
'monitor_system_updates' => array(
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
......
......@@ -198,6 +198,11 @@ $wb['munin_user_txt'] = 'Munin-Benutzer';
$wb['munin_password_txt'] = 'Munin-Passwort';
$wb['munin_url_error_regex'] = 'Ungültige Munin-URL';
$wb['munin_url_note_txt'] = 'Platzhalter:';
$wb['nagios_url_txt'] = 'Nagios/Check_MK-URL';
$wb['nagios_user_txt'] = 'Nagios-Benutzer';
$wb['nagios_password_txt'] = 'Nagios-Passwort';
$wb['nagios_url_error_regex'] = 'Ungültige Nagios-URL';
$wb['nagios_url_note_txt'] = 'Platzhalter:';
$wb['backup_dir_is_mount_txt'] = 'Backupverzeichnis ist ein eigener Mount?';
$wb['backup_dir_mount_cmd_txt'] = 'Mount-Befehl, falls Backupverzeichnis nicht gemountet';
$wb['backup_delete_txt'] = 'Backups loeschen wenn eine Domain / Webseite geloescht wird';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment