genjson.pl Use of uninitialized value in string eq

In file error-cgi.log messages 
[Mon Sep 25 18:13:36 2017] genjson.pl: Use of uninitialized value in string eq at /home/stor2rrd/stor2rrd/bin/genjson.pl line 1112.
[Mon Sep 25 18:13:40 2017] genjson.pl: Use of uninitialized value in string eq at /home/stor2rrd/stor2rrd/bin/genjson.pl line 1112.

How to fix?

Comments

  • what is yoru product version?
    do you experience any problems in the GUI?
  • STOR2RRD free version 2.01
    messages olny error-cgi.log
    With the GUI until the problem was not.
  • Hello, 

    it's already fixed in our repository, fix will be included in the next version.
    If you want to fix it on your own, feel free to comment out lines 1112-1114 of file /home/stor2rrd/stor2rrd/bin/genjson.pl

    before:
    for my $srv ( sort keys %fleet ) {
            if ($times{$srv}{"removed"} eq "1") {
              next;
            }
            print $n1 . "\"$srv\":{";
    after:
    for my $srv ( sort keys %fleet ) {
            # if ($times{$srv}{"removed"} eq "1") {
            #  next;
            # }
            print $n1 . "\"$srv\":{";

Sign In or Register to comment.