分类: LINUX
2009-09-27 15:54:45
pnp-0.4.14对PHP 5.3.0的支持还不是很好,其中有几个bug需要修改:
# vi /usr/local/nagios/share/pnp/include/function.inc.php
line 556: 添加:date_default_timezone_set('UTC');
line 1033:修改为$pdf = new PDF('P', 'mm', 'A4'); 删除&
line 1543: 修改为if($level == 2 && $type == "complete" &&
preg_match("/^NAGIOS_/",$tag)){