Subversion-Projekte lars-tiefland.nagios-php

Revision

Revision 86 | Zur aktuellen Revision | Blame | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

<?php

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

    // $Id: servicegroups.php 105 2013-01-03 10:07:17Z lars $

    require_once "includes/common.php";

    $sg = serviceGroup::getList();

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

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

?>