Zabbix : patch pour le support des URL longues avec les scénarios Web

Boris HUISGEN April 14, 2014

administration monitoring zabbix

zabbix=# ALTER TABLE httpstep ALTER COLUMN url TYPE varchar(2048);

root@zabbix:/usr/share/zabbix # diff -Naur include/schema.inc.php.orig include/schema.inc.php


--- include/schema.inc.php.orig 2014-04-08 15:57:52.336603380 +0200
+++ include/schema.inc.php 2014-04-08 15:58:05.268806754 +0200
@@ -844,7 +844,7 @@
'url' => array(
'null' => false,
'type' => DB::FIELD_TYPE_CHAR,
- 'length' => 255,
+ 'length' => 2048,
'default' => '',
),
'timeout' => array(


root@zabbix:/usr/share/zabbix # diff -Naur include/views/configuration.httpconf.popup.php.orig include/views/configuration.httpconf.popup.php


--- include/views/configuration.httpconf.popup.php.orig 2014-04-08 16:10:49.660807171 +0200
+++ include/views/configuration.httpconf.popup.php  2014-04-08 16:11:25.721372545 +0200
@@ -75,7 +75,7 @@

    $httpPopupFormList = new CFormList('httpPopupFormList');
    $httpPopupFormList->addRow(_('Name'), new CTextBox('name', get_request('name', ''), ZBX_TEXTBOX_STANDARD_SIZE, get_request('templated', null), 64));
-   $httpPopupFormList->addRow(_('URL'), new CTextBox('url', get_request('url', ''), ZBX_TEXTBOX_STANDARD_SIZE));
+   $httpPopupFormList->addRow(_('URL'), new CTextBox('url', get_request('url', ''), ZBX_TEXTBOX_STANDARD_SIZE, 'no', 2048));
    $httpPopupFormList->addRow(_('Post'), new CTextArea('posts', get_request('posts', '')));
    $httpPopupFormList->addRow(_('Variables'), new CTextArea('variables', get_request('variables', '')));
    $httpPopupFormList->addRow(_('Timeout'), new CNumericBox('timeout', get_request('timeout', 15), 5));

See also

Zabbix : patch pour permettre l’authentification LDAP STARTTLS
Read more
Zabbix : partitionnement des tables PostgreSQL
Read more
Zabbix : monitoring de Dovecot
Read more