摘要: 编辑check_snmp_storage.pl文件查找for ($i=0;$i<$num_int;$i++) { verb("Descr : $descr[$i]");在for这行的上面添加# add!!!for ($i=0;$i<$num_int;$i++) { verb("+=2**32"); verb("\$\$result\{\$size_table . \$tindex[0]}=$$result{$size_table . $tindex[0]}"); if($$result{$size_table . $tin 阅读全文
posted @ 2012-07-11 19:48 SmartDog 阅读(641) 评论(0) 推荐(0) 编辑
摘要: 参考 http://forge.centreon.com/issues/1223编辑check_centreon_snmp_remote_storage的perl文件。查找$tot = $Size * $AllocationUnits;在这行的上面添加if ($Size < 0){$Size += 2**32;}查找$used = $Used * $AllocationUnits;在这行的上面添加if ($Used < 0){$Used += 2**32;}如图 阅读全文
posted @ 2012-07-11 19:45 SmartDog 阅读(639) 评论(0) 推荐(0) 编辑