Re: Ongoing CCM Problems
Posted: Sun Oct 24, 2010 8:31 pm
Ok - so I logged into NagiosXI, selected Core Config Manager and selected Hosts
error_log
access_log
Also noticed the following messages in the log files in /var/lib/pgsql/data/pg_log
There are no date stamps but the file was touched soon after I performed the above actions.
Checked pear and is installed on the nagios server. Do the versions correspond to your RedHat 5.5 install?
Checked the pear HTML Template IT package via yum and it shows that it is available from the epel repo but not installed:
so..... I have reinstalled RHEL5.5 from scratch again & then loaded NagiosXI again. It appears that the pear install command in 1-preqs script *does not work* via a proxy.
After I have completed the 1-prereqs script I run the following command to install the pear package.
and finally, 3 weeks later..... I have a working Core Config Manager
error_log
Code: Select all
[Mon Oct 25 09:25:29 2010] [error] [client 10.33.202.173] PHP Notice: Undefined index: port in /usr/local/nagiosxi/html/includes/pageparts.inc.php on line 314, referer: http://lxfm201nag/nagiosxi/login.php?redirect=/nagiosxi/index.php%3f
[Mon Oct 25 09:25:29 2010] [error] [client 10.33.202.173] PHP Notice: Undefined index: port in /usr/local/nagiosxi/html/includes/pageparts.inc.php on line 315, referer: http://lxfm201nag/nagiosxi/login.php?redirect=/nagiosxi/index.php%3f
Code: Select all
10.33.202.173 - - [25/Oct/2010:09:25:29 +0800] "GET /nagiosxi/index.php? HTTP/1.1" 200 18096 "http://lxfm201nag/nagiosxi/login.php?redirect=/nagiosxi/index.php%3f" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)"
10.33.202.173 - - [25/Oct/2010:09:25:30 +0800] "GET /nagiosxi//images/popout.png HTTP/1.1" 304 - "http://lxfm201nag/nagiosxi/index.php?" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)"
10.33.202.173 - - [25/Oct/2010:09:25:30 +0800] "GET /nagiosxi//images/addtomyviews.png HTTP/1.1" 304 - "http://lxfm201nag/nagiosxi/index.php?" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)"
10.33.202.173 - - [25/Oct/2010:09:25:30 +0800] "GET /nagiosxi/images/permalink.gif HTTP/1.1" 304 - "http://lxfm201nag/nagiosxi/includes/css/nagiosxi.css" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)"
10.33.202.173 - - [25/Oct/2010:09:25:30 +0800] "GET /nagiosxi/images/feedback.gif HTTP/1.1" 304 - "http://lxfm201nag/nagiosxi/includes/css/nagiosxi.css" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)"
10.33.202.173 - - [25/Oct/2010:09:25:30 +0800] "GET /nagiosxi/images/fullscreen.gif HTTP/1.1" 304 - "http://lxfm201nag/nagiosxi/includes/css/nagiosxi.css" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)"
10.33.202.173 - - [25/Oct/2010:09:25:30 +0800] "GET /nagiosxi/images/collapse.gif HTTP/1.1" 304 - "http://lxfm201nag/nagiosxi/includes/css/nagiosxi.css" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)"
10.33.202.173 - - [25/Oct/2010:09:25:30 +0800] "GET /nagiosxi//includes/page-home-main.php?&= HTTP/1.1" 200 12067 "http://lxfm201nag/nagiosxi/index.php?" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)"
10.33.202.173 - - [25/Oct/2010:09:25:30 +0800] "GET /nagiosxi/includes/js/jquery/colorpicker/js/utils.js HTTP/1.1" 304 - "http://lxfm201nag/nagiosxi//includes/page-home-main.php?&=" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)"
10.33.202.173 - - [25/Oct/2010:09:25:30 +0800] "GET /nagiosxi/includes/js/jquery/colorpicker/js/layout.js?ver=1.0.2 HTTP/1.1" 304 - "http://lxfm201nag/nagiosxi//includes/page-home-main.php?&=" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)"
10.33.202.173 - - [25/Oct/2010:09:25:30 +0800] "GET /nagiosxi/images/dashlet_unpin.gif HTTP/1.1" 304 - "http://lxfm201nag/nagiosxi/includes/css/nagiosxi.css" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)"
10.33.202.173 - - [25/Oct/2010:09:25:30 +0800] "GET /nagiosxi/images/dashlet_delete.gif HTTP/1.1" 304 - "http://lxfm201nag/nagiosxi/includes/css/nagiosxi.css" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)"
10.33.202.173 - - [25/Oct/2010:09:25:30 +0800] "GET /nagiosxi/includes/js/jquery/css/smoothness/images/ui-icons_222222_256x240.png HTTP/1.1" 304 - "http://lxfm201nag/nagiosxi/includes/js/jquery/css/smoothness/jquery-ui-1.7.2.custom.css" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)"
10.33.202.173 - - [25/Oct/2010:09:25:30 +0800] "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_server_stats_html%22%2C%22args%22%3A%22%22%7D&nsp=d218ea1c637f4d47330acb4a6559bf94 HTTP/1.1" 200 3990 "http://lxfm201nag/nagiosxi//includes/page-home-main.php?&=" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)"
10.33.202.173 - - [25/Oct/2010:09:25:30 +0800] "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_admin_tasks_html%22%2C%22args%22%3A%22%22%7D&nsp=d218ea1c637f4d47330acb4a6559bf94 HTTP/1.1" 200 1433 "http://lxfm201nag/nagiosxi//includes/page-home-main.php?&=" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)"
10.33.202.173 - - [25/Oct/2010:09:25:30 +0800] "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_getting_started_html%22%2C%22args%22%3A%22%22%7D&nsp=d218ea1c637f4d47330acb4a6559bf94 HTTP/1.1" 200 1342 "http://lxfm201nag/nagiosxi//includes/page-home-main.php?&=" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)"
10.33.202.173 - - [25/Oct/2010:09:25:31 +0800] "GET /nagiosxi/images/unknown_small.png HTTP/1.1" 304 - "http://lxfm201nag/nagiosxi//includes/page-home-main.php?&=" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)"
127.0.0.1 - - [25/Oct/2010:09:25:32 +0800] "POST /nagiosxi/backend/ HTTP/1.1" 200 101 "-" "BinGet/1.00.A (http://www.bin-co.com/php/scripts/load/)"
10.33.202.173 - - [25/Oct/2010:09:25:34 +0800] "GET /nagiosxi/config/ HTTP/1.1" 200 13385 "http://lxfm201nag/nagiosxi/index.php?" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)"
10.33.202.173 - - [25/Oct/2010:09:25:34 +0800] "GET /nagiosxi/images/menuredirect.png HTTP/1.1" 304 - "http://lxfm201nag/nagiosxi/config/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)"
10.33.202.173 - - [25/Oct/2010:09:25:34 +0800] "GET /nagiosxi/config/main.php?&= HTTP/1.1" 200 8640 "http://lxfm201nag/nagiosxi/config/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)"
10.33.202.173 - - [25/Oct/2010:09:25:35 +0800] "GET /nagiosxi/images/config-wizard.png HTTP/1.1" 304 - "http://lxfm201nag/nagiosxi/config/main.php?&=" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)"
10.33.202.173 - - [25/Oct/2010:09:25:35 +0800] "GET /nagiosxi/includes/components/xicore/images/subcomponents/nagioscorecfg.png HTTP/1.1" 304 - "http://lxfm201nag/nagiosxi/config/main.php?&=" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)"
10.33.202.173 - - [25/Oct/2010:09:25:35 +0800] "GET /nagiosxi/images/config-account.png HTTP/1.1" 304 - "http://lxfm201nag/nagiosxi/config/main.php?&=" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)"
10.33.202.173 - - [25/Oct/2010:09:25:37 +0800] "GET /nagiosxi/config/nagioscorecfg/ HTTP/1.1" 200 19218 "http://lxfm201nag/nagiosxi/config/main.php?&=" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)"
10.33.202.173 - - [25/Oct/2010:09:25:38 +0800] "GET /nagiosxi/images/expand.gif HTTP/1.1" 304 - "http://lxfm201nag/nagiosxi/includes/css/nagiosxi.css" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)"
10.33.202.173 - - [25/Oct/2010:09:25:38 +0800] "GET /nagiosxi//includes/components/nagioscorecfg/nagioscorecfg.php?dest=admin.php HTTP/1.1" 302 - "http://lxfm201nag/nagiosxi/config/nagioscorecfg/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)"
10.33.202.173 - - [25/Oct/2010:09:25:38 +0800] "GET /nagiosql/admin.php?menu=invisible HTTP/1.1" 200 - "http://lxfm201nag/nagiosxi/config/nagioscorecfg/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)"
There are no date stamps but the file was touched soon after I performed the above actions.
Code: Select all
ERROR: relation "xi_notifications" does not exist
ERROR: relation "xi_notifications" does not exist
ERROR: relation "xi_notifications" does not exist
ERROR: relation "xi_notifications" does not exist
ERROR: relation "xi_notifications" does not exist
ERROR: relation "xi_notifications" does not exist
Code: Select all
[root@lxfm201nag data]# pear version
PEAR Version: 1.4.9
PHP Version: 5.1.6
Zend Engine Version: 2.1.0
Running on: Linux lxfm201nag.hdwa.health.wa.gov.au 2.6.18-194.17.1.el5PAE #1 SMP Mon Sep 20 07:34:07 EDT 2010 i686
Code: Select all
php-pear-HTML-Template-IT.noarch 1.3.0-2.el5 epel
After I have completed the 1-prereqs script I run the following command to install the pear package.
Code: Select all
yum install php-pear-HTML-Template-IT.noarch