Nagios PHP MagpieRSS failed to parse RSS file
Posted: Wed Aug 01, 2012 2:53 am
I've installed nagios 3.4.1 on several Ubuntu 12.04 servers according to Quickstart,
apache2 is listening on port 9088; php5 has been installed, in localhost, web works normally.
Then, srever0 is responsible for monitoring server1 and server2.
I've installed nrpe,define my hosts and service and check_ping commands etc.
check_nrpe on server0, nrpe daemon on server1 and server2.
command line test is ok:
nagios@server0:/usr/local/nagios/etc$ ../libexec/check_nrpe -H server1 -c check_ping
PING OK - Packet loss = 0%, RTA = 0.03 ms|rta=0.029000ms;100.000000;500.000000;0.000000 pl=0%;20;60;0
nagios@server0:/usr/local/nagios/etc$ ../libexec/check_nrpe -H server2 -c check_ping
PING OK - Packet loss = 0%, RTA = 0.02 ms|rta=0.022000ms;100.000000;500.000000;0.000000 pl=0%;20;60;0
But in web interface, server1 and server2 host status is DOWN, all defined services are UNKNOWN,
apache2 log indicates PHP MagpieRSS failed to parse RSS file:
# less /var/log/apache2/error.log
......
[Wed Aug 01 14:58:38 2012] [error] [client *.*.*.*] Attribute without value at line 1, column 65, referer: http://front:9088/nagios/main.php
[Wed Aug 01 14:58:38 2012] [error] [client *.*.*.*] PHP Warning: MagpieRSS: Failed to parse RSS file. (Attribute without value at line 1, column 65) in /usr/local/nagios/share/includes/rss/rss_fetch.inc on line 238, referer: http://front:9088/nagios/main.php
Can anyone give some advice? thx!
apache2 is listening on port 9088; php5 has been installed, in localhost, web works normally.
Then, srever0 is responsible for monitoring server1 and server2.
I've installed nrpe,define my hosts and service and check_ping commands etc.
check_nrpe on server0, nrpe daemon on server1 and server2.
command line test is ok:
nagios@server0:/usr/local/nagios/etc$ ../libexec/check_nrpe -H server1 -c check_ping
PING OK - Packet loss = 0%, RTA = 0.03 ms|rta=0.029000ms;100.000000;500.000000;0.000000 pl=0%;20;60;0
nagios@server0:/usr/local/nagios/etc$ ../libexec/check_nrpe -H server2 -c check_ping
PING OK - Packet loss = 0%, RTA = 0.02 ms|rta=0.022000ms;100.000000;500.000000;0.000000 pl=0%;20;60;0
But in web interface, server1 and server2 host status is DOWN, all defined services are UNKNOWN,
apache2 log indicates PHP MagpieRSS failed to parse RSS file:
# less /var/log/apache2/error.log
......
[Wed Aug 01 14:58:38 2012] [error] [client *.*.*.*] Attribute without value at line 1, column 65, referer: http://front:9088/nagios/main.php
[Wed Aug 01 14:58:38 2012] [error] [client *.*.*.*] PHP Warning: MagpieRSS: Failed to parse RSS file. (Attribute without value at line 1, column 65) in /usr/local/nagios/share/includes/rss/rss_fetch.inc on line 238, referer: http://front:9088/nagios/main.php
Can anyone give some advice? thx!