Announcement

Collapse
No announcement yet.

better usability

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • cih
    replied
    Congratulations Peter, good enhacements.

    Now Oreon only it leaks in pagination of the number services/hosts monitoring pages that would be displayed (if you have huge amount of them, page lasts for always to get loaded.) I opened a ticket in flyspray regarding this, but i'm studying how to do it myself. If I find the answer I would post it in flyspray for other that could find this feature interesting.

    Thanks!

    Leave a comment:


  • Prometheus
    replied
    If you want hyperlinks to the Service State Information page on the status keywords (OK|WARNING|...) of your Service details page, replace the line 96 of /usr/local/oreon/include/status/service.php with the following:

    echo "<td bgcolor=" . return_color_status($s->get_status()) . " align='center' class='text9'>" . $s->get_status() . "</td>";


    /peter

    Leave a comment:


  • DonKiShoot
    replied
    Someone ever try this patch and can explain in French what does it do exactly ?

    Leave a comment:


  • Prometheus
    started a topic better usability

    better usability

    A little improvement for better usability and faster navigation. (Oreon 1.2.3-RC1)

    Replace the following lines in /usr/local/oreon/include/status/resume.php:

    Line 31 - 33:
    <td class="tabTableWC"<? if ($Logs->host["UP"] != 0) print " bgcolor='#".$oreon->optGen->get_color_up()."'"; ?>><? print ""; print $Logs->host["UP"]; print ""; ?></td>

    <td class="tabTableWC"<? if ($Logs->host["DOWN"] != 0) print " bgcolor='#".$oreon->optGen->get_color_down()."'"; ?>><? print ""; print $Logs->host["DOWN"]; print ""; ?></td>

    <td class="tabTableWC"<? if ($Logs->host["UNREACHABLE"] != 0 || $Logs->host["UNKNOWN"] != 0 || $Logs->host["PENDING"] != 0) print " bgcolor='#".$oreon->optGen->get_color_unreachable()."'"; ?>><? print ""; print $Logs->host["UNREACHABLE"] + $Logs->host["PENDING"] + $Logs->host["UNKNOWN"] ; print ""; ?></td>

    Line 51 - 53:
    <td class="tabTableWC"<? if ($Logs->sv["OK"] != 0) print " bgcolor='#".$oreon->optGen->get_color_ok()."'"; ?>><? print ""; print $Logs->sv["OK"]; print ""; ?></td>

    <td class="tabTableWC"<? if ($Logs->sv["CRITICAL"] != 0) print " bgcolor='#".$oreon->optGen->get_color_critical()."'"; ?>><? print ""; print $Logs->sv["CRITICAL"]; print ""; ?></td>

    <td class="tabTableWC"<? if ($Logs->sv["WARNING"] != 0) print " bgcolor='#".$oreon->optGen->get_color_warning()."'"; ?>><? print ""; print $Logs->sv["WARNING"]; print ""; ?></td>

    Now you can klick the numbers under UP, DOWN, UNREACHABLE, OK, CRITICAL and WARNING.


    /peter
Working...
X