pnp4nagios v0.6 bugz

| No Comments | No TrackBacks

或许不算bug1

pnp4nagios lastest version是v0.6, 参考官方网站和docs配置的Bulk mode

官方文档中define command的时候command line中定义了 perfdata-file位置在/path/to/pnp4nagios/var/perfdata/下, 但是安装包自带的misccommand.cfg-example中默认是/path/to/pnp4nagios/var/下面..结果pnp4nagios就找不到数据文件了-_-#! 而且默认的pnp4nagios log是slient mode...

 =====

或许不算bug2

pnp4nagios的verify_pnp_config.pl是用来验证pnp4nagios的配置情况的, 但是路径信息是hardcode在脚本中的, make的时候貌似没改这个文件,手动修改路径信息才能让他正常的跑起来...

verify_pnp_config.pl参数说明如下:

Output starts with a letter with the following meaning:
[I] informational message about settings, ...
[A] actions to be taken
[W] warning message, will not affect the operation of PNP
[E] error message: PNP will not work without resolving the problem(s)
[H] hint: it might be worth reading the appropriate documentation
[D] debugging message, hopefully showing the source of your problem

-----

update:

将pnp4nagios的官方网站修改了一下, 这样按照官方文档, 从pnp4nagios/etc/misccommands.cfg里面直接复制到nagios/etc/objects/commands.cfg里面就不会出错了,修改后的地址见这里

No TrackBacks

TrackBack URL: http://blog.suchasplus.com/mt/mt-tb.cgi/246

Leave a comment