Chinaunix

标题: PNP_Template 要放在那個目錄裡? [打印本页]

作者: royleong    时间: 2011-09-11 15:47
标题: PNP_Template 要放在那個目錄裡?
最近下載了一個 check_ps.sh

但它有一個 (PNP_Template)check_ps.php ,那這個 PNP_Template 要放在那個位置呢 ( 本人已裝上 PNP4Nagios )

以下是我 PNP4Nagios 目錄路徑

[root@nagios ~]# ls /usr/local/pnp4nagios
bin  etc  lib  libexec  man  share  var             #我覺得只有 libexec, etc, share 這3個目錄像個樣子

[root@nagios ~]# ls /usr/local/pnp4nagios/etc/
background.pdf  config_local.php  config.php.0.6.14  nagios.cfg  pages               process_perfdata.cfg
check_commands  config.php        misccommands.cfg   npcd.cfg    pnp4nagios_release  rra.cfg

[root@nagios ~]# ls /usr/local/pnp4nagios/etc/check_commands/      #這個本來安裝時就有的
check_all_local_disks.cfg  check_nrpe.cfg  check_nwstat.cfg

[root@nagios ~]# ls /usr/local/pnp4nagios/libexec/
check_pnp_rrds.pl  process_perfdata.pl  rrd_convert.pl  verify_pnp_config.pl

[root@nagios ~]# ls /usr/local/pnp4nagios/share/
application  documents  index.php  install.php.bak  media  templates  templates.dist  templates.special

[root@nagios ~]# ls /usr/local/pnp4nagios/share/templates/    #裡面沒東西,是這個嗎 ?
[root@nagios ~]#

各位朋友,幫忙指點一下!




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2