Subversion-Projekte lars-tiefland.nagios-php

Revision

Revision 105 | Blame | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

<?php

    /**
     * @package nagios-php
     * @author Lars Tiefland <ltiefland@gmail.com>
     * @copyright 2013
     * @version $Rev: 113 $
     */

    // $Id: servicegroups.php 113 2013-01-05 18:13:45Z lars $

    require_once "includes/common.php";

    $sg = serviceGroup::getList();

    switch ( $_GET["mode"] )
    {
        case "overview":
            $heading = "Service Overview For All Host Groups";
            break;
        case "grid":
            $heading = "Status Grid For All Host Groups";
            break;
        case "summary":
            $heading = "Status Summary For All Host Groups";
            break;
    }

    $GLOBALS["ui"]->assign( "servicegroups", $sg )->assign( "heading", $heading )->
        display( "servicegroups.tpl" );

?>