Subversion-Projekte lars-tiefland.nagios-php

Revision

Revision 86 | Revision 91 | 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: 90 $
     */

    // $Id: hostgroups.php 90 2013-01-02 13:57:59Z lars $

    //var_dump( $_GET );

    require_once "includes/common.php";

    $hg = hostGroup::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( "hostgroups", $hg )->assign( "title", $title )->
        display( "hostgroups.tpl" );

    var_dump( $hg );

?>