Changes in / [f553e71:0e5fe65]


Ignore:
Location:
src
Files:
533 added
530 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • src/daemon/gnuboat

    rf553e71 r0e5fe65  
    113113  def __init__(self):
    114114    threading.Thread.__init__(self)
    115     self._serverHost = "raspi"
     115    self._serverHost = "127.0.0.1"
    116116    self._serverPort = 2597
    117117    self._timeout = 1.5
  • src/puppetcode/hiera.yaml

    rf553e71 r0e5fe65  
    55  - "fqdn/%{facts.fqdn}"
    66  - "os/%{facts.osfamily}"
    7   - common
     7  - "common"
    88:yaml:
    99  :datadir: /etc/puppet/environments/%{::environment}/hieradata
  • src/webapp/webservice/index.php

    rf553e71 r0e5fe65  
    1616    along with this program.  If not, see <http://www.gnu.org/licenses/>.
    1717*/
    18 
    19 xdebug_start_trace();
    2018
    2119require_once(__DIR__ ."/inc/Config.php");
    … …  
    4543
    4644        $endTime = floor(time() / $interval) * $interval;
    47         $startTime = $endTime - $period;
     45        $startTime = $endTime - $period;
    4846        $data = rrd_fetch($dbFile, array("AVERAGE", "--resolution", $interval, "--start", $startTime, "--end", $endTime));
    4947        // $data = rrd_fetch($dbFile, array("AVERAGE", "--resolution", $interval, "--start", "-". $period, "--end", "start+". $period, "--align-start"));
    … …  
    6866        // transform them into json format
    6967        $i = 0;
    70         $lastTime = -1;
     68        $lastValid = -1;
    7169        $keys = array_keys($data);
    7270        $keyTimeframes = $keys[0];
    … …  
    190188}
    191189
    192 xdebug_stop_trace();
    193 
    194190?>
Note: See TracChangeset for help on using the changeset viewer.