zriplj 发表于 2014-07-30 11:27

kofpet 发表于 2014-08-06 16:26

define command{
      command_name    process-service-perfdata
      command_line    /home/pnp4nagios/libexec/process_perfdata.pl ##命令路径按照编译时参数来-prefix=/home/pnp4nagios
}

define command{
      command_name    process-host-perfdata
      command_line    /home/pnp4nagios/libexec/process_perfdata.pl##命令路径按照编译时参数来-prefix=/home/pnp4nagios
}

define host {
   name       host-pnp
   action_url /pnp4nagios/index.php/graph?host=$HOSTNAME$&srv=_HOST_' class='tips' rel='/pnp4nagios/index.php/popup?host=$HOSTNAME$&srv=_HOST_
   register   0
}

define service {
   name       srv-pnp
   action_url /pnp4nagios/index.php/graph?host=$HOSTNAME$&srv=$SERVICEDESC$' class='tips' rel='/pnp4nagios/index.php/popup?host=$HOSTNAME$&srv=$SERVICEDESC$
   register   0
}

kofpet 发表于 2014-08-06 16:28

还有就是看看你的pnp4数据目录有数据没有和web服务的日志输出,往往都是重写规则没有正确。

zriplj 发表于 2014-08-07 09:44

古丁高手 发表于 2014-08-19 10:32

感觉cacti更好用。呵呵:lol

hexilanlan 发表于 2014-08-20 08:37

顶                :em17:

非洲滴小白脸 发表于 2014-09-28 17:41

回复 1# zriplj

http://blog.sina.com.cn/s/blog_a22229330102uyvp.html希望对你有帮助


   

蓝小墨云 发表于 2014-09-30 14:39

多谢楼猪的分享http://www.wxgzpt.cc/weixinshiyongjiaocheng/386.html
页: [1]
查看完整版本: nagios出图故障,求解决!!!