diff -uNr openpom-1.0.5.orig/ack.php openpom-1.0.5/ack.php --- openpom-1.0.5.orig/ack.php 2010-09-03 21:30:29.000000000 +0200 +++ openpom-1.0.5/ack.php 2010-09-03 21:46:32.000000000 +0200 @@ -1,4 +1,4 @@ -
- + - +
@@ -39,8 +39,8 @@
- - + +
diff -uNr openpom-1.0.5.orig/action.php openpom-1.0.5/action.php --- openpom-1.0.5.orig/action.php 2010-09-03 21:30:29.000000000 +0200 +++ openpom-1.0.5/action.php 2010-09-03 21:46:32.000000000 +0200 @@ -1,4 +1,4 @@ - - + + value="" /> + value="" /> + value="" /> + value="" + onClick="EvalSound('sound1')" title="" /> + value="" title="" /> + value="" /> diff -uNr openpom-1.0.5.orig/alert.php openpom-1.0.5/alert.php --- openpom-1.0.5.orig/alert.php 2010-09-03 21:30:29.000000000 +0200 +++ openpom-1.0.5/alert.php 2010-09-03 21:46:32.000000000 +0200 @@ -1,4 +1,4 @@ - - $val) { if ($key == 'checkbox') { ?> - + - + - - - - - - - - + + + + + + + + - + - - \", \"\")",500); - this.className="over";' - onmouseout='clearTimeout(to); hide_data(); this.className="";' - onclick='selectline();'> - " id="" style="font-size:px;" + onmouseover='to = setTimeout("get_data(\"\", \"\")",500); + this.className="over";' + onmouseout='clearTimeout(to); hide_data(); this.className="";' + onclick='selectline();'> + $val) { if ($key == 'checkbox') @@ -110,27 +110,27 @@ } if (isset($_GET['monitor'])) { ?> - style="white-space:nowrap;"> - - style="white-space:nowrap;"> - - + style="white-space:nowrap;"> + + style="white-space:nowrap;"> + + - + - - - - - + + + + - + - 0) { mysql_data_seek($rep, 0); while($data = mysql_fetch_array($rep, MYSQL_ASSOC)) { diff -uNr openpom-1.0.5.orig/comment.php openpom-1.0.5/comment.php --- openpom-1.0.5.orig/comment.php 2010-09-03 21:30:29.000000000 +0200 +++ openpom-1.0.5/comment.php 2010-09-03 21:46:32.000000000 +0200 @@ -1,4 +1,4 @@ -
- + - +
@@ -39,7 +39,7 @@
- +
diff -uNr openpom-1.0.5.orig/config.php openpom-1.0.5/config.php --- openpom-1.0.5.orig/config.php 2010-09-03 21:30:29.000000000 +0200 +++ openpom-1.0.5/config.php 2010-09-03 21:48:12.000000000 +0200 @@ -1,4 +1,4 @@ -?(),;"; diff -uNr openpom-1.0.5.orig/down.php openpom-1.0.5/down.php --- openpom-1.0.5.orig/down.php 2010-09-03 21:30:29.000000000 +0200 +++ openpom-1.0.5/down.php 2010-09-03 21:46:32.000000000 +0200 @@ -1,4 +1,4 @@ -
- + - + - + - + - +
- +
diff -uNr openpom-1.0.5.orig/filter.php openpom-1.0.5/filter.php --- openpom-1.0.5.orig/filter.php 2010-09-03 21:30:29.000000000 +0200 +++ openpom-1.0.5/filter.php 2010-09-03 21:46:32.000000000 +0200 @@ -1,4 +1,4 @@ - - + - + - + + value="" /> - + - + - - C= W= U= - D= A= T= + + C= W= U= + D= A= T= - = $LINE_BY_PAGE) { ?> + = $LINE_BY_PAGE) { ?> - + - + - + - = $LINE_BY_PAGE) { ?> + = $LINE_BY_PAGE) { ?> - + - + - + diff -uNr openpom-1.0.5.orig/footer.php openpom-1.0.5/footer.php --- openpom-1.0.5.orig/footer.php 2010-09-03 21:30:29.000000000 +0200 +++ openpom-1.0.5/footer.php 2010-09-03 21:46:32.000000000 +0200 @@ -1,4 +1,4 @@ -
- - - GPL - + - - GPL - Exosec - 2010 - - +
- + - + diff -uNr openpom-1.0.5.orig/header.php openpom-1.0.5/header.php --- openpom-1.0.5.orig/header.php 2010-09-03 21:30:29.000000000 +0200 +++ openpom-1.0.5/header.php 2010-09-03 21:46:32.000000000 +0200 @@ -1,4 +1,4 @@ - - <?=$CODENAME?> E=<?=$hit_critical?> W=<?=$hit_warning?> U=<?=$hit_unknown?> T=<?=$hit_any?> + <?php echo $CODENAME?> E=<?php echo $hit_critical?> W=<?php echo $hit_warning?> U=<?php echo $hit_unknown?> T=<?php echo $hit_any?> @@ -30,8 +30,8 @@ var cache = new Array(); var popup; var refresh; - var mytime = ; - var filter = ""; + var mytime = ; + var filter = ""; @@ -41,9 +41,9 @@ popup.style.visibility = "hidden"; document.onmousemove = WhereMouse; - - + +
- + diff -uNr openpom-1.0.5.orig/icinga-send-order openpom-1.0.5/icinga-send-order --- openpom-1.0.5.orig/icinga-send-order 1970-01-01 01:00:00.000000000 +0100 +++ openpom-1.0.5/icinga-send-order 2010-09-03 21:46:32.000000000 +0200 @@ -0,0 +1,32 @@ +#!/bin/bash +# +# OpenPom $Revision: 2 $ +# $HeadURL: http://openpom.googlecode.com/svn/trunk/icinga-send-order $ +# +# Copyright 2010, Exosec +# Licensed under GPL Version 2. +# http://www.gnu.org/licenses/ +# +# $Date: 2010-07-30 16:09:43 +0200 (Fri, 30 Jul 2010) $ +# +# Sylvain Choisnard - schoisnard@exosec.fr +# +# +# This bash script is just an exemple, +# you must improve it for you needs +# +# exec("\"$EXEC_CMD\" \"$CMD_FILE\" \"$cmd\" &"); +# + +# uncomment for debug +# out=/tmp/${0##*/}.$RANDOM +# echo $0 $* > $out +# exec 2>> $out +# set -x + +[ $# -ne 2 ] && exit 2 + +echo -e $2 > $1 + +exit $? + diff -uNr openpom-1.0.5.orig/index.php openpom-1.0.5/index.php --- openpom-1.0.5.orig/index.php 2010-09-03 21:30:29.000000000 +0200 +++ openpom-1.0.5/index.php 2010-09-03 21:36:10.000000000 +0200 @@ -1,4 +1,4 @@ - 'comments', 'comment0' => 'add comment', 'hour' => 'hours', -'reload' => 'nagios is reloading', +'reload' => 'icinga is reloading', 'host' => 'host', 'curstat' => 'current status', 'curat' => 'current attempt', @@ -127,7 +127,7 @@ 'comment' => 'commentaires', 'comment0' => 'ajout commentaire', 'hour' => 'heures', -'reload' => 'nagios est en cours de redémarrage', +'reload' => 'icinga est en cours de redémarrage', 'host' => 'hôte', 'curstat' => 'etat actuel', 'curat' => 'nombre de test', diff -uNr openpom-1.0.5.orig/nagios-send-order openpom-1.0.5/nagios-send-order --- openpom-1.0.5.orig/nagios-send-order 2010-09-03 21:30:29.000000000 +0200 +++ openpom-1.0.5/nagios-send-order 1970-01-01 01:00:00.000000000 +0100 @@ -1,32 +0,0 @@ -#!/bin/bash -# -# OpenPom $Revision: 2 $ -# $HeadURL: http://openpom.googlecode.com/svn/trunk/nagios-send-order $ -# -# Copyright 2010, Exosec -# Licensed under GPL Version 2. -# http://www.gnu.org/licenses/ -# -# $Date: 2010-07-30 16:09:43 +0200 (Fri, 30 Jul 2010) $ -# -# Sylvain Choisnard - schoisnard@exosec.fr -# -# -# This bash script is just an exemple, -# you must improve it for you needs -# -# exec("\"$EXEC_CMD\" \"$CMD_FILE\" \"$cmd\" &"); -# - -# uncomment for debug -# out=/tmp/${0##*/}.$RANDOM -# echo $0 $* > $out -# exec 2>> $out -# set -x - -[ $# -ne 2 ] && exit 2 - -echo -e $2 > $1 - -exit $? - diff -uNr openpom-1.0.5.orig/option.php openpom-1.0.5/option.php --- openpom-1.0.5.orig/option.php 2010-09-03 21:30:29.000000000 +0200 +++ openpom-1.0.5/option.php 2010-09-03 21:50:48.000000000 +0200 @@ -1,4 +1,4 @@ -
- + - + - - + - + - + - + - + - + - +
- (min 10, max 3600) + value="" /> + (min 10, max 3600)
- /> - + + /> +
- (min 1, max 999) + (min 1, max 999)
- +
- (min 1, max 999) + (min 1, max 999)
- (min 1, max 100) + (min 1, max 100)
- /> + />
- $val) { + $val) { if (preg_match('/^(flag|duration|last|stinfo|group)$/', $key)) { $pattern = ",".$key.","; ?> - />
- + />
+
- - + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - + +
diff -uNr openpom-1.0.5.orig/query-downtime.php openpom-1.0.5/query-downtime.php --- openpom-1.0.5.orig/query-downtime.php 2010-09-03 21:30:29.000000000 +0200 +++ openpom-1.0.5/query-downtime.php 2010-09-03 21:46:01.000000000 +0200 @@ -1,4 +1,4 @@ - - +
- - - - - - - - - - - - - - - - - - - - - +
()
(for )
/
()
/ /
?
( ago)
ack comment ()
downtime comment () ,
comment ()
+ + + + + + + + + + + + + + + + + + +
()
(for )
/
()
/ /
?
( ago)
ack comment ()
downtime comment () ,
comment ()
-