check_naf PNP Template
Posted: Wed Jan 09, 2013 8:04 am
After implementing check_naf.py in a XI installation I stumbled upon the following error wenn using the check_naf.php (+check_naf_helper.php) PNP Template that comes with it.
apache error.log:
Is it possible this is due to the "old" PNP Frontend Version used in XI? AFAIK a 0.4x version is used as the frontend part of PNP.
I was informed that this version of the plugin/template is working in Core with the latest stable PNP Version.
System:
Nagios XI Version : 2012R1.2
2.6.32-279.el6.x86_64 x86_64
CentOS release 6.3 (Final)
Gnome is not installed
Apache Information
PHP Version: 5.3.3
Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11
Nagios XI Data
nagios (pid 40197) is running...
NPCD running (pid 1590).
ndo2db (pid 1646) is running...
CPU Load 15: 0.52
Total Hosts: 87
Total Services: 216
apache error.log:
Code: Select all
PHP Fatal error: Using $this when not in object context in check_naf.php on line 19I was informed that this version of the plugin/template is working in Core with the latest stable PNP Version.
System:
Nagios XI Version : 2012R1.2
2.6.32-279.el6.x86_64 x86_64
CentOS release 6.3 (Final)
Gnome is not installed
Apache Information
PHP Version: 5.3.3
Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11
Nagios XI Data
nagios (pid 40197) is running...
NPCD running (pid 1590).
ndo2db (pid 1646) is running...
CPU Load 15: 0.52
Total Hosts: 87
Total Services: 216