Ignore:
Timestamp:
03/30/07 15:21:17 (16 years ago)
Author:
bastiaans
Message:

job_monarch/libtoga.php:

  • Added function to check if jobmond is running
  • Added EmptyImage? of 1 pixel

job_monarch/image.php:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/addons/job_monarch/image.php

    r231 r298  
    4343        global $clustername;
    4444
    45         $ic = new ClusterImage( $clustername );
     45        $data_gatherer = new DataGatherer( $clustername );
     46        $data_gatherer->parseXML();
     47
     48        if( $data_gatherer->isJobmonRunning() )
     49                $ic = new ClusterImage( $clustername );
     50        else
     51                $ic = new EmptyImage();
     52
    4653        $ic->draw();
    4754}
Note: See TracChangeset for help on using the changeset viewer.