No shoes, no shirt, no services...
No shoes, no shirt, no services...
I've searched the postings and FAQs for an answer. I’ve found this posting which seems quite similar:
http://support.nagios.com/forum/viewtop ... f=6&t=1477
“monitoring wizard - No matching services found”
However, it doesn't solve our problem. I’m hoping there's an easy fix.
The problem is that:
• Although we were able to install 2014R2.0 easily,
• Although we were able to upgrade to 2014R2.1 easily,
• Although we are able to use both the “Monitor Wizard” and the “Core Configuration Manager” successfully,
• Although we can see the results of from the Core Configuration Manager”,
• Although we’re well experienced with the community version of Nagios3,
• We are unable to view anything of interest in the “Host Detail”, “Service Detail”, “Tactical Overview” screens. Neither 2014R2.0 nor 2014R2.1 produces any views.
I mean, we can see the Home and View screens OK (Tactical Overview, Host Detail, Service Detail, Host Group summary). It's just that the screens aren't populated: "No status information found." "No matching services found." "Showing 0-0 of 0 total records" & etc.
Additional Info:
We have a fresh vanilla Red Hat 6.6 server dedicated to Nagios XI, fully supported, with all extra channels enabled and all patches installed on a VMware vCenter Linux VM.
We've downloaded and installed the Source Installer, both 2014R2.0 and 2014R2.1. Both versions resulted in very clean build/installation/upgrade logs. Example:
DISTRO INFO:
RedHatEnterpriseServer
6.6
x86_64
THIS IS A NEW INSTALL!
INSTALLING:
full=2014R2.0
major=2014
The C compiler is happy too: gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-11)
The Configuration snapshots look fine.
Adding new services seems fine. For example:
Testing check from command line...
COMMAND: /usr/local/nagios/libexec/check_http -I 10.254.132.9
OUTPUT: HTTP WARNING: HTTP/1.1 403 Forbidden - 4184 bytes in 0.009 second response time |time=0.009292s;;;0.000000 size=4184B;;;0
From the original posted response: “Can you verify that the configuration files were created (and have data in them) for your new hosts and services. They will be located in the following directories.
/usr/local/nagios/etc/hosts
/usr/local/nagios/etc/services”
Yes, both configuration files look fine.
This does NOT look fine:
nagios02.clinipace.net/nagiosxi/backend/?cmd=getservicestatus
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<servicestatuslist>
<recordcount>0</recordcount>
</servicestatuslist>
The system is only lightly loaded and has plenty of memory and disk.
We've run the DB repair script for MySQL. It runs along like this:
...
- recovering (with sort) MyISAM-table 'nagios_timeperiod_timeranges.MYI'
Data records: 0
- Fixing index 1
- Fixing index 2
Starting mysqld: [ OK ]
~
===============
REPAIR COMPLETE
===============
Looks good. The end result, however, is just the same--empty views. I'm hoping there's some little linkage that's missing.
Thanks in advance for help and advice,
--Bill Yoder
http://support.nagios.com/forum/viewtop ... f=6&t=1477
“monitoring wizard - No matching services found”
However, it doesn't solve our problem. I’m hoping there's an easy fix.
The problem is that:
• Although we were able to install 2014R2.0 easily,
• Although we were able to upgrade to 2014R2.1 easily,
• Although we are able to use both the “Monitor Wizard” and the “Core Configuration Manager” successfully,
• Although we can see the results of from the Core Configuration Manager”,
• Although we’re well experienced with the community version of Nagios3,
• We are unable to view anything of interest in the “Host Detail”, “Service Detail”, “Tactical Overview” screens. Neither 2014R2.0 nor 2014R2.1 produces any views.
I mean, we can see the Home and View screens OK (Tactical Overview, Host Detail, Service Detail, Host Group summary). It's just that the screens aren't populated: "No status information found." "No matching services found." "Showing 0-0 of 0 total records" & etc.
Additional Info:
We have a fresh vanilla Red Hat 6.6 server dedicated to Nagios XI, fully supported, with all extra channels enabled and all patches installed on a VMware vCenter Linux VM.
We've downloaded and installed the Source Installer, both 2014R2.0 and 2014R2.1. Both versions resulted in very clean build/installation/upgrade logs. Example:
DISTRO INFO:
RedHatEnterpriseServer
6.6
x86_64
THIS IS A NEW INSTALL!
INSTALLING:
full=2014R2.0
major=2014
The C compiler is happy too: gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-11)
The Configuration snapshots look fine.
Adding new services seems fine. For example:
Testing check from command line...
COMMAND: /usr/local/nagios/libexec/check_http -I 10.254.132.9
OUTPUT: HTTP WARNING: HTTP/1.1 403 Forbidden - 4184 bytes in 0.009 second response time |time=0.009292s;;;0.000000 size=4184B;;;0
From the original posted response: “Can you verify that the configuration files were created (and have data in them) for your new hosts and services. They will be located in the following directories.
/usr/local/nagios/etc/hosts
/usr/local/nagios/etc/services”
Yes, both configuration files look fine.
This does NOT look fine:
nagios02.clinipace.net/nagiosxi/backend/?cmd=getservicestatus
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<servicestatuslist>
<recordcount>0</recordcount>
</servicestatuslist>
The system is only lightly loaded and has plenty of memory and disk.
We've run the DB repair script for MySQL. It runs along like this:
...
- recovering (with sort) MyISAM-table 'nagios_timeperiod_timeranges.MYI'
Data records: 0
- Fixing index 1
- Fixing index 2
Starting mysqld: [ OK ]
~
===============
REPAIR COMPLETE
===============
Looks good. The end result, however, is just the same--empty views. I'm hoping there's some little linkage that's missing.
Thanks in advance for help and advice,
--Bill Yoder
Re: No shoes, no shirt, no services...
Let's start with some simple things first:
Then wait about 15 minutes and see if things start populating.
Code: Select all
service nagios stop
rm -f /usr/local/nagios/var/retention.dat
service nagios start
service ndo2db restart
service mysqld restart
Former Nagios employee
Re: No shoes, no shirt, no services...
Run the following commands and show us the output in code wraps:
Code: Select all
service nagios restart
service nagios status
service ndo2db restart
service nnd2db status
service mysqld restart
service mysqld status
tail -50 /var/log/httpd/error_log
tail -50 /usr/local/nagios/var/nagios.log
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: No shoes, no shirt, no services...
Thank you, tmcdonald and lmiltchev.
I have followed both your instructions. The "simple things" commands ran to completion but effected no visible change. The output from the second set of commands follows:
The missing nn2db service and undefined indexes look suspect; the remaining output looks copacetic. Please share your analysis.
Thanks!
--Bill
I have followed both your instructions. The "simple things" commands ran to completion but effected no visible change. The output from the second set of commands follows:
Code: Select all
Script started on Mon 05 Jan 2015 07:37:24 AM EST
[root@nagios02 ~]# service nagios restart
Running configuration check...
Stopping nagios: done.
Starting nagios: done.
[root@nagios02 ~]# service nagios status
nagios (pid 11034) is running...
[root@nagios02 ~]# service ndo2db restart
Stopping ndo2db: head: cannot open `/usr/local/nagios/var/ndo2db.lock' for reading: No such file or directory
done.
Starting ndo2db: done.
[root@nagios02 ~]# service nnd2db status
nnd2db: unrecognized service
[root@nagios02 ~]# service mysqld restart
Stopping mysqld: OK
Starting mysqld: OK
[root@nagios02 ~]# service mysqld status
mysqld (pid 11262) is running...
[root@nagios02 ~]# tail -50 /var/log/httpd/error_log
[Mon Jan 05 07:35:45 2015] [error] [client 10.100.7.156] PHP Notice: Undefined index: min_latency in /usr/local/nagiosxi/html/includes/utils-xmlsysstat.inc.php on line 118, referer: http://nagios02.clinipace.net/nagiosxi/index.php?
[Mon Jan 05 07:35:45 2015] [error] [client 10.100.7.156] PHP Notice: Undefined index: max_latency in /usr/local/nagiosxi/html/includes/utils-xmlsysstat.inc.php on line 119, referer: http://nagios02.clinipace.net/nagiosxi/index.php?
[Mon Jan 05 07:35:45 2015] [error] [client 10.100.7.156] PHP Notice: Undefined index: avg_latency in /usr/local/nagiosxi/html/includes/utils-xmlsysstat.inc.php on line 120, referer: http://nagios02.clinipace.net/nagiosxi/index.php?
[Mon Jan 05 07:35:45 2015] [error] [client 10.100.7.156] PHP Notice: Undefined index: min_execution_time in /usr/local/nagiosxi/html/includes/utils-xmlsysstat.inc.php on line 121, referer: http://nagios02.clinipace.net/nagiosxi/index.php?
[Mon Jan 05 07:35:45 2015] [error] [client 10.100.7.156] PHP Notice: Undefined index: max_execution_time in /usr/local/nagiosxi/html/includes/utils-xmlsysstat.inc.php on line 122, referer: http://nagios02.clinipace.net/nagiosxi/index.php?
[Mon Jan 05 07:35:45 2015] [error] [client 10.100.7.156] PHP Notice: Undefined index: avg_execution_time in /usr/local/nagiosxi/html/includes/utils-xmlsysstat.inc.php on line 123, referer: http://nagios02.clinipace.net/nagiosxi/index.php?
[Mon Jan 05 07:35:45 2015] [error] [client 10.100.7.156] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 103, referer: http://nagios02.clinipace.net/nagiosxi/index.php?
[Mon Jan 05 07:35:45 2015] [error] [client 10.100.7.156] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 103, referer: http://nagios02.clinipace.net/nagiosxi/index.php?
[Mon Jan 05 07:35:45 2015] [error] [client 10.100.7.156] PHP Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utilsl.inc.php on line 523, referer: http://nagios02.clinipace.net/nagiosxi/index.php?
[Mon Jan 05 07:36:15 2015] [error] [client 10.100.7.156] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 103, referer: http://nagios02.clinipace.net/nagiosxi/index.php?
[Mon Jan 05 07:36:15 2015] [error] [client 10.100.7.156] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 103, referer: http://nagios02.clinipace.net/nagiosxi/index.php?
[Mon Jan 05 07:36:15 2015] [error] [client 10.100.7.156] PHP Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utilsl.inc.php on line 523, referer: http://nagios02.clinipace.net/nagiosxi/index.php?
[Mon Jan 05 07:36:25 2015] [error] [client 10.100.7.156] PHP Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utilsl.inc.php on line 523, referer: http://nagios02.clinipace.net/nagiosxi/includes/components/xicore/status.php?show=servicegroups&servicegroup=all&style=summary
[Mon Jan 05 07:36:25 2015] [error] [client 10.100.7.156] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 103, referer: http://nagios02.clinipace.net/nagiosxi/includes/components/xicore/status.php?show=servicegroups&servicegroup=all&style=summary
[Mon Jan 05 07:36:25 2015] [error] [client 10.100.7.156] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 103, referer: http://nagios02.clinipace.net/nagiosxi/includes/components/xicore/status.php?show=servicegroups&servicegroup=all&style=summary
[Mon Jan 05 07:36:25 2015] [error] [client 10.100.7.156] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 103, referer: http://nagios02.clinipace.net/nagiosxi/includes/components/xicore/status.php?show=servicegroups&servicegroup=all&style=summary
[Mon Jan 05 07:36:25 2015] [error] [client 10.100.7.156] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 103, referer: http://nagios02.clinipace.net/nagiosxi/includes/components/xicore/status.php?show=servicegroups&servicegroup=all&style=summary
[Mon Jan 05 07:36:25 2015] [error] [client 10.100.7.156] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 103, referer: http://nagios02.clinipace.net/nagiosxi/includes/components/xicore/status.php?show=servicegroups&servicegroup=all&style=summary
[Mon Jan 05 07:36:25 2015] [error] [client 10.100.7.156] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 103, referer: http://nagios02.clinipace.net/nagiosxi/includes/components/xicore/status.php?show=servicegroups&servicegroup=all&style=summary
[Mon Jan 05 07:36:25 2015] [error] [client 10.100.7.156] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 103, referer: http://nagios02.clinipace.net/nagiosxi/includes/components/xicore/status.php?show=servicegroups&servicegroup=all&style=summary
[Mon Jan 05 07:36:25 2015] [error] [client 10.100.7.156] PHP Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utilsl.inc.php on line 523, referer: http://nagios02.clinipace.net/nagiosxi/includes/components/xicore/status.php?show=servicegroups&servicegroup=all&style=summary
[Mon Jan 05 07:36:25 2015] [error] [client 10.100.7.156] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 103, referer: http://nagios02.clinipace.net/nagiosxi/includes/components/xicore/status.php?show=servicegroups&servicegroup=all&style=summary
[Mon Jan 05 07:36:25 2015] [error] [client 10.100.7.156] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 103, referer: http://nagios02.clinipace.net/nagiosxi/includes/components/xicore/status.php?show=servicegroups&servicegroup=all&style=summary
[Mon Jan 05 07:36:25 2015] [error] [client 10.100.7.156] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 103, referer: http://nagios02.clinipace.net/nagiosxi/includes/components/xicore/status.php?show=servicegroups&servicegroup=all&style=summary
[Mon Jan 05 07:36:25 2015] [error] [client 10.100.7.156] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 103, referer: http://nagios02.clinipace.net/nagiosxi/includes/components/xicore/status.php?show=servicegroups&servicegroup=all&style=summary
[Mon Jan 05 07:36:25 2015] [error] [client 10.100.7.156] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 103, referer: http://nagios02.clinipace.net/nagiosxi/includes/components/xicore/status.php?show=servicegroups&servicegroup=all&style=summary
[Mon Jan 05 07:36:25 2015] [error] [client 10.100.7.156] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 103, referer: http://nagios02.clinipace.net/nagiosxi/includes/components/xicore/status.php?show=servicegroups&servicegroup=all&style=summary
[Mon Jan 05 07:36:25 2015] [error] [client 10.100.7.156] PHP Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utilsl.inc.php on line 523, referer: http://nagios02.clinipace.net/nagiosxi/includes/components/xicore/status.php?show=servicegroups&servicegroup=all&style=summary
[Mon Jan 05 07:36:45 2015] [error] [client 10.100.7.156] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 103, referer: http://nagios02.clinipace.net/nagiosxi/index.php?
[Mon Jan 05 07:36:45 2015] [error] [client 10.100.7.156] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 103, referer: http://nagios02.clinipace.net/nagiosxi/index.php?
[Mon Jan 05 07:36:45 2015] [error] [client 10.100.7.156] PHP Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utilsl.inc.php on line 523, referer: http://nagios02.clinipace.net/nagiosxi/index.php?
[Mon Jan 05 07:37:15 2015] [error] [client 10.100.7.156] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 103, referer: http://nagios02.clinipace.net/nagiosxi/index.php?
[Mon Jan 05 07:37:15 2015] [error] [client 10.100.7.156] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 103, referer: http://nagios02.clinipace.net/nagiosxi/index.php?
[Mon Jan 05 07:37:15 2015] [error] [client 10.100.7.156] PHP Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utilsl.inc.php on line 523, referer: http://nagios02.clinipace.net/nagiosxi/index.php?
[Mon Jan 05 07:37:25 2015] [error] [client 10.100.7.156] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 103, referer: http://nagios02.clinipace.net/nagiosxi/includes/components/xicore/status.php?show=servicegroups&servicegroup=all&style=summary
[Mon Jan 05 07:37:25 2015] [error] [client 10.100.7.156] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 103, referer: http://nagios02.clinipace.net/nagiosxi/includes/components/xicore/status.php?show=servicegroups&servicegroup=all&style=summary
[Mon Jan 05 07:37:25 2015] [error] [client 10.100.7.156] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 103, referer: http://nagios02.clinipace.net/nagiosxi/includes/components/xicore/status.php?show=servicegroups&servicegroup=all&style=summary
[Mon Jan 05 07:37:25 2015] [error] [client 10.100.7.156] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 103, referer: http://nagios02.clinipace.net/nagiosxi/includes/components/xicore/status.php?show=servicegroups&servicegroup=all&style=summary
[Mon Jan 05 07:37:25 2015] [error] [client 10.100.7.156] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 103, referer: http://nagios02.clinipace.net/nagiosxi/includes/components/xicore/status.php?show=servicegroups&servicegroup=all&style=summary
[Mon Jan 05 07:37:25 2015] [error] [client 10.100.7.156] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 103, referer: http://nagios02.clinipace.net/nagiosxi/includes/components/xicore/status.php?show=servicegroups&servicegroup=all&style=summary
[Mon Jan 05 07:37:25 2015] [error] [client 10.100.7.156] PHP Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utilsl.inc.php on line 523, referer: http://nagios02.clinipace.net/nagiosxi/includes/components/xicore/status.php?show=servicegroups&servicegroup=all&style=summary
[Mon Jan 05 07:37:25 2015] [error] [client 10.100.7.156] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 103, referer: http://nagios02.clinipace.net/nagiosxi/includes/components/xicore/status.php?show=servicegroups&servicegroup=all&style=summary
[Mon Jan 05 07:37:25 2015] [error] [client 10.100.7.156] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 103, referer: http://nagios02.clinipace.net/nagiosxi/includes/components/xicore/status.php?show=servicegroups&servicegroup=all&style=summary
[Mon Jan 05 07:37:25 2015] [error] [client 10.100.7.156] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 103, referer: http://nagios02.clinipace.net/nagiosxi/includes/components/xicore/status.php?show=servicegroups&servicegroup=all&style=summary
[Mon Jan 05 07:37:25 2015] [error] [client 10.100.7.156] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 103, referer: http://nagios02.clinipace.net/nagiosxi/includes/components/xicore/status.php?show=servicegroups&servicegroup=all&style=summary
[Mon Jan 05 07:37:25 2015] [error] [client 10.100.7.156] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 103, referer: http://nagios02.clinipace.net/nagiosxi/includes/components/xicore/status.php?show=servicegroups&servicegroup=all&style=summary
[Mon Jan 05 07:37:25 2015] [error] [client 10.100.7.156] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 103, referer: http://nagios02.clinipace.net/nagiosxi/includes/components/xicore/status.php?show=servicegroups&servicegroup=all&style=summary
[Mon Jan 05 07:37:25 2015] [error] [client 10.100.7.156] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 103, referer: http://nagios02.clinipace.net/nagiosxi/includes/components/xicore/status.php?show=servicegroups&servicegroup=all&style=summary
[Mon Jan 05 07:37:25 2015] [error] [client 10.100.7.156] PHP Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utilsl.inc.php on line 523, referer: http://nagios02.clinipace.net/nagiosxi/includes/components/xicore/status.php?show=servicegroups&servicegroup=all&style=summary
[Mon Jan 05 07:37:25 2015] [error] [client 10.100.7.156] PHP Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /usr/local/nagiosxi/html/includes/utilsl.inc.php on line 523, referer: http://nagios02.clinipace.net/nagiosxi/includes/components/xicore/status.php?show=servicegroups&servicegroup=all&style=summary
[root@nagios02 ~]# tail -50 /usr/local/nagios/var/nagios.log
[1420460900] nerd: Channel opathchecks registered successfully
[1420460900] nerd: Fully initialized and ready to rock!
[1420460900] wproc: Successfully registered manager as @wproc with query handler
[1420460900] wproc: Registry request: name=Core Worker 8185;pid=8185
[1420460900] wproc: Registry request: name=Core Worker 8186;pid=8186
[1420460900] wproc: Registry request: name=Core Worker 8190;pid=8190
[1420460900] wproc: Registry request: name=Core Worker 8188;pid=8188
[1420460900] wproc: Registry request: name=Core Worker 8189;pid=8189
[1420460900] wproc: Registry request: name=Core Worker 8187;pid=8187
[1420460901] Successfully launched command file worker with pid 8192
[1420461303] Caught SIGTERM, shutting down...
[1420461303] Successfully shutdown... (PID=8183)
[1420461303] Event broker module 'NERD' deinitialized successfully.
[1420461303] Nagios 4.0.8 starting... (PID=10161)
[1420461303] Local time is Mon Jan 05 07:35:03 EST 2015
[1420461303] LOG VERSION: 2.0
[1420461303] qh: Socket '/usr/local/nagios/var/rw/nagios.qh' successfully initialized
[1420461303] qh: core query handler registered
[1420461303] nerd: Channel hostchecks registered successfully
[1420461303] nerd: Channel servicechecks registered successfully
[1420461303] nerd: Channel opathchecks registered successfully
[1420461303] nerd: Fully initialized and ready to rock!
[1420461303] wproc: Successfully registered manager as @wproc with query handler
[1420461303] wproc: Registry request: name=Core Worker 10163;pid=10163
[1420461303] wproc: Registry request: name=Core Worker 10164;pid=10164
[1420461303] wproc: Registry request: name=Core Worker 10169;pid=10169
[1420461303] wproc: Registry request: name=Core Worker 10167;pid=10167
[1420461303] wproc: Registry request: name=Core Worker 10165;pid=10165
[1420461303] wproc: Registry request: name=Core Worker 10166;pid=10166
[1420461303] Successfully launched command file worker with pid 10178
[1420461451] Caught SIGTERM, shutting down...
[1420461451] Successfully shutdown... (PID=10161)
[1420461451] Event broker module 'NERD' deinitialized successfully.
[1420461452] Nagios 4.0.8 starting... (PID=11034)
[1420461452] Local time is Mon Jan 05 07:37:32 EST 2015
[1420461452] LOG VERSION: 2.0
[1420461452] qh: Socket '/usr/local/nagios/var/rw/nagios.qh' successfully initialized
[1420461452] qh: core query handler registered
[1420461452] nerd: Channel hostchecks registered successfully
[1420461452] nerd: Channel servicechecks registered successfully
[1420461452] nerd: Channel opathchecks registered successfully
[1420461452] nerd: Fully initialized and ready to rock!
[1420461452] wproc: Successfully registered manager as @wproc with query handler
[1420461452] wproc: Registry request: name=Core Worker 11036;pid=11036
[1420461452] wproc: Registry request: name=Core Worker 11037;pid=11037
[1420461452] wproc: Registry request: name=Core Worker 11040;pid=11040
[1420461452] wproc: Registry request: name=Core Worker 11041;pid=11041
[1420461452] wproc: Registry request: name=Core Worker 11039;pid=11039
[1420461452] wproc: Registry request: name=Core Worker 11038;pid=11038
[1420461452] Successfully launched command file worker with pid 11046
[root@nagios02 ~]# exit
Script done on Mon 05 Jan 2015 07:37:44 AM EST
Thanks!
--Bill
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: No shoes, no shirt, no services...
The nn2db service was actually supposed to be ndo2db again, not a separate service. As for the apache errors, I would suggest updating to revision 2.3, as long as mysql and ndo2db are started properly, I believe 2.3 should resolve most if not all of these issues.
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.
Re: No shoes, no shirt, no services...
Hi, Spenser:
The Web UI upgrade was awesome. Easy and clean.
So we've jumped from 2014R2.1 to 2014R2.3. The update log follows. Unfortunately, although the configuration settings all look good, we are still unable to see any entries in the View screens (Tactical Overview, Host Detail, Service Detail, etc.) They all show 0 Hosts, 0 Services, etc. There has got to be a simple answer to this problem--just don't know what it is.
Thanks,
--Bill
The Web UI upgrade was awesome. Easy and clean.
So we've jumped from 2014R2.1 to 2014R2.3. The update log follows. Unfortunately, although the configuration settings all look good, we are still unable to see any entries in the View screens (Tactical Overview, Host Detail, Service Detail, etc.) They all show 0 Hosts, 0 Services, etc. There has got to be a simple answer to this problem--just don't know what it is.
Thanks,
--Bill
Code: Select all
---- Starting Nagios XI Backup ----
No entry for terminal type "unknown";
using dumb terminal settings.
Backing up Core Config Manager (NagiosQL)...
tar: Removing leading `/' from member names
tar: Removing leading `/' from member names
Backing up Nagios Core...
tar: Removing leading `/' from member names
tar: /usr/local/nagios/var/rw/nagios.qh: socket ignored
tar: /usr/local/nagios/var/ndo.sock: socket ignored
Backing up Nagios XI...
tar: Removing leading `/' from member names
Backing up MRTG...
tar: Removing leading `/' from member names
Backing up NRDP...
tar: Removing leading `/' from member names
Backing up MySQL databases...
Backing up PostgresQL databases...
Backing up logrotate config files...
Backing up Apache config files...
Compressing backup...
===============
BACKUP COMPLETE
===============
Backup stored in /store/backups/nagiosxi/autoupgrade_backup..tar.gz
---- Starting Nagios XI Upgrade ----
Cleaning up temp directory...
Downloading Latest Nagios XI Tarball...
No entry for terminal type "unknown";
using dumb terminal settings.
No entry for terminal type "unknown";
using dumb terminal settings.
Checking required prereqs...
Please wait...
OLD VERSION: 410
NAGIOSCORE
Applying Nagios XI patches to Nagios Core...
patching file nagios-4.0.8/cgi/Makefile.in
Hunk #1 succeeded at 40 with fuzz 2 (offset 1 line).
Hunk #2 succeeded at 135 (offset -16 lines).
Hunk #3 succeeded at 165 with fuzz 2 (offset -13 lines).
patching file nagios-4.0.8/common/macros.c
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether make sets $(MAKE)... yes
checking for strip... /usr/bin/strip
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking socket.h usability... no
checking socket.h presence... no
checking for socket.h... no
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for sys/types.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for sys/wait.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/msg.h usability... yes
checking sys/msg.h presence... yes
checking for sys/msg.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking uio.h usability... no
checking uio.h presence... no
checking for uio.h... no
checking for unistd.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for an ANSI C-conforming const... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking return type of signal handlers... void
checking for uid_t in sys/types.h... yes
checking type of array argument to getgroups... gid_t
checking for va_copy... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for asprintf... yes
checking for vasprintf... yes
checking for C99 vsnprintf... yes
checking for library containing getservbyname... none required
checking for library containing connect... none required
checking for initgroups... yes
checking for setenv... yes
checking for strdup... yes
checking for strstr... yes
checking for strtoul... yes
checking for unsetenv... yes
checking for type of socket size... size_t
checking for library containing nanosleep... none required
checking for mail... /bin/mail
checking for glibc at least version 2.4... yes
checking sys/epoll.h usability... yes
checking sys/epoll.h presence... yes
checking for sys/epoll.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for main in -liconv... no
checking for gdImagePng in -lgd (order 1)... no
checking for gdImagePng in -lgd (order 2)... yes
GD library was found!
checking for gdImageCreateTrueColor in -lgd... yes
checking ltdl.h usability... no
checking ltdl.h presence... no
checking for ltdl.h... no
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dlopen in -ldl... yes
checking for extra flags needed to export symbols... -Wl,-export-dynamic
checking for linker flags for loadable modules... -shared
checking for traceroute... /bin/traceroute
checking for type va_list... yes
checking for perl... /usr/bin/perl
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating subst
config.status: creating pkginfo
config.status: creating base/Makefile
config.status: creating common/Makefile
config.status: creating contrib/Makefile
config.status: creating cgi/Makefile
config.status: creating html/Makefile
config.status: creating module/Makefile
config.status: creating worker/Makefile
config.status: creating worker/ping/Makefile
config.status: creating xdata/Makefile
config.status: creating daemon-init
config.status: creating t/Makefile
config.status: creating t-tap/Makefile
config.status: creating include/config.h
config.status: creating lib/snprintf.h
config.status: creating lib/iobroker.h
Creating sample config files in sample-config/ ...
*** Configuration summary for nagios 4.0.8 08-12-2014 ***:
General Options:
-------------------------
Nagios executable: nagios
Nagios user/group: nagios,nagios
Command user/group: nagios,nagcmd
Event Broker: yes
Install ${prefix}: /usr/local/nagios
Install ${includedir}: /usr/local/nagios/include/nagios
Lock file: ${prefix}/var/nagios.lock
Check result directory: ${prefix}/var/spool/checkresults
Init directory: /etc/rc.d/init.d
Apache conf.d directory: /etc/httpd/conf.d
Mail program: /bin/mail
Host OS: linux-gnu
IOBroker Method: epoll
Web Interface Options:
------------------------
HTML URL: http://localhost/nagios/
CGI URL: http://localhost/nagios/cgi-bin/
Traceroute (used by WAP): /bin/traceroute
Review the options above for accuracy. If they look okay,
type 'make all' to compile the main program and CGIs.
cd ./base && make
make[1]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/base'
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o nagios.o nagios.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o broker.o broker.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o nebmods.o nebmods.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o ../common/shared.o ../common/shared.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o nerd.o nerd.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o query-handler.o query-handler.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o workers.o workers.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o checks.o checks.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o config.o config.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o commands.o commands.c
commands.c: In function ‘process_passive_service_check’:
commands.c:2247: warning: assignment discards qualifiers from pointer target type
commands.c: In function ‘process_passive_host_check’:
commands.c:2339: warning: assignment discards qualifiers from pointer target type
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o events.o events.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o flapping.o flapping.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o logging.o logging.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o macros-base.o ../common/macros.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o netutils.o netutils.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o notifications.o notifications.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o sehandlers.o sehandlers.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o utils.o utils.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o retention-base.o sretention.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xretention-base.o ../xdata/xrddefault.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o comments-base.o ../common/comments.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xcomments-base.o ../xdata/xcddefault.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o objects-base.o ../common/objects.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xobjects-base.o ../xdata/xodtemplate.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o statusdata-base.o ../common/statusdata.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xstatusdata-base.o ../xdata/xsddefault.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o perfdata-base.o perfdata.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xperfdata-base.o ../xdata/xpddefault.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o downtime-base.o ../common/downtime.c
make -C ../lib
make[2]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/lib'
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c squeue.c -o squeue.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c kvvec.c -o kvvec.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c iocache.c -o iocache.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c iobroker.c -o iobroker.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c bitmap.c -o bitmap.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c dkhash.c -o dkhash.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c runcmd.c -o runcmd.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c nsutils.c -o nsutils.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c fanout.c -o fanout.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c pqueue.c -o pqueue.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c worker.c -o worker.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c skiplist.c -o skiplist.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c nsock.c -o nsock.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c nspath.c -o nspath.o
ar cr libnagios.a squeue.o kvvec.o iocache.o iobroker.o bitmap.o dkhash.o runcmd.o nsutils.o fanout.o pqueue.o worker.o skiplist.o nsock.o nspath.o
make[2]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/lib'
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.o broker.o nebmods.o ../common/shared.o nerd.o query-handler.o workers.o checks.o config.o commands.o events.o flapping.o logging.o macros-base.o netutils.o notifications.o sehandlers.o utils.o retention-base.o xretention-base.o comments-base.o xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o perfdata-base.o xperfdata-base.o downtime-base.o -Wl,-export-dynamic -lm -ldl ../lib/libnagios.a
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagiostats nagiostats.c -lm ../lib/libnagios.a
make[1]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/base'
cd ./cgi && make
make[1]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/cgi'
Makefile:169: warning: overriding commands for target `tac-xml.cgi'
Makefile:166: warning: ignoring old commands for target `tac-xml.cgi'
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o getcgi.o getcgi.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o cgiutils.o cgiutils.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o cgiauth.o cgiauth.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o macros-cgi.o ../common/macros.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o objects-cgi.o ../common/objects.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o xobjects-cgi.o ../xdata/xodtemplate.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o statusdata-cgi.o ../common/statusdata.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o xstatusdata-cgi.o ../xdata/xsddefault.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o comments-cgi.o ../common/comments.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o downtime-cgi.o ../common/downtime.c
../common/downtime.c:194: warning: ‘downtime_remove’ defined but not used
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -DJSON_NAGIOS_4X -c -o archiveutils.o archiveutils.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -DJSON_NAGIOS_4X -c -o jsonutils.o jsonutils.c
jsonutils.c: In function ‘json_object_append_string’:
jsonutils.c:525: warning: second parameter of ‘va_start’ not last named argument
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -DJSON_NAGIOS_4X -o archivejson.cgi archivejson.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a archiveutils.o jsonutils.o
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o avail.cgi avail.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o extcmd_list.o extcmd_list.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o cmd.cgi cmd.c extcmd_list.o ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o config.cgi config.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o extinfo.cgi extinfo.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o history.cgi history.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o notifications.cgi notifications.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -DJSON_NAGIOS_4X -o objectjson.cgi objectjson.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a jsonutils.o
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o outages.cgi outages.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o showlog.cgi showlog.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o status.cgi status.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -DJSON_NAGIOS_4X -o statusjson.cgi statusjson.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a jsonutils.o
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o statuswml.cgi statuswml.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o summary.cgi summary.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o tac.cgi tac.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o tac-xml.cgi tac-xml.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
tac-xml.c: In function ‘main’:
tac-xml.c:189: warning: unused variable ‘sound’
tac-xml.c: In function ‘display_tac_overview’:
tac-xml.c:861: warning: unused variable ‘service_health_image’
tac-xml.c:860: warning: unused variable ‘host_health_image’
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o status-json.cgi status-json.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
status-json.c: In function ‘main’:
status-json.c:139: warning: unused variable ‘network_outages’
status-json.c:684: warning: control reaches end of non-void function
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o outages-xml.cgi outages-xml.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
outages-xml.c: In function ‘main’:
outages-xml.c:102: warning: unused variable ‘result’
outages-xml.c: In function ‘display_network_outages’:
outages-xml.c:224: warning: unused variable ‘status’
outages-xml.c:223: warning: unused variable ‘bg_class’
outages-xml.c:222: warning: unused variable ‘odd’
outages-xml.c:216: warning: unused variable ‘temp_buffer’
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o statuswrl.cgi statuswrl.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a -lm
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o statusmap.cgi statusmap.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a -lgd -lpng -ljpeg -lz -lm
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o trends.cgi trends.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a -lgd -lpng -ljpeg -lz -lm
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o histogram.cgi histogram.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a -lgd -lpng -ljpeg -lz -lm
make[1]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/cgi'
cd ./html && make
make[1]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/html'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/html'
if [ xyes = xyes ]; then \
cd ./module && make; \
fi
make[1]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/module'
gcc -I.. -fPIC -g -O2 -DHAVE_CONFIG_H -o helloworld.o helloworld.c -shared
make[1]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/module'
cd ./worker && make all
make[1]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/worker'
cd ./ping && make all
make[2]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/worker/ping'
gcc -I.. -I ../../include -I ../.. -g -O2 -DHAVE_CONFIG_H -o worker-ping worker-ping.c -L ../../lib -l nagios
make[2]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/worker/ping'
make[1]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/worker'
*** Compile finished ***
If the main program and CGIs compiled without any errors, you
can continue with installing Nagios as follows (type 'make'
without any arguments for a list of all possible options):
make install
- This installs the main program, CGIs, and HTML files
make install-init
- This installs the init script in /etc/rc.d/init.d
make install-commandmode
- This installs and configures permissions on the
directory for holding the external command file
make install-config
- This installs *SAMPLE* config files in /usr/local/nagios/etc
You'll have to modify these sample files before you can
use Nagios. Read the HTML documentation for more info
on doing this. Pay particular attention to the docs on
object configuration files, as they determine what/how
things get monitored!
make install-webconf
- This installs the Apache config file for the Nagios
web interface
make install-exfoliation
- This installs the Exfoliation theme for the Nagios
web interface
make install-classicui
- This installs the classic theme for the Nagios
web interface
*** Support Notes *******************************************
If you have questions about configuring or running Nagios,
please make sure that you:
- Look at the sample config files
- Read the documentation on the Nagios Library at:
http://library.nagios.com
before you post a question to one of the mailing lists.
Also make sure to include pertinent information that could
help others help you. This might include:
- What version of Nagios you are using
- What version of the plugins you are using
- Relevant snippets from your config files
- Relevant error messages from the Nagios log file
For more information on obtaining support for Nagios, visit:
http://support.nagios.com
*************************************************************
Enjoy.
cd ./base && make install
make[1]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/base'
make install-basic
make[2]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/base'
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin
/usr/bin/install -c -m 774 -o nagios -g nagios nagios /usr/local/nagios/bin
/usr/bin/install -c -m 774 -o nagios -g nagios nagiostats /usr/local/nagios/bin
make[2]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/base'
make strip-post-install
make[2]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/base'
/usr/bin/strip /usr/local/nagios/bin/nagios
/usr/bin/strip /usr/local/nagios/bin/nagiostats
make[2]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/base'
make[1]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/base'
cd ./cgi && make install
make[1]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/cgi'
Makefile:169: warning: overriding commands for target `tac-xml.cgi'
Makefile:166: warning: ignoring old commands for target `tac-xml.cgi'
make install-basic
make[2]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/cgi'
Makefile:169: warning: overriding commands for target `tac-xml.cgi'
Makefile:166: warning: ignoring old commands for target `tac-xml.cgi'
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/sbin
for file in *.cgi; do \
/usr/bin/install -c -m 775 -o nagios -g nagios $file /usr/local/nagios/sbin; \
done
make[2]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/cgi'
make strip-post-install
make[2]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/cgi'
Makefile:169: warning: overriding commands for target `tac-xml.cgi'
Makefile:166: warning: ignoring old commands for target `tac-xml.cgi'
for file in *.cgi; do \
/usr/bin/strip /usr/local/nagios/sbin/$file; \
done
make[2]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/cgi'
make[1]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/cgi'
cd ./html && make install
make[1]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/html'
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/media
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/stylesheets
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/contexthelp
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/docs
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/docs/images
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/js
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/images
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/images/logos
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/includes
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/includes/rss
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/includes/rss/extlib
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/ssi
/usr/bin/install -c -m 664 -o nagios -g nagios robots.txt /usr/local/nagios/share
rm -f /usr/local/nagios/share/index.html
rm -f /usr/local/nagios/share/main.html
rm -f /usr/local/nagios/share/side.html
/usr/bin/install -c -m 664 -o nagios -g nagios jsonquery.html /usr/local/nagios/share
/usr/bin/install -c -m 664 -o nagios -g nagios rss-corefeed.html /usr/local/nagios/share
/usr/bin/install -c -m 664 -o nagios -g nagios rss-newsfeed.html /usr/local/nagios/share
for file in *.php; \
do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share; done
for file in stylesheets/*.css; \
do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/stylesheets; done
for file in contexthelp/*.html; \
do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/contexthelp; done
for file in js/*.js; \
do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/js; done
for file in images/*.gif; \
do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done
for file in images/*.jpg; \
do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done
for file in images/*.png; \
do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done
for file in images/*.ico; \
do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done
for file in images/logos/*.*; \
do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images/logos; done
for file in includes/*.*; \
do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/includes; done
for file in includes/rss/*.*; \
do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/includes/rss; done
for file in includes/rss/extlib/*.*; \
do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/includes/rss/extlib; done
make[1]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/html'
make install-exfoliation
make[1]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8'
cp -rf contrib/exfoliation/stylesheets/* /usr/local/nagios/share/stylesheets
cp -rf contrib/exfoliation/images/* /usr/local/nagios/share/images
*** Exfoliation theme installed ***
NOTE: Use 'make install-classicui' to revert to classic Nagios theme
make[1]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8'
make install-basic
make[1]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8'
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/var
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/var/archives
/usr/bin/install -c -m 775 -o nagios -g nagcmd -d /usr/local/nagios/var/spool/checkresults
chmod g+s /usr/local/nagios/var/spool/checkresults
*** Main program, CGIs and HTML files installed ***
You can continue with installing Nagios as follows (type 'make'
without any arguments for a list of all possible options):
make install-init
- This installs the init script in /etc/rc.d/init.d
make install-commandmode
- This installs and configures permissions on the
directory for holding the external command file
make install-config
- This installs sample config files in /usr/local/nagios/etc
make[1]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8'
/usr/bin/install -c -m 755 -d -o root -g root /etc/rc.d/init.d
/usr/bin/install -c -m 755 -o root -g root daemon-init /etc/rc.d/init.d/nagios
*** Init script installed ***
Running configuration check...
Stopping nagios: done.
Starting nagios: done.
no crontab for nagios
no crontab for root
No entry for terminal type "unknown";
using dumb terminal settings.
Archive: sourceguardian/ixed4.lin.x86-64.zip
inflating: /usr/lib64/php/modules/ixed.5.3.lin
Sourceguardian extension found for PHP version 5.3
Sourceguardian extension already in php.ini
Copying over new XI directory...
/bin/chown: cannot access `/usr/local/nagiosxi/tmp/*.zip': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/tmp/*.zip': No such file or directory
Building latest perms binary...
Updating NagiosQL...
NAGIOSQL-POST
No entry for terminal type "unknown";
using dumb terminal settings.
Patching NDOUtils...
NDOUtils already patched at level 103
Updating sequences...
Nagios XI Postgres Database Sequence Information
OLD VALUES
--------------
xi_commands_command_id_seq = 64
xi_events_event_id_seq = 1
xi_meta_meta_id_seq = 8
xi_options_option_id_seq = 142
xi_sysstat_sysstat_id_seq = 101
xi_usermeta_usermeta_id_seq = 496
xi_users_user_id_seq = 50
NEW VALUES
--------------
xi_commands_command_id_seq = 64
xi_events_event_id_seq = 1
xi_meta_meta_id_seq = 8
xi_options_option_id_seq = 142
xi_sysstat_sysstat_id_seq = 101
xi_usermeta_usermeta_id_seq = 496
xi_users_user_id_seq = 50
Installing new PNP templates...
Updating init script...
Enabling large install tweaks...
Fixing config file permissions...
Fixing htpasswd permissions...
Checking group memberships...
Installing new XI templates...
No entry for terminal type "unknown";
using dumb terminal settings.
URL: http://localhost/nagiosxi/includes/components/ccm/
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&username=nagiosxi&password=n@gweb' -O nagiosql.login--2015-01-06 09:49:19-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “nagiosql.login”
0K .......... . 1001K=0.01s
2015-01-06 09:49:19 (1001 KB/s) - “nagiosql.login” saved [11276]
LOGIN SUCCESSFUL!
No entry for terminal type "unknown";
using dumb terminal settings.
IMPORTING CONFIG FILES...URL: http://localhost/nagiosxi/includes/components/ccm/
Array
(
[0] => xi_timeperiod_24x7.cfg
)
IMPORTING /usr/local/nagios/etc/import/xi_timeperiod_24x7.cfg
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'cmd=admin&type=import&importsubmitted=true&chbOverwrite=1&selImportFile[]=/usr/local/nagios/etc/import/xi_timeperiod_24x7.cfg' -O nagiosql.import.monitoring
--2015-01-06 09:49:19-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “nagiosql.import.monitoring”
0K .......... ...... 82.3K=0.2s
2015-01-06 09:49:19 (82.3 KB/s) - “nagiosql.import.monitoring” saved [16924]
RESETTING PERMS
SETUID ROOT OK
No entry for terminal type "unknown";
using dumb terminal settings.
URL: http://localhost/nagiosxi/includes/components/ccm/
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&username=nagiosxi&password=n@gweb' -O nagiosql.login--2015-01-06 09:49:19-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “nagiosql.login”
0K .......... . 1.05M=0.01s
2015-01-06 09:49:20 (1.05 MB/s) - “nagiosql.login” saved [11276]
LOGIN SUCCESSFUL!
No entry for terminal type "unknown";
using dumb terminal settings.
URL: http://localhost/nagiosxi/includes/components/ccm/
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'cmd=apply&type=writeConfig' -O nagiosql.export.monitoring
--2015-01-06 09:49:20-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “nagiosql.export.monitoring”
0K .......... ... 45.1K=0.3s
2015-01-06 09:49:20 (45.1 KB/s) - “nagiosql.export.monitoring” saved [14130]
WRITE CONFIGS SUCCESSFUL!
OUTPUT:
Nagios Core 4.0.8
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-12-2014
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Read object config files okay...
Running pre-flight check on configuration data...
Checking objects...
Checked 8 services.
Checked 1 hosts.
Checked 1 host groups.
Checked 0 service groups.
Checked 1 contacts.
Checked 1 contact groups.
Checked 24 commands.
Checked 5 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 1 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 5 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
RET: 0
Running configuration check...
Stopping nagios:. done.
Starting nagios: done.
Fixing php-mcrypt bug...
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
No entry for terminal type "unknown";
using dumb terminal settings.
==================
UPGRADE COMPLETED!
==================
You can access the Nagios XI web interface by visiting:
http://.../nagiosxi/
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: No shoes, no shirt, no services...
Can your machine reach localhost?
Any proxies involved?
Code: Select all
cat /etc/hostsRe: No shoes, no shirt, no services...
Hi, Scott:
Thought you had nailed it. There was no 'hostname' in /etc/hosts, although 'localhost' was in there. Modified now to include the hostname:
Then restarted nagios and httpd. Darn--a swing and a miss.
No proxies involved. The core server and all machines are inside the firewall.
The Core Configuration Manager sees and displays the localhost and monitored hosts just fine. Snippet:
I feel like we're real close...
Thanks,
--Bill
Thought you had nailed it. There was no 'hostname' in /etc/hosts, although 'localhost' was in there. Modified now to include the hostname:
Code: Select all
root@nagios02 ~]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.x.x.x nagios02 nagios02.xxxx.net
No proxies involved. The core server and all machines are inside the firewall.
The Core Configuration Manager sees and displays the localhost and monitored hosts just fine. Snippet:
Code: Select all
localhost Current Load Yes Applied EditCopyDownloadInfoDelete 5
localhost Current Users Yes Applied EditCopyDownloadInfoDelete 3
localhost HTTP Yes Applied EditCopyDownloadInfoDelete 8
localhost PING Yes Applied EditCopyDownloadInfoDelete 1
localhost Root Partition Yes Applied EditCopyDownloadInfoDelete 2
localhost SSH Yes Applied EditCopyDownloadInfoDelete 7
Thanks,
--Bill
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: No shoes, no shirt, no services...
You should actually add the host's hostname to the 127.0.0.1 line, it is not suggested to use an externally route-able ip address for internal system communications. I'm certainly not saying it will resolve the issue, but let's correct that so that your hosts file looks like:
Restart the following services as well once that change is made:
Code: Select all
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 nagios02 nagios02.xxxx.net
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6Code: Select all
service nagios stop
service ndo2db stop
service mysqld restart
service httpd restart
service ndo2db start
service nagios startNagios-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.
Re: No shoes, no shirt, no services...
Thanks, Spenser:
I changed the /etc/hosts to map the server's name to 127.0.0.1, then re-booted, then ran these commands as suggested:
Unfortunately, the hidden views persist. We really like Nagios XI and want to license it. Just need to get through this knot hole.
--Bill
I changed the /etc/hosts to map the server's name to 127.0.0.1, then re-booted, then ran these commands as suggested:
Code: Select all
service nagios stop
service ndo2db stop
service mysqld restart
service httpd restart
service ndo2db start
service nagios start
--Bill