I have installed Nagios Fusion, but I cant add a server to Nagios Fusion.
The webGUI doesnt say if there is an error or not, it just accept it and shows me an empty table.
[Mon May 05 14:43:51 2014] [error] [client 10.212.134.200] PHP Notice: unserialize(): Error at offset 5 of 39 bytes in /usr/local/nagiosfusion/html/includes/utils-xmlsysstat.inc.php on line 41, referer: http://10.10.10.2/nagiosfusion/admin/
[Mon May 05 14:43:51 2014] [error] [client 10.212.134.200] PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosfusion/html/includes/utils-xmlsysstat.inc.php on line 145, referer: http://10.10.10.2/nagiosfusion/admin/
[Mon May 05 14:43:51 2014] [error] [client 10.212.134.200] PHP Notice: unserialize(): Error at offset 5 of 168 bytes in /usr/local/nagiosfusion/html/includes/utils-xmlsysstat.inc.php on line 41, referer: http://10.10.10.2/nagiosfusion/admin/
[Mon May 05 14:43:51 2014] [error] [client 10.212.134.200] PHP Notice: unserialize(): Error at offset 5 of 39 bytes in /usr/local/nagiosfusion/html/includes/utils-xmlsysstat.inc.php on line 41, referer: http://10.10.10.2/nagiosfusion/admin/
[Mon May 05 14:43:51 2014] [error] [client 10.212.134.200] PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosfusion/html/includes/utils-xmlsysstat.inc.php on line 145, referer: http://10.10.10.2/nagiosfusion/admin/
[Mon May 05 14:43:51 2014] [error] [client 10.212.134.200] PHP Notice: unserialize(): Error at offset 5 of 39 bytes in /usr/local/nagiosfusion/html/includes/utils-xmlsysstat.inc.php on line 41, referer: http://10.10.10.2/nagiosfusion/admin/
[Mon May 05 14:43:51 2014] [error] [client 10.212.134.200] PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosfusion/html/includes/utils-xmlsysstat.inc.php on line 145, referer: http://10.10.10.2/nagiosfusion/admin/
Well, let's start with the basics. What OS and architecture are your fusion and nagios systems? Also what versions of XI and fusion are you presently using with this test?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Thanks for the reply, but I already fixed it with a clean install.
Another problem has surfaced though.. I can't seem to be getting any data on my Nagios Fusion.
I am using Red Hat on both systems (1 fusion V2012R1.7 and 1 Nagios XI V2012R2.9). I have read that you need to create
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
[root@localhost nagiosfusion]# tail /usr/local/nagiosfusion/var/poller.log
tail: cannot open `/usr/local/nagiosfusion/var/poller.log' for reading: No such file or directory
Think like there us a problem with poller.php . Below is the output generated while executing poller.php manually
[root@localhost nagiosfusion]# /usr/bin/php -q /usr/local/nagiosfusion/cron/poller.php
PHP Notice: unserialize(): Error at offset 5 of 314 bytes in /usr/local/nagiosfusion/html/includes/utils-servers.inc.php on line 379
PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosfusion/cron/poller.php on line 122
Polling Recent Alerts...
PHP Notice: unserialize(): Error at offset 5 of 314 bytes in /usr/local/nagiosfusion/html/includes/utils-servers.inc.php on line 379
PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosfusion/html/includes/utils-recentalerts.inc.php on line 29
Polling Top Alert Producers...
TRUNCATING topalertproducers table
PHP Notice: unserialize(): Error at offset 5 of 314 bytes in /usr/local/nagiosfusion/html/includes/utils-servers.inc.php on line 379
PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosfusion/html/includes/utils-topalertproducers.inc.php on line 36
2 callbacks run
...***GET DATA!***
RUNTIME: 30 INTERVAL: 30 POLL INTERVAL: 30
PHP Notice: unserialize(): Error at offset 5 of 314 bytes in /usr/local/nagiosfusion/html/includes/utils-servers.inc.php on line 379
PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosfusion/cron/poller.php on line 122
Polling Recent Alerts...
PHP Notice: unserialize(): Error at offset 5 of 314 bytes in /usr/local/nagiosfusion/html/includes/utils-servers.inc.php on line 379
PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosfusion/html/includes/utils-recentalerts.inc.php on line 29
2 callbacks run
Loop time: 0 seconds
...***GET DATA!***
RUNTIME: 60 INTERVAL: 30 POLL INTERVAL: 30
PHP Notice: unserialize(): Error at offset 5 of 314 bytes in /usr/local/nagiosfusion/html/includes/utils-servers.inc.php on line 379
PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosfusion/cron/poller.php on line 122
Polling Recent Alerts...
PHP Notice: unserialize(): Error at offset 5 of 314 bytes in /usr/local/nagiosfusion/html/includes/utils-servers.inc.php on line 379
PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosfusion/html/includes/utils-recentalerts.inc.php on line 29
2 callbacks run
Loop time: 1 seconds
[root@localhost nagiosfusion]# tail /usr/local/nagiosfusion/var/poller.log
tail: cannot open `/usr/local/nagiosfusion/var/poller.log' for reading: No such file or directory
Seems like issue is with poller.php. Below is the output of manual execution of poller.php
[root@localhost nagiosfusion]# /usr/bin/php -q /usr/local/nagiosfusion/cron/poller.php
PHP Notice: unserialize(): Error at offset 5 of 314 bytes in /usr/local/nagiosfusion/html/includes/utils-servers.inc.php on line 379
PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosfusion/cron/poller.php on line 122
Polling Recent Alerts...
PHP Notice: unserialize(): Error at offset 5 of 314 bytes in /usr/local/nagiosfusion/html/includes/utils-servers.inc.php on line 379
PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosfusion/html/includes/utils-recentalerts.inc.php on line 29
Polling Top Alert Producers...
TRUNCATING topalertproducers table
PHP Notice: unserialize(): Error at offset 5 of 314 bytes in /usr/local/nagiosfusion/html/includes/utils-servers.inc.php on line 379
PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosfusion/html/includes/utils-topalertproducers.inc.php on line 36
2 callbacks run
...***GET DATA!***
RUNTIME: 30 INTERVAL: 30 POLL INTERVAL: 30
PHP Notice: unserialize(): Error at offset 5 of 314 bytes in /usr/local/nagiosfusion/html/includes/utils-servers.inc.php on line 379
PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosfusion/cron/poller.php on line 122
Polling Recent Alerts...
PHP Notice: unserialize(): Error at offset 5 of 314 bytes in /usr/local/nagiosfusion/html/includes/utils-servers.inc.php on line 379
PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosfusion/html/includes/utils-recentalerts.inc.php on line 29
2 callbacks run
Loop time: 0 seconds
...***GET DATA!***
RUNTIME: 60 INTERVAL: 30 POLL INTERVAL: 30
PHP Notice: unserialize(): Error at offset 5 of 314 bytes in /usr/local/nagiosfusion/html/includes/utils-servers.inc.php on line 379
PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosfusion/cron/poller.php on line 122
Polling Recent Alerts...
PHP Notice: unserialize(): Error at offset 5 of 314 bytes in /usr/local/nagiosfusion/html/includes/utils-servers.inc.php on line 379
PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosfusion/html/includes/utils-recentalerts.inc.php on line 29
2 callbacks run
Loop time: 1 seconds