2010-10-07 Miguel de Dios <miguel.dedios@artica.es>
* include/calendar.js, include/FusionCharts/FusionCharts.js: fixed end of sentences with lost semicolons, the Eclipse IDE warned me some this bugs. * include/help/en/help_date_format.php, include/help/en/help_agent_status.php, include/help/en/help_eventview.php, include/help/en/help_configure_gis_map.php, include/help/en/help_alerts.php, include/help/en/help_plugin_definition.php, include/help/en/help_alert_macros.php, include/help/en/help_gis_setup_map_connection.php, general/license/pandora_info_en.html, general/license/pandora_info_pt_BR.html, general/license/pandora_info_es.html, general/license/pandora_info_ja.html, general/pandora_help.php: cleaned html and fixed unclose html tags in source code, the Eclipse IDE warned me some this bugs. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3362 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
c8fc9ddd90
commit
6756003525
|
@ -1,3 +1,20 @@
|
|||
2010-10-07 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/calendar.js, include/FusionCharts/FusionCharts.js: fixed end of
|
||||
sentences with lost semicolons, the Eclipse IDE warned me some this bugs.
|
||||
|
||||
* include/help/en/help_date_format.php,
|
||||
include/help/en/help_agent_status.php, include/help/en/help_eventview.php,
|
||||
include/help/en/help_configure_gis_map.php, include/help/en/help_alerts.php,
|
||||
include/help/en/help_plugin_definition.php,
|
||||
include/help/en/help_alert_macros.php,
|
||||
include/help/en/help_gis_setup_map_connection.php,
|
||||
general/license/pandora_info_en.html,
|
||||
general/license/pandora_info_pt_BR.html,
|
||||
general/license/pandora_info_es.html, general/license/pandora_info_ja.html,
|
||||
general/pandora_help.php: cleaned html and fixed unclose html tags in source
|
||||
code, the Eclipse IDE warned me some this bugs.
|
||||
|
||||
2010-10-07 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/functions_reporting.php
|
||||
|
|
|
@ -9,23 +9,16 @@
|
|||
<li><a href="#SEC1">GNU GENERAL PUBLIC LICENSE</a></li>
|
||||
<li><a href="#SEC2">Preamble</a></li>
|
||||
<li><a href="#SEC3">TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION</a>
|
||||
</ul>
|
||||
<p>
|
||||
|
||||
<hr>
|
||||
|
||||
<h3><a name="SEC1">GNU GENERAL PUBLIC LICENSE</a></h3>
|
||||
<p>
|
||||
Version 2, June 1991
|
||||
</p>
|
||||
|
||||
<pre>
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||
</ul>
|
||||
<hr />
|
||||
<p></p>
|
||||
<h3><a name="SEC1">GNU GENERAL PUBLIC LICENSE</a></h3>
|
||||
<p>Version 2, June 1991</p>
|
||||
<pre>Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
</pre>
|
||||
of this license document, but changing it is not allowed.</pre>
|
||||
|
||||
<h3><a name="SEC2">Preamble</a></h3>
|
||||
|
||||
|
@ -127,21 +120,18 @@ you may at your option offer warranty protection in exchange for a fee.
|
|||
You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
<p>
|
||||
above, provided that you also meet all of these conditions:
|
||||
</p>
|
||||
<p></p>
|
||||
|
||||
<dl>
|
||||
<dt>
|
||||
<dd>
|
||||
<strong>a)</strong>
|
||||
You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
</dd>
|
||||
</dt>
|
||||
</dl>
|
||||
<p>
|
||||
<dl>
|
||||
<dt>
|
||||
<dd>
|
||||
<strong>b)</strong>
|
||||
You must cause any work that you distribute or publish, that in
|
||||
|
@ -149,12 +139,8 @@ above, provided that you also meet all of these conditions:
|
|||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
</dd>
|
||||
</dt>
|
||||
</dl>
|
||||
</p>
|
||||
<p>
|
||||
<dl>
|
||||
<dt>
|
||||
<dd>
|
||||
<strong>c)</strong>
|
||||
If the modified program normally reads commands interactively
|
||||
|
@ -168,9 +154,7 @@ above, provided that you also meet all of these conditions:
|
|||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
</dd>
|
||||
</dt>
|
||||
</dl>
|
||||
</p>
|
||||
<p>
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
|
@ -197,20 +181,14 @@ the scope of this License.
|
|||
You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
</p>
|
||||
<dl>
|
||||
<dt>
|
||||
<dd>
|
||||
<strong>a)</strong>
|
||||
Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
</dd>
|
||||
</dt>
|
||||
</dl>
|
||||
<p>
|
||||
<dl>
|
||||
<dt>
|
||||
<dd>
|
||||
<strong>b)</strong>
|
||||
Accompany it with a written offer, valid for at least three
|
||||
|
@ -220,12 +198,8 @@ Sections 1 and 2 above provided that you also do one of the following:
|
|||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
</dd>
|
||||
</dt>
|
||||
</dl>
|
||||
</p>
|
||||
<p>
|
||||
<dl>
|
||||
<dt>
|
||||
<dd>
|
||||
<strong>c)</strong>
|
||||
Accompany it with the information you received as to the offer
|
||||
|
@ -234,9 +208,7 @@ Sections 1 and 2 above provided that you also do one of the following:
|
|||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
</dd>
|
||||
</dt>
|
||||
</dl>
|
||||
</p>
|
||||
<p>
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
|
@ -387,6 +359,6 @@ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
|||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
</p>
|
||||
<p>
|
||||
<p></p>
|
||||
<h3>END OF TERMS AND CONDITIONS</h3>
|
||||
</body></html>
|
|
@ -374,12 +374,13 @@ elementos de un menú (lo que sea apropiado para su programa).</p>
|
|||
como programador) o tu Universidad (si es el caso) firme un <20>renuncia
|
||||
de copyright<68> para el programa, si es necesario. A continuación
|
||||
se ofrece un ejemplo, altere los nombres según sea conveniente:
|
||||
</p><ol>
|
||||
</p><ol>
|
||||
<li>
|
||||
Yoyodyne, Inc. mediante este documento renuncia
|
||||
a cualquier interés de derechos de copyright con respecto al programa
|
||||
Gnomovision (que hace pasadas a compiladores) escrito por Pepe Programador.
|
||||
<p><firma de Pepito Grillo>, 20 de diciembre de 1996
|
||||
</p><p>Pepito Grillo, Presidente de Asuntillos Varios.</p></ol>
|
||||
</p><p>Pepito Grillo, Presidente de Asuntillos Varios.</p></li></ol>
|
||||
<p>
|
||||
Esta Licencia Pública General no permite que incluya sus programas
|
||||
en programas propietarios. Si su programa es una biblioteca de subrutinas,
|
||||
|
|
|
@ -21,11 +21,8 @@
|
|||
<li><a href="#SEC3">複製、頒布、改変に関する条件と制約</a></li>
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
<p>
|
||||
|
||||
<hr>
|
||||
|
||||
<p>
|
||||
<h3><a name="SEC1">GNU 一般公衆利用許諾契約書</a></h3>
|
||||
<p>
|
||||
バージョン 2、1991年6月<br>
|
||||
|
|
|
@ -122,21 +122,21 @@ opcionalmente, oferecer garantia em troca de pagamento.
|
|||
parte dele, assim gerando um trabalho baseado no Programa, e copiar e
|
||||
distribuir essas modifica<63><61>es ou trabalhos sob os temos da se<73><65>o 1
|
||||
acima, desde que voc<6F> tamb<6D>m se enquadre em todas estas condi<64><69>es:</p>
|
||||
<dl><dt><dd>
|
||||
<dl><dd>
|
||||
<strong>a)</strong> Voc<6F> tem que fazer com que os arquivos modificados levem avisos
|
||||
proeminentes afirmando que voc<6F> alterou os arquivos, incluindo a
|
||||
data de qualquer altera<72><61>o.
|
||||
</dd></dt></dl>
|
||||
<p>
|
||||
<dl><dt><dd>
|
||||
</dd></dl>
|
||||
|
||||
<dl><dd>
|
||||
<strong>b)</strong> Voc<6F> tem que fazer com que quaisquer trabalhos que voc<6F>
|
||||
distribua ou publique, e que integralmente ou em partes contenham
|
||||
ou sejam derivados do Programa ou de suas partes, sejam
|
||||
licenciados, integralmente e sem custo algum para quaisquer
|
||||
terceiros, sob os termos desta Licen<65>a.
|
||||
</dd></dt></dl></p>
|
||||
<p>
|
||||
<dl><dt><dd>
|
||||
</dd></dl>
|
||||
|
||||
<dl><dd>
|
||||
<strong>c)</strong> Se qualquer programa modificado normalmente l<> comandos
|
||||
interativamente quando executados, voc<6F> tem que fazer com que,
|
||||
quando iniciado tal uso interativo da forma mais simples, seja
|
||||
|
@ -147,7 +147,7 @@ acima, desde que voc<6F> tamb<6D>m se enquadre em todas estas condi<64><69>es:</p>
|
|||
Programa em si <20> interativo mas normalmente n<>o imprime estes
|
||||
tipos de an<61>ncios, seu trabalho baseado no Programa n<>o precisa
|
||||
imprimir um an<61>ncio.)
|
||||
</dd></dt></dl></p>
|
||||
</dd></dl>
|
||||
<p>
|
||||
Estas exig<69>ncias aplicam-se ao trabalho modificado como um todo. Se
|
||||
se<EFBFBD><EFBFBD>es identific<69>veis de tal trabalho n<>o s<>o derivadas do Programa, e
|
||||
|
@ -178,29 +178,31 @@ nele, conforme descrito na Se<53><65>o 2) em c<>digo-objeto ou em forma
|
|||
execut<EFBFBD>vel sob os termos das Se<53><65>es 1 e 2 acima, desde que voc<6F>
|
||||
fa<EFBFBD>a um dos seguintes:
|
||||
</p>
|
||||
<dl><dt><dd>
|
||||
<dl><dd>
|
||||
<strong>a)</strong>O acompanhe com o c<>digo-fonte completo e em forma acess<73>vel
|
||||
por m<>quinas, que tem que ser distribu<62>do sob os termos das Se<53><65>es
|
||||
1 e 2 acima e em meio normalmente utilizado para o interc<72>mbio de
|
||||
software; ou,
|
||||
</dd></dt></dl>
|
||||
<p>
|
||||
<dl><dt><dd>
|
||||
</dd></dl>
|
||||
|
||||
<dl><dd>
|
||||
<strong>b)</strong> O acompanhe com uma oferta escrita, v<>lida por pelo menos tr<74>s
|
||||
anos, de fornecer a qualquer um, com um custo n<>o superior ao
|
||||
custo de distribui<75><69>o f<>sica do material, uma c<>pia do
|
||||
c<>digo-fonte completo e em forma acess<73>vel por m<>quinas, que tem
|
||||
que ser distribu<62>do sob os termos das Se<53><65>es 1 e 2 acima e em meio
|
||||
normalmente utilizado para o interc<72>mbio de software; ou,
|
||||
</dd></dt></dl>
|
||||
<p>
|
||||
<dl><dt><dd>
|
||||
</dd></dl>
|
||||
|
||||
<dl><dd>
|
||||
<p>
|
||||
<strong>c)</strong> O acompanhe com a informa<6D><61>o que voc<6F> recebeu em rela<6C><61>o <20>
|
||||
oferta de distribui<75><69>o do c<>digo-fonte correspondente. (Esta
|
||||
alternativa <20> permitida somente em distribui<75><69>o n<>o comerciais, e
|
||||
apenas se voc<6F> recebeu o programa em forma de c<>digo-objeto ou
|
||||
execut<75>vel, com oferta de acordo com a Subse<73><65>o b acima.)
|
||||
</p>
|
||||
</p>
|
||||
</dd></dl>
|
||||
<p>
|
||||
O c<>digo-fonte de um trabalho corresponde <20> forma de trabalho
|
||||
preferida para se fazer modifica<63><61>es. Para um trabalho em forma
|
||||
|
@ -350,9 +352,9 @@ PERDAS SOFRIDAS POR VOC<4F> OU POR OUTRAS PARTES, OU FALHAS DO PROGRAMA
|
|||
AO OPERAR COM QUALQUER OUTRO PROGRAMA), MESMO QUE TAL DETENTOR OU
|
||||
PARTE TENHAM SIDO AVISADOS DA POSSIBILIDADE DE TAIS DANOS.
|
||||
</p>
|
||||
<p><h3>FIM DOS TERMOS E CONDI<44><49>ES</h3>
|
||||
</p>
|
||||
<p><h3>Como Aplicar Estes Termos aos Seus Novos Programas</h3>
|
||||
<h3>FIM DOS TERMOS E CONDI<44><49>ES</h3>
|
||||
|
||||
<h3>Como Aplicar Estes Termos aos Seus Novos Programas</h3>
|
||||
|
||||
<p>Se voc<6F> desenvolver um novo programa, e quer que ele seja utilizado
|
||||
amplamente pelo p<>blico, a melhor forma de alcan<61>ar este objetivo <20>
|
||||
|
|
|
@ -16,11 +16,15 @@
|
|||
|
||||
require_once ("../include/config.php");
|
||||
require_once ("../include/functions.php");
|
||||
|
||||
echo '<html><head><title>'.__('Pandora FMS help system').'</title></head>';
|
||||
echo '<link rel="stylesheet" href="../include/styles/'.$config['style'].'.css" type="text/css">';
|
||||
echo '<body style="background-color: #fff;">';
|
||||
|
||||
?>
|
||||
<html><head><title>
|
||||
<?php
|
||||
echo __('Pandora FMS help system');
|
||||
?>
|
||||
</title></head>
|
||||
<link rel="stylesheet" href="../include/styles/'.$config['style'].'.css" type="text/css">
|
||||
<body style="background-color: #fff;">
|
||||
<?php
|
||||
$id = get_parameter ('id');
|
||||
|
||||
/* Possible file locations */
|
||||
|
|
|
@ -76,7 +76,7 @@ infosoftglobal.FusionCharts = function(swf, id, w, h, debugMode, registerWithJS,
|
|||
// Only add the onunload cleanup if the Flash Player version supports External Interface and we are in IE
|
||||
infosoftglobal.FusionCharts.doPrepUnload = true;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
infosoftglobal.FusionCharts.prototype = {
|
||||
setAttribute: function(name, value){
|
||||
|
@ -237,7 +237,7 @@ infosoftglobal.FusionCharts.prototype = {
|
|||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/* ---- detection functions ---- */
|
||||
infosoftglobal.FusionChartsUtil.getPlayerVersion = function(){
|
||||
|
@ -284,12 +284,12 @@ infosoftglobal.FusionChartsUtil.getPlayerVersion = function(){
|
|||
}
|
||||
}
|
||||
return PlayerVersion;
|
||||
}
|
||||
};
|
||||
infosoftglobal.PlayerVersion = function(arrVersion){
|
||||
this.major = arrVersion[0] != null ? parseInt(arrVersion[0]) : 0;
|
||||
this.minor = arrVersion[1] != null ? parseInt(arrVersion[1]) : 0;
|
||||
this.rev = arrVersion[2] != null ? parseInt(arrVersion[2]) : 0;
|
||||
}
|
||||
};
|
||||
// ------------ Fix for Out of Memory Bug in IE in FP9 ---------------//
|
||||
/* Fix for video streaming bug */
|
||||
infosoftglobal.FusionChartsUtil.cleanupSWFs = function() {
|
||||
|
@ -302,7 +302,7 @@ infosoftglobal.FusionChartsUtil.cleanupSWFs = function() {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
// Fixes bug in fp9
|
||||
if (infosoftglobal.FusionCharts.doPrepUnload) {
|
||||
if (!infosoftglobal.unloadSet) {
|
||||
|
@ -310,15 +310,15 @@ if (infosoftglobal.FusionCharts.doPrepUnload) {
|
|||
__flash_unloadHandler = function(){};
|
||||
__flash_savedUnloadHandler = function(){};
|
||||
window.attachEvent("onunload", infosoftglobal.FusionChartsUtil.cleanupSWFs);
|
||||
}
|
||||
};
|
||||
window.attachEvent("onbeforeunload", infosoftglobal.FusionChartsUtil.prepUnload);
|
||||
infosoftglobal.unloadSet = true;
|
||||
}
|
||||
}
|
||||
/* Add document.getElementById if needed (mobile IE < 5) */
|
||||
if (!document.getElementById && document.all) { document.getElementById = function(id) { return document.all[id]; }}
|
||||
if (!document.getElementById && document.all) { document.getElementById = function(id) { return document.all[id]; };}
|
||||
/* Add Array.push if needed (ie5) */
|
||||
if (Array.prototype.push == null) { Array.prototype.push = function(item) { this[this.length] = item; return this.length; }}
|
||||
if (Array.prototype.push == null) { Array.prototype.push = function(item) { this[this.length] = item; return this.length; };}
|
||||
|
||||
/* Function to return Flash Object from ID */
|
||||
infosoftglobal.FusionChartsUtil.getChartObject = function(id)
|
||||
|
@ -337,7 +337,7 @@ infosoftglobal.FusionChartsUtil.getChartObject = function(id)
|
|||
chartRef = document.getElementById(id);
|
||||
|
||||
return chartRef;
|
||||
}
|
||||
};
|
||||
/*
|
||||
Function to update chart's data at client side (FOR FusionCharts vFREE and 2.x
|
||||
*/
|
||||
|
@ -352,7 +352,7 @@ infosoftglobal.FusionChartsUtil.updateChartXML = function(chartId, strXML){
|
|||
chartObj.SetVariable("_root.newData",strXML);
|
||||
//Go to the required frame
|
||||
chartObj.TGotoLabel("/", "JavaScriptHandler");
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/* Aliases for easy usage */
|
||||
|
|
|
@ -654,7 +654,7 @@
|
|||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
};
|
||||
|
||||
// Add a method to left pad zeroes
|
||||
|
||||
|
@ -663,7 +663,7 @@
|
|||
{var result = '';
|
||||
for (var i=0;i<(padToLength - this.length);i++) {result += '0';}
|
||||
return (result + this);
|
||||
}
|
||||
};
|
||||
|
||||
// Set up a closure so that any next function can be triggered
|
||||
// after the calendar has been closed AND that function can take
|
||||
|
@ -683,7 +683,7 @@
|
|||
|
||||
return (args.shift()==scwTriggerEle)
|
||||
?func.apply(this, args):null;
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
// Set up some shortcuts
|
||||
|
@ -1451,7 +1451,7 @@
|
|||
|
||||
// The first Base Day in the year
|
||||
var scwFirstBaseDay =
|
||||
new Date(scwInDateWeekBase.getFullYear(),0,1)
|
||||
new Date(scwInDateWeekBase.getFullYear(),0,1);
|
||||
|
||||
scwFirstBaseDay.setDate(scwFirstBaseDay.getDate()
|
||||
- scwFirstBaseDay.getDay()
|
||||
|
|
|
@ -21,14 +21,14 @@ Possible values of an <b>agent status</b> are:
|
|||
|
||||
<table width="750px">
|
||||
<tr>
|
||||
<td class="f9i"><img src="../images/status_sets/default/module_critical.png" title="At least one monitor fails" alt="At least one monitor fails"><img src="../images/status_sets/faces/module_critical.png" title="At least one monitor fails" alt="At least one monitor fails"><td>At least one monitor fails</td>
|
||||
<td class="f9i"><img src="../images/status_sets/default/module_warning.png" title="Change between Green/Red state" alt="Change between Green/Red state"><img src="../images/status_sets/faces/module_warning.png" title="Change between Green/Red state" alt="Change between Green/Red state"><td>Change between Green/Red state</td>
|
||||
<td class="f9i"><img src="../images/status_sets/default/agent_ok.png" title="All Monitors OK" alt="All Monitors OK"><img src="../images/status_sets/faces/agent_ok.png" title="All Monitors OK" alt="All Monitors OK"><td>All Monitors OK</td>
|
||||
<td class="f9i"><img src="../images/status_sets/default/module_critical.png" title="At least one monitor fails" alt="At least one monitor fails"><img src="../images/status_sets/faces/module_critical.png" title="At least one monitor fails" alt="At least one monitor fails"></td><td>At least one monitor fails</td>
|
||||
<td class="f9i"><img src="../images/status_sets/default/module_warning.png" title="Change between Green/Red state" alt="Change between Green/Red state"><img src="../images/status_sets/faces/module_warning.png" title="Change between Green/Red state" alt="Change between Green/Red state"></td><td>Change between Green/Red state</td>
|
||||
<td class="f9i"><img src="../images/status_sets/default/agent_ok.png" title="All Monitors OK" alt="All Monitors OK"><img src="../images/status_sets/faces/agent_ok.png" title="All Monitors OK" alt="All Monitors OK"></td><td>All Monitors OK</td>
|
||||
|
||||
</tr><tr>
|
||||
<td class="f9i"><img src="../images/status_sets/default/agent_no_monitors.png" title="Agent without monitors" alt="Agent without monitors"><img src="../images/status_sets/faces/agent_no_monitors.png" title="Agent without monitors" alt="Agent without monitors"><td>Agent without monitors</td>
|
||||
<td class="f9i"><img src="../images/status_sets/default/agent_no_data.png" title="Agent without data" alt="Agent without data"><img src="../images/status_sets/faces/agent_no_data.png" title="Agent without data" alt="Agent without data"><td>Agent without data</td>
|
||||
<td class="f9i"><img src="../images/status_sets/default/agent_down.png" title="Agent down" alt="Agent down"><img src="../images/status_sets/faces/agent_down.png" title="Agent down" alt="Agent down"><td>Agent down</td>
|
||||
<td class="f9i"><img src="../images/status_sets/default/agent_no_monitors.png" title="Agent without monitors" alt="Agent without monitors"><img src="../images/status_sets/faces/agent_no_monitors.png" title="Agent without monitors" alt="Agent without monitors"></td><td>Agent without monitors</td>
|
||||
<td class="f9i"><img src="../images/status_sets/default/agent_no_data.png" title="Agent without data" alt="Agent without data"><img src="../images/status_sets/faces/agent_no_data.png" title="Agent without data" alt="Agent without data"></td><td>Agent without data</td>
|
||||
<td class="f9i"><img src="../images/status_sets/default/agent_down.png" title="Agent down" alt="Agent down"><img src="../images/status_sets/faces/agent_down.png" title="Agent down" alt="Agent down"></td><td>Agent down</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
@ -38,9 +38,9 @@ Possible values of <b>alert status</b> are:
|
|||
<br><br>
|
||||
<table width="450px">
|
||||
<tr>
|
||||
<td class="f9i"><img src="../images/status_sets/default/alert_fired.png" title="Alert fired" alt="Alert fired"><img src="../images/status_sets/faces/alert_fired.png" title="Alert fired" alt="Alert fired"><td>Alert fired</td>
|
||||
<td class="f9i"><img src="../images/status_sets/default/alert_disabled.png" title="Alert disabled" alt="Alert disabled"><img src="../images/status_sets/faces/alert_disabled.png" title="Alert disabled" alt="Alert disabled"><td>Alerts disabled</td>
|
||||
<td class="f9i"><img src="../images/status_sets/default/alert_not_fired.png" title="Alert not fired" alt="Alert not fired"><img src="../images/status_sets/faces/alert_not_fired.png" title="Alert not fired" alt="Alert not fired"><td>Alert not fired</td>
|
||||
<td class="f9i"><img src="../images/status_sets/default/alert_fired.png" title="Alert fired" alt="Alert fired"><img src="../images/status_sets/faces/alert_fired.png" title="Alert fired" alt="Alert fired"></td><td>Alert fired</td>
|
||||
<td class="f9i"><img src="../images/status_sets/default/alert_disabled.png" title="Alert disabled" alt="Alert disabled"><img src="../images/status_sets/faces/alert_disabled.png" title="Alert disabled" alt="Alert disabled"></td><td>Alerts disabled</td>
|
||||
<td class="f9i"><img src="../images/status_sets/default/alert_not_fired.png" title="Alert not fired" alt="Alert not fired"><img src="../images/status_sets/faces/alert_not_fired.png" title="Alert not fired" alt="Alert not fired"></td><td>Alert not fired</td>
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -24,12 +24,13 @@ The following macros are available:
|
|||
<li>_moduledescription_ : Description of the module who fired the alert </li>
|
||||
<li>_alert_name_ : Alert name </li>
|
||||
<li>_alert_priority_ : Numerical alert priorityu </li>
|
||||
<li>_id_agent_ : Id of agent, useful to build direct URL to redirect to a Pandora FMS console webpage.
|
||||
<li>_id_agent_ : Id of agent, useful to build direct URL to redirect to a Pandora FMS console webpage.</li>
|
||||
<li>_id_alert_ : Numerical ID of the alert (unique), used to correlate on third party software</li>
|
||||
|
||||
|
||||
</ul>
|
||||
<p>
|
||||
</p>
|
||||
<p>
|
||||
Example: Agent _agent_ has fired alert _alert_ with data _data_
|
||||
</p>
|
||||
|
|
|
@ -15,7 +15,7 @@ The next fields must be filled to assign an alert:
|
|||
<ul>
|
||||
<li>Alert type: This can be selected from the alert list previously generated.</li>
|
||||
<li>Max. Value: Defines the maximum value for a module. Any value above that threshold will trigger the alert.</li>
|
||||
<li>Min. Value: Defines the minimum value for a module. Any value below that will trigger the alert. "max." & "min." couple are the key values while defining an alert, since they define the range of normal values, out of that range Pandora FMS will trigger the alert.</li>
|
||||
<li>Min. Value: Defines the minimum value for a module. Any value below that will trigger the alert. "max." & "min." couple are the key values while defining an alert, since they define the range of normal values, out of that range Pandora FMS will trigger the alert.</li>
|
||||
<li>Alert text: In case of string modules, you can define a regular expression or a single string to match contents of data module to trigger the alert.</li>
|
||||
<li>Time from / Time to: This defines a range of "valid" time range to fire alerts.</li>
|
||||
<li>Description: Describes the function of the alert, and it is useful to identify the alert among the others in the general view of alerts.</li>
|
||||
|
|
|
@ -14,7 +14,7 @@ Each map has a desciptive name used to recognice the map within Pandora FMS.
|
|||
</p>
|
||||
<h2>Select Connections</h2>
|
||||
<p>
|
||||
The first step is to select the main </strong>connection</strong> used in this GIS Map. At least one connection must be selected to configure the GIS Map, but it's possible to add more by pressing the <img src="../images/add.png" alt="Add" /> (Add) icon.
|
||||
The first step is to select the main <strong>connection</strong> used in this GIS Map. At least one connection must be selected to configure the GIS Map, but it's possible to add more by pressing the <img src="../images/add.png" alt="Add" /> (Add) icon.
|
||||
</p>
|
||||
<p>
|
||||
When the firs connection is set, Pandora FMS asks if you want to use the default values of the connection for the map, to avoid to write again all the information. Also if the default connection for the map is changed (using the radio button), Pandora FMS will ask again if you want to use the values of the new default connection.
|
||||
|
|
|
@ -343,24 +343,29 @@
|
|||
<h3 class="title">Examples</h3>
|
||||
|
||||
<table cellpadding=4 cellspacing=4 class=datos>
|
||||
<th>Format String <th>Output sample
|
||||
<tr>
|
||||
<th>Format String</th><th>Output sample</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>F j, Y, g:i a <td> March 10, 2001, 5:16 pm
|
||||
<td>F j, Y, g:i a</td><td> March 10, 2001, 5:16 pm</td>
|
||||
<tr>
|
||||
<td>m.d.y <td> 03.10.01
|
||||
<td>m.d.y</td><td>03.10.01</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>j, n, Y <td> 10, 3, 2001
|
||||
<td>j, n, Y</td><td>10, 3, 2001</td>
|
||||
<tr>
|
||||
<td>Ymd <td>20010310
|
||||
<td>Ymd</td><td>20010310</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>h-i-s, j-m-y, it is w Day z <td>05-16-17, 10-03-01, 1631 1618 6 Fripm01
|
||||
<td>h-i-s, j-m-y, it is w Day z</td><td>05-16-17, 10-03-01, 1631 1618 6 Fripm01</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>\i\t \i\s \t\h\e jS \d\a\y. <td>It is the 10th day.
|
||||
|
||||
<td>\i\t \i\s \t\h\e jS \d\a\y.</td><td>It is the 10th day.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
D M j G:i:s T Y <td>Sat Mar 10 15:16:08 MST 2001
|
||||
|
||||
<td>D M j G:i:s T Y</td><td>Sat Mar 10 15:16:08 MST 2001</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>H:i:s <td>17:16:17
|
||||
<td>H:i:s</td><td>17:16:17</td>
|
||||
</tr>
|
||||
</table>
|
|
@ -31,4 +31,4 @@
|
|||
</div>
|
||||
|
||||
<div style="clear: both;"> </div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -15,13 +15,14 @@ Currently Pandora FMS support 3 differet kinds of connections: OpenStreetMap, Go
|
|||
</p>
|
||||
<h3>Open Street Maps</h3>
|
||||
<p>
|
||||
To use the Open Street maps connection you can setup your own server (see <a href="http://wiki.openstreetmap.org/wiki/Main_Page">http://wiki.openstreetmap.org/wiki/Main_Page</a> to start and <a href="http://wiki.openstreetmap.org/wiki/Mapnik">http://wiki.openstreetmap.org/wiki/Mapnik</a> as an example of how to render your own tiles.) also you can access the open street map tile server:</br>
|
||||
To use the Open Street maps connection you can setup your own server (see <a href="http://wiki.openstreetmap.org/wiki/Main_Page">http://wiki.openstreetmap.org/wiki/Main_Page</a> to start and <a href="http://wiki.openstreetmap.org/wiki/Mapnik">http://wiki.openstreetmap.org/wiki/Mapnik</a> as an example of how to render your own tiles.) also you can access the open street map tile server:<br />
|
||||
</p>
|
||||
<pre>
|
||||
http://tile.openstreetmap.org/${z}/${x}/${y}.png
|
||||
</pre>
|
||||
<p>
|
||||
Using their <a href="http://wiki.openstreetmap.org/wiki/Licence">Licence</a>
|
||||
</p>
|
||||
</p>
|
||||
<h3>Google MAPS</h3>
|
||||
<p>
|
||||
First, you need to register and get a free API KEY. Read about this at:<br/>
|
||||
|
|
|
@ -20,23 +20,23 @@ Operation could be "status", "qps", "load", "fragment" and "memory". It returns
|
|||
|
||||
<table cellpadding=4 cellspacing=4 class=databox width=80%>
|
||||
<tr>
|
||||
<td valign='top'>Plugin command<td>/usr/share/pandora/util/plugins/informix_plugin_pandora (default location for plugins)
|
||||
<tr>
|
||||
<td>Max. timeout:<td> 15 (for example).
|
||||
<td valign='top'>Plugin command</td><td>/usr/share/pandora/util/plugins/informix_plugin_pandora (default location for plugins)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>IP Address option<td> -H
|
||||
|
||||
<td>Max. timeout:</td><td> 15 (for example).</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Port option<td> Leave it blank.
|
||||
<td>IP Address option</td><td> -H</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Port option</td><td> Leave it blank.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>User option</td><td> -U</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>User option<td> -U
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Password option<td> -P
|
||||
<td>Password option</td><td> -P</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
|
Loading…
Reference in New Issue