Installation manual
-
diegosiassb
- Posts: 111
- Joined: Wed Dec 30, 2009 1:38 am
Installation manual
Now is the tenth time that I install for various reasons and everything is ok
But when I import the configuration can start trouble no reported problems
and then how do I clear the configuration and reset everything?
in the previous version had no configuration problems
Error: Global host event handler command 'xi_host_event_handler' is not defined anywhere!
Error: Global service event handler command 'xi_service_event_handler' is not defined anywhere!
Total Warnings: 0
Total Errors: 2
Nagios Core 3.2.2
Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 09-01-2010
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config directory '/usr/local/nagios/etc/static'...
Processing object config file '/usr/local/nagios/etc/static/xiobjects.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitest.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/contacttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/contactgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/contacts.cfg'...
Processing object config file '/usr/local/nagios/etc/timeperiods.cfg'...
Processing object config file '/usr/local/nagios/etc/commands.cfg'...
Processing object config file '/usr/local/nagios/etc/hostgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/servicegroups.cfg'...
Processing object config file '/usr/local/nagios/etc/hosttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/servicetemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/servicedependencies.cfg'...
Processing object config file '/usr/local/nagios/etc/serviceescalations.cfg'...
Processing object config file '/usr/local/nagios/etc/hostdependencies.cfg'...
Processing object config file '/usr/local/nagios/etc/hostescalations.cfg'...
Processing object config file '/usr/local/nagios/etc/hostextinfo.cfg'...
Processing object config file '/usr/local/nagios/etc/serviceextinfo.cfg'...
Processing object config directory '/usr/local/nagios/etc/hosts'...
Processing object config file '/usr/local/nagios/etc/hosts/localhost.cfg'...
Processing object config directory '/usr/local/nagios/etc/services'...
Processing object config file '/usr/local/nagios/etc/services/localhost.cfg'...
Read object config files okay...
Running pre-flight check on configuration data...
Checking services...
Checked 8 services.
Checking hosts...
Checked 1 hosts.
Checking host groups...
Checked 1 host groups.
Checking service groups...
Checked 0 service groups.
Checking contacts...
Checked 1 contacts.
Checking contact groups...
Checked 1 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 39 commands.
Checking time periods...
Checked 8 time periods.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Error: Global host event handler command 'xi_host_event_handler' is not defined anywhere!
Error: Global service event handler command 'xi_service_event_handler' is not defined anywhere!
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 2
But when I import the configuration can start trouble no reported problems
and then how do I clear the configuration and reset everything?
in the previous version had no configuration problems
Error: Global host event handler command 'xi_host_event_handler' is not defined anywhere!
Error: Global service event handler command 'xi_service_event_handler' is not defined anywhere!
Total Warnings: 0
Total Errors: 2
Nagios Core 3.2.2
Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 09-01-2010
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config directory '/usr/local/nagios/etc/static'...
Processing object config file '/usr/local/nagios/etc/static/xiobjects.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitest.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/contacttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/contactgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/contacts.cfg'...
Processing object config file '/usr/local/nagios/etc/timeperiods.cfg'...
Processing object config file '/usr/local/nagios/etc/commands.cfg'...
Processing object config file '/usr/local/nagios/etc/hostgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/servicegroups.cfg'...
Processing object config file '/usr/local/nagios/etc/hosttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/servicetemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/servicedependencies.cfg'...
Processing object config file '/usr/local/nagios/etc/serviceescalations.cfg'...
Processing object config file '/usr/local/nagios/etc/hostdependencies.cfg'...
Processing object config file '/usr/local/nagios/etc/hostescalations.cfg'...
Processing object config file '/usr/local/nagios/etc/hostextinfo.cfg'...
Processing object config file '/usr/local/nagios/etc/serviceextinfo.cfg'...
Processing object config directory '/usr/local/nagios/etc/hosts'...
Processing object config file '/usr/local/nagios/etc/hosts/localhost.cfg'...
Processing object config directory '/usr/local/nagios/etc/services'...
Processing object config file '/usr/local/nagios/etc/services/localhost.cfg'...
Read object config files okay...
Running pre-flight check on configuration data...
Checking services...
Checked 8 services.
Checking hosts...
Checked 1 hosts.
Checking host groups...
Checked 1 host groups.
Checking service groups...
Checked 0 service groups.
Checking contacts...
Checked 1 contacts.
Checking contact groups...
Checked 1 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 39 commands.
Checking time periods...
Checked 8 time periods.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Error: Global host event handler command 'xi_host_event_handler' is not defined anywhere!
Error: Global service event handler command 'xi_service_event_handler' is not defined anywhere!
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 2
-
diegosiassb
- Posts: 111
- Joined: Wed Dec 30, 2009 1:38 am
Re: Installation manual
I find it very difficult to manage the product mainly because even with the previous version had trouble if I touched something you could not deal with them
-
diegosiassb
- Posts: 111
- Joined: Wed Dec 30, 2009 1:38 am
Re: Installation manual
Another example how do I delete the double definition
Nagios Core 3.2.2
Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 09-01-2010
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config directory '/usr/local/nagios/etc/static'...
Processing object config file '/usr/local/nagios/etc/static/xiobjects.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitest.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/contacttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/contactgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/contacts.cfg'...
Processing object config file '/usr/local/nagios/etc/timeperiods.cfg'...
Warning: Duplicate definition found for timeperiod 'xi_timeperiod_24x7' (config file '/usr/local/nagios/etc/timeperiods.cfg', starting on line 77)
Error: Could not add object property in file '/usr/local/nagios/etc/timeperiods.cfg' on line 78.
Error processing object config files!
Nagios Core 3.2.2
Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 09-01-2010
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config directory '/usr/local/nagios/etc/static'...
Processing object config file '/usr/local/nagios/etc/static/xiobjects.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitest.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/contacttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/contactgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/contacts.cfg'...
Processing object config file '/usr/local/nagios/etc/timeperiods.cfg'...
Warning: Duplicate definition found for timeperiod 'xi_timeperiod_24x7' (config file '/usr/local/nagios/etc/timeperiods.cfg', starting on line 77)
Error: Could not add object property in file '/usr/local/nagios/etc/timeperiods.cfg' on line 78.
Error processing object config files!
Re: Installation manual
Hi Diego -
It sounds like the config files that should have been imported/defined during the installation were skipped (at least in part). The global event handler command definitions are in one of the files that looks to have been missed.
Regarding the duplicate timeperiod definition, have you manually defined the 'xi_timeperiod_24x7' timeperiod anywhere (or kept a copy of the definition in a static config file)?
It sounds like the config files that should have been imported/defined during the installation were skipped (at least in part). The global event handler command definitions are in one of the files that looks to have been missed.
Regarding the duplicate timeperiod definition, have you manually defined the 'xi_timeperiod_24x7' timeperiod anywhere (or kept a copy of the definition in a static config file)?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Ethan Galstad
President
Ethan Galstad
President
-
diegosiassb
- Posts: 111
- Joined: Wed Dec 30, 2009 1:38 am
Re: Installation manual
Ok deleted all installed new red-hat nagiosxi Follow steps to install okay but when I import the configuration files
I get this error
ebsite: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config directory '/usr/local/nagios/etc/static'...
Processing object config file '/usr/local/nagios/etc/static/xiobjects.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitest.cfg'...
Processing object config file '/usr/local/nagios/etc/contacttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/contactgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/contacts.cfg'...
Error: Invalid service notification option 'd' in contact definition.
Error: Could not add object property in file '/usr/local/nagios/etc/contacts.cfg' on line 20.
Error processing object config files!
I followed all the steps but still I get this error if I try to fix this error I get other errors you are sure that the configuration is correct? in the previous version had no errors
Thanks
I get this error
ebsite: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config directory '/usr/local/nagios/etc/static'...
Processing object config file '/usr/local/nagios/etc/static/xiobjects.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitest.cfg'...
Processing object config file '/usr/local/nagios/etc/contacttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/contactgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/contacts.cfg'...
Error: Invalid service notification option 'd' in contact definition.
Error: Could not add object property in file '/usr/local/nagios/etc/contacts.cfg' on line 20.
Error processing object config files!
I followed all the steps but still I get this error if I try to fix this error I get other errors you are sure that the configuration is correct? in the previous version had no errors
Thanks
-
diegosiassb
- Posts: 111
- Joined: Wed Dec 30, 2009 1:38 am
Re: Installation manual
This is the complete log
[root@nagiosxi2 nagiosxi]# ./E-importnagiosql
Starting httpd:
/tmp/xi/nagiosxi/nagiosxi/basedir/scripts /tmp/xi/nagiosxi
--2010-09-28 08:38:04-- http://localhost/nagiosql/index.php
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://localhost/nagiosql/admin.php [following]
--2010-09-28 08:38:04-- http://localhost/nagiosql/admin.php
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5286 (5.2K) [text/html]
Saving to: `nagiosql.login'
100%[==========================================================================================>] 5,286 --.-K/s in 0s
2010-09-28 08:38:04 (323 MB/s) - `nagiosql.login' saved [5286/5286]
IMPORTING CONFIG FILES...Array
(
[0] => commands.cfg
[1] => contacts.cfg
[2] => localhost.cfg
[3] => nagiosadmin.cfg
[4] => templates.cfg
[5] => timeperiods.cfg
[6] => xicommands.cfg
[7] => xiobjects.cfg
[8] => xitemplates.cfg
[9] => xiwzardtemplates.cfg
)
IMPORTING /usr/local/nagios/etc/import/commands.cfg
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosql/admin/import.php --post-data 'chbOverwrite=1&selImportFile[]=/usr/local/nagios/etc/import/commands.cfg' -O nagiosql.import.monitoring
--2010-09-28 08:38:04-- http://localhost/nagiosql/admin/import.php
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `nagiosql.import.monitoring'
[ <=> ] 15,146 --.-K/s in 0.001s
2010-09-28 08:38:04 (10.1 MB/s) - `nagiosql.import.monitoring' saved [15146]
IMPORTING /usr/local/nagios/etc/import/contacts.cfg
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosql/admin/import.php --post-data 'chbOverwrite=1&selImportFile[]=/usr/local/nagios/etc/import/contacts.cfg' -O nagiosql.import.monitoring
--2010-09-28 08:38:04-- http://localhost/nagiosql/admin/import.php
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `nagiosql.import.monitoring'
[ <=> ] 10,768 --.-K/s in 0.001s
2010-09-28 08:38:04 (7.16 MB/s) - `nagiosql.import.monitoring' saved [10768]
IMPORTING /usr/local/nagios/etc/import/localhost.cfg
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosql/admin/import.php --post-data 'chbOverwrite=1&selImportFile[]=/usr/local/nagios/etc/import/localhost.cfg' -O nagiosql.import.monitoring
--2010-09-28 08:38:04-- http://localhost/nagiosql/admin/import.php
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `nagiosql.import.monitoring'
[ <=> ] 11,497 --.-K/s in 0.002s
2010-09-28 08:38:04 (6.50 MB/s) - `nagiosql.import.monitoring' saved [11497]
IMPORTING /usr/local/nagios/etc/import/nagiosadmin.cfg
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosql/admin/import.php --post-data 'chbOverwrite=1&selImportFile[]=/usr/local/nagios/etc/import/nagiosadmin.cfg' -O nagiosql.import.monitoring
--2010-09-28 08:38:04-- http://localhost/nagiosql/admin/import.php
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `nagiosql.import.monitoring'
[ <=> ] 10,546 --.-K/s in 0.002s
2010-09-28 08:38:05 (5.72 MB/s) - `nagiosql.import.monitoring' saved [10546]
IMPORTING /usr/local/nagios/etc/import/templates.cfg
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosql/admin/import.php --post-data 'chbOverwrite=1&selImportFile[]=/usr/local/nagios/etc/import/templates.cfg' -O nagiosql.import.monitoring
--2010-09-28 08:38:05-- http://localhost/nagiosql/admin/import.php
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `nagiosql.import.monitoring'
[ <=> ] 11,062 --.-K/s in 0.002s
2010-09-28 08:38:05 (6.26 MB/s) - `nagiosql.import.monitoring' saved [11062]
IMPORTING /usr/local/nagios/etc/import/timeperiods.cfg
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosql/admin/import.php --post-data 'chbOverwrite=1&selImportFile[]=/usr/local/nagios/etc/import/timeperiods.cfg' -O nagiosql.import.monitoring
--2010-09-28 08:38:05-- http://localhost/nagiosql/admin/import.php
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `nagiosql.import.monitoring'
[ <=> ] 10,759 --.-K/s in 0.002s
2010-09-28 08:38:05 (5.22 MB/s) - `nagiosql.import.monitoring' saved [10759]
IMPORTING /usr/local/nagios/etc/import/xicommands.cfg
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosql/admin/import.php --post-data 'chbOverwrite=1&selImportFile[]=/usr/local/nagios/etc/import/xicommands.cfg' -O nagiosql.import.monitoring
--2010-09-28 08:38:05-- http://localhost/nagiosql/admin/import.php
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `nagiosql.import.monitoring'
[ <=> ] 12,969 --.-K/s in 0.002s
2010-09-28 08:38:05 (6.42 MB/s) - `nagiosql.import.monitoring' saved [12969]
IMPORTING /usr/local/nagios/etc/import/xiobjects.cfg
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosql/admin/import.php --post-data 'chbOverwrite=1&selImportFile[]=/usr/local/nagios/etc/import/xiobjects.cfg' -O nagiosql.import.monitoring
--2010-09-28 08:38:05-- http://localhost/nagiosql/admin/import.php
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `nagiosql.import.monitoring'
[ <=> ] 9,931 --.-K/s in 0.002s
2010-09-28 08:38:05 (5.61 MB/s) - `nagiosql.import.monitoring' saved [9931]
IMPORTING /usr/local/nagios/etc/import/xitemplates.cfg
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosql/admin/import.php --post-data 'chbOverwrite=1&selImportFile[]=/usr/local/nagios/etc/import/xitemplates.cfg' -O nagiosql.import.monitoring
--2010-09-28 08:38:05-- http://localhost/nagiosql/admin/import.php
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `nagiosql.import.monitoring'
[ <=> ] 9,798 --.-K/s in 0.002s
2010-09-28 08:38:05 (5.28 MB/s) - `nagiosql.import.monitoring' saved [9798]
IMPORTING /usr/local/nagios/etc/import/xiwzardtemplates.cfg
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosql/admin/import.php --post-data 'chbOverwrite=1&selImportFile[]=/usr/local/nagios/etc/import/xiwzardtemplates.cfg' -O nagiosql.import.monitoring
--2010-09-28 08:38:05-- http://localhost/nagiosql/admin/import.php
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `nagiosql.import.monitoring'
[ <=> ] 14,356 --.-K/s in 0.002s
2010-09-28 08:38:05 (7.47 MB/s) - `nagiosql.import.monitoring' saved [14356]
SETUID ROOT OK
RESETTING PERMS
--2010-09-28 08:38:05-- http://localhost/nagiosql/index.php
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://localhost/nagiosql/admin.php [following]
--2010-09-28 08:38:05-- http://localhost/nagiosql/admin.php
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5286 (5.2K) [text/html]
Saving to: `nagiosql.login'
100%[==========================================================================================>] 5,286 --.-K/s in 0s
2010-09-28 08:38:05 (446 MB/s) - `nagiosql.login' saved [5286/5286]
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosql/admin/verify.php --post-data 'writeMonitoring=Go' -O nagiosql.export.monitoring
--2010-09-28 08:38:06-- http://localhost/nagiosql/admin/verify.php
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7096 (6.9K) [text/html]
Saving to: `nagiosql.export.monitoring'
100%[==========================================================================================>] 7,096 --.-K/s in 0s
2010-09-28 08:38:06 (338 MB/s) - `nagiosql.export.monitoring' saved [7096/7096]
--2010-09-28 08:38:06-- http://localhost/nagiosql/admin/verify.php
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7400 (7.2K) [text/html]
Saving to: `nagiosql.export.additional'
100%[==========================================================================================>] 7,400 --.-K/s in 0s
2010-09-28 08:38:06 (356 MB/s) - `nagiosql.export.additional' saved [7400/7400]
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosql/admin/verify.php --post-data 'writeAdditional=Go' -O nagiosql.export.additional
OUTPUT:
Nagios Core 3.2.2
Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 09-01-2010
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config directory '/usr/local/nagios/etc/static'...
Processing object config file '/usr/local/nagios/etc/static/xiobjects.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitest.cfg'...
Processing object config file '/usr/local/nagios/etc/contacttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/contactgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/contacts.cfg'...
Error: Invalid service notification option 'd' in contact definition.
Error: Could not add object property in file '/usr/local/nagios/etc/contacts.cfg' on line 20.
Error processing object config files!
[root@nagiosxi2 nagiosxi]# ./E-importnagiosql
Starting httpd:
/tmp/xi/nagiosxi/nagiosxi/basedir/scripts /tmp/xi/nagiosxi
--2010-09-28 08:38:04-- http://localhost/nagiosql/index.php
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://localhost/nagiosql/admin.php [following]
--2010-09-28 08:38:04-- http://localhost/nagiosql/admin.php
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5286 (5.2K) [text/html]
Saving to: `nagiosql.login'
100%[==========================================================================================>] 5,286 --.-K/s in 0s
2010-09-28 08:38:04 (323 MB/s) - `nagiosql.login' saved [5286/5286]
IMPORTING CONFIG FILES...Array
(
[0] => commands.cfg
[1] => contacts.cfg
[2] => localhost.cfg
[3] => nagiosadmin.cfg
[4] => templates.cfg
[5] => timeperiods.cfg
[6] => xicommands.cfg
[7] => xiobjects.cfg
[8] => xitemplates.cfg
[9] => xiwzardtemplates.cfg
)
IMPORTING /usr/local/nagios/etc/import/commands.cfg
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosql/admin/import.php --post-data 'chbOverwrite=1&selImportFile[]=/usr/local/nagios/etc/import/commands.cfg' -O nagiosql.import.monitoring
--2010-09-28 08:38:04-- http://localhost/nagiosql/admin/import.php
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `nagiosql.import.monitoring'
[ <=> ] 15,146 --.-K/s in 0.001s
2010-09-28 08:38:04 (10.1 MB/s) - `nagiosql.import.monitoring' saved [15146]
IMPORTING /usr/local/nagios/etc/import/contacts.cfg
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosql/admin/import.php --post-data 'chbOverwrite=1&selImportFile[]=/usr/local/nagios/etc/import/contacts.cfg' -O nagiosql.import.monitoring
--2010-09-28 08:38:04-- http://localhost/nagiosql/admin/import.php
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `nagiosql.import.monitoring'
[ <=> ] 10,768 --.-K/s in 0.001s
2010-09-28 08:38:04 (7.16 MB/s) - `nagiosql.import.monitoring' saved [10768]
IMPORTING /usr/local/nagios/etc/import/localhost.cfg
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosql/admin/import.php --post-data 'chbOverwrite=1&selImportFile[]=/usr/local/nagios/etc/import/localhost.cfg' -O nagiosql.import.monitoring
--2010-09-28 08:38:04-- http://localhost/nagiosql/admin/import.php
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `nagiosql.import.monitoring'
[ <=> ] 11,497 --.-K/s in 0.002s
2010-09-28 08:38:04 (6.50 MB/s) - `nagiosql.import.monitoring' saved [11497]
IMPORTING /usr/local/nagios/etc/import/nagiosadmin.cfg
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosql/admin/import.php --post-data 'chbOverwrite=1&selImportFile[]=/usr/local/nagios/etc/import/nagiosadmin.cfg' -O nagiosql.import.monitoring
--2010-09-28 08:38:04-- http://localhost/nagiosql/admin/import.php
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `nagiosql.import.monitoring'
[ <=> ] 10,546 --.-K/s in 0.002s
2010-09-28 08:38:05 (5.72 MB/s) - `nagiosql.import.monitoring' saved [10546]
IMPORTING /usr/local/nagios/etc/import/templates.cfg
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosql/admin/import.php --post-data 'chbOverwrite=1&selImportFile[]=/usr/local/nagios/etc/import/templates.cfg' -O nagiosql.import.monitoring
--2010-09-28 08:38:05-- http://localhost/nagiosql/admin/import.php
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `nagiosql.import.monitoring'
[ <=> ] 11,062 --.-K/s in 0.002s
2010-09-28 08:38:05 (6.26 MB/s) - `nagiosql.import.monitoring' saved [11062]
IMPORTING /usr/local/nagios/etc/import/timeperiods.cfg
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosql/admin/import.php --post-data 'chbOverwrite=1&selImportFile[]=/usr/local/nagios/etc/import/timeperiods.cfg' -O nagiosql.import.monitoring
--2010-09-28 08:38:05-- http://localhost/nagiosql/admin/import.php
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `nagiosql.import.monitoring'
[ <=> ] 10,759 --.-K/s in 0.002s
2010-09-28 08:38:05 (5.22 MB/s) - `nagiosql.import.monitoring' saved [10759]
IMPORTING /usr/local/nagios/etc/import/xicommands.cfg
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosql/admin/import.php --post-data 'chbOverwrite=1&selImportFile[]=/usr/local/nagios/etc/import/xicommands.cfg' -O nagiosql.import.monitoring
--2010-09-28 08:38:05-- http://localhost/nagiosql/admin/import.php
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `nagiosql.import.monitoring'
[ <=> ] 12,969 --.-K/s in 0.002s
2010-09-28 08:38:05 (6.42 MB/s) - `nagiosql.import.monitoring' saved [12969]
IMPORTING /usr/local/nagios/etc/import/xiobjects.cfg
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosql/admin/import.php --post-data 'chbOverwrite=1&selImportFile[]=/usr/local/nagios/etc/import/xiobjects.cfg' -O nagiosql.import.monitoring
--2010-09-28 08:38:05-- http://localhost/nagiosql/admin/import.php
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `nagiosql.import.monitoring'
[ <=> ] 9,931 --.-K/s in 0.002s
2010-09-28 08:38:05 (5.61 MB/s) - `nagiosql.import.monitoring' saved [9931]
IMPORTING /usr/local/nagios/etc/import/xitemplates.cfg
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosql/admin/import.php --post-data 'chbOverwrite=1&selImportFile[]=/usr/local/nagios/etc/import/xitemplates.cfg' -O nagiosql.import.monitoring
--2010-09-28 08:38:05-- http://localhost/nagiosql/admin/import.php
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `nagiosql.import.monitoring'
[ <=> ] 9,798 --.-K/s in 0.002s
2010-09-28 08:38:05 (5.28 MB/s) - `nagiosql.import.monitoring' saved [9798]
IMPORTING /usr/local/nagios/etc/import/xiwzardtemplates.cfg
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosql/admin/import.php --post-data 'chbOverwrite=1&selImportFile[]=/usr/local/nagios/etc/import/xiwzardtemplates.cfg' -O nagiosql.import.monitoring
--2010-09-28 08:38:05-- http://localhost/nagiosql/admin/import.php
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `nagiosql.import.monitoring'
[ <=> ] 14,356 --.-K/s in 0.002s
2010-09-28 08:38:05 (7.47 MB/s) - `nagiosql.import.monitoring' saved [14356]
SETUID ROOT OK
RESETTING PERMS
--2010-09-28 08:38:05-- http://localhost/nagiosql/index.php
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://localhost/nagiosql/admin.php [following]
--2010-09-28 08:38:05-- http://localhost/nagiosql/admin.php
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5286 (5.2K) [text/html]
Saving to: `nagiosql.login'
100%[==========================================================================================>] 5,286 --.-K/s in 0s
2010-09-28 08:38:05 (446 MB/s) - `nagiosql.login' saved [5286/5286]
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosql/admin/verify.php --post-data 'writeMonitoring=Go' -O nagiosql.export.monitoring
--2010-09-28 08:38:06-- http://localhost/nagiosql/admin/verify.php
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7096 (6.9K) [text/html]
Saving to: `nagiosql.export.monitoring'
100%[==========================================================================================>] 7,096 --.-K/s in 0s
2010-09-28 08:38:06 (338 MB/s) - `nagiosql.export.monitoring' saved [7096/7096]
--2010-09-28 08:38:06-- http://localhost/nagiosql/admin/verify.php
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7400 (7.2K) [text/html]
Saving to: `nagiosql.export.additional'
100%[==========================================================================================>] 7,400 --.-K/s in 0s
2010-09-28 08:38:06 (356 MB/s) - `nagiosql.export.additional' saved [7400/7400]
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosql/admin/verify.php --post-data 'writeAdditional=Go' -O nagiosql.export.additional
OUTPUT:
Nagios Core 3.2.2
Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 09-01-2010
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config directory '/usr/local/nagios/etc/static'...
Processing object config file '/usr/local/nagios/etc/static/xiobjects.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitest.cfg'...
Processing object config file '/usr/local/nagios/etc/contacttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/contactgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/contacts.cfg'...
Error: Invalid service notification option 'd' in contact definition.
Error: Could not add object property in file '/usr/local/nagios/etc/contacts.cfg' on line 20.
Error processing object config files!
-
diegosiassb
- Posts: 111
- Joined: Wed Dec 30, 2009 1:38 am
Re: Installation manual
in this moment
there are in directory /usr/local/nagios/etc
drwsrwsr-x 2 apache nagios 4096 Sep 28 08:32 static
-rwxrwxr-x 1 apache nagios 210 Sep 28 08:32 resource.cfg
-rwxrwxr-x 1 apache nagios 5714 Sep 28 08:32 nagios.cfg
-rwxrwxr-x 1 apache nagios 744 Sep 28 08:32 cgi.cfg
-rwxrwxr-x 1 apache nagios 4723 Sep 28 08:33 ndomod.cfg
-rwxrwxr-x 1 apache nagios 2229 Sep 28 08:33 ndo2db.cfg
drwxrwxr-x 4 apache nagios 4096 Sep 28 08:33 pnp
-rw-rw-r-- 1 apache nagios 7207 Sep 28 08:34 nrpe.cfg
-rwxrwxr-x 1 apache nagios 1627 Sep 28 08:34 send_nsca.cfg
-rwxrwxr-x 1 apache nagios 5345 Sep 28 08:34 nsca.cfg
drwsrwsr-x 2 apache nagios 4096 Sep 28 08:38 import
-rw-r--r-- 1 apache apache 2884 Sep 28 08:38 timeperiods.cfg
-rw-r--r-- 1 apache apache 9955 Sep 28 08:38 servicetemplates.cfg
drwsrwsr-x 2 apache nagios 4096 Sep 28 08:38 services
-rw-r--r-- 1 apache apache 638 Sep 28 08:38 servicegroups.cfg
-rw-r--r-- 1 apache apache 668 Sep 28 08:38 serviceextinfo.cfg
-rw-r--r-- 1 apache apache 650 Sep 28 08:38 serviceescalations.cfg
-rw-r--r-- 1 apache apache 648 Sep 28 08:38 servicedependencies.cfg
-rw-r--r-- 1 apache apache 6108 Sep 28 08:38 hosttemplates.cfg
drwsrwsr-x 2 apache nagios 4096 Sep 28 08:38 hosts
-rw-r--r-- 1 apache apache 792 Sep 28 08:38 hostgroups.cfg
-rw-r--r-- 1 apache apache 662 Sep 28 08:38 hostextinfo.cfg
-rw-r--r-- 1 apache apache 644 Sep 28 08:38 hostescalations.cfg
-rw-r--r-- 1 apache apache 642 Sep 28 08:38 hostdependencies.cfg
-rw-r--r-- 1 apache apache 1396 Sep 28 08:38 contacttemplates.cfg
-rw-r--r-- 1 apache apache 1196 Sep 28 08:38 contacts.cfg
-rw-r--r-- 1 apache apache 931 Sep 28 08:38 contactgroups.cfg
-rw-r--r-- 1 apache apache 14715 Sep 28 08:38 commands.cfg
In directory Import is empty
In directory hosts
[root@nagiosxi2 hosts]# ls
localhost.cfg
In services
[root@nagiosxi2 services]# ls
localhost.cfg
[root@nagiosxi2 services]#
there are in directory /usr/local/nagios/etc
drwsrwsr-x 2 apache nagios 4096 Sep 28 08:32 static
-rwxrwxr-x 1 apache nagios 210 Sep 28 08:32 resource.cfg
-rwxrwxr-x 1 apache nagios 5714 Sep 28 08:32 nagios.cfg
-rwxrwxr-x 1 apache nagios 744 Sep 28 08:32 cgi.cfg
-rwxrwxr-x 1 apache nagios 4723 Sep 28 08:33 ndomod.cfg
-rwxrwxr-x 1 apache nagios 2229 Sep 28 08:33 ndo2db.cfg
drwxrwxr-x 4 apache nagios 4096 Sep 28 08:33 pnp
-rw-rw-r-- 1 apache nagios 7207 Sep 28 08:34 nrpe.cfg
-rwxrwxr-x 1 apache nagios 1627 Sep 28 08:34 send_nsca.cfg
-rwxrwxr-x 1 apache nagios 5345 Sep 28 08:34 nsca.cfg
drwsrwsr-x 2 apache nagios 4096 Sep 28 08:38 import
-rw-r--r-- 1 apache apache 2884 Sep 28 08:38 timeperiods.cfg
-rw-r--r-- 1 apache apache 9955 Sep 28 08:38 servicetemplates.cfg
drwsrwsr-x 2 apache nagios 4096 Sep 28 08:38 services
-rw-r--r-- 1 apache apache 638 Sep 28 08:38 servicegroups.cfg
-rw-r--r-- 1 apache apache 668 Sep 28 08:38 serviceextinfo.cfg
-rw-r--r-- 1 apache apache 650 Sep 28 08:38 serviceescalations.cfg
-rw-r--r-- 1 apache apache 648 Sep 28 08:38 servicedependencies.cfg
-rw-r--r-- 1 apache apache 6108 Sep 28 08:38 hosttemplates.cfg
drwsrwsr-x 2 apache nagios 4096 Sep 28 08:38 hosts
-rw-r--r-- 1 apache apache 792 Sep 28 08:38 hostgroups.cfg
-rw-r--r-- 1 apache apache 662 Sep 28 08:38 hostextinfo.cfg
-rw-r--r-- 1 apache apache 644 Sep 28 08:38 hostescalations.cfg
-rw-r--r-- 1 apache apache 642 Sep 28 08:38 hostdependencies.cfg
-rw-r--r-- 1 apache apache 1396 Sep 28 08:38 contacttemplates.cfg
-rw-r--r-- 1 apache apache 1196 Sep 28 08:38 contacts.cfg
-rw-r--r-- 1 apache apache 931 Sep 28 08:38 contactgroups.cfg
-rw-r--r-- 1 apache apache 14715 Sep 28 08:38 commands.cfg
In directory Import is empty
In directory hosts
[root@nagiosxi2 hosts]# ls
localhost.cfg
In services
[root@nagiosxi2 services]# ls
localhost.cfg
[root@nagiosxi2 services]#
-
diegosiassb
- Posts: 111
- Joined: Wed Dec 30, 2009 1:38 am
Re: Installation manual
It's ok now
this si file in yuors configuration
line 20
###############################################################################
#
# Contact configuration file
#
# Created by: Nagios QL Version 3.0.3
# Date: 2010-09-28 08:38:06
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios QL will overwite all manual settings during the next update
#
###############################################################################
define contact {
contact_name nagiosadmin
alias Nagios Administrator
host_notification_period nagiosadmin_notification_times
service_notification_period nagiosadmin_notification_times
host_notification_options d,u,r,f,s,d
service_notification_options w,u,c,r,f,s,d host_notification_commands xi_host_notification_handler
service_notification_commands xi_service_notification_handler
email nagios@localhost
use xi_contact_generic
}
###############################################################################
#
# Contact configuration file
#
# END OF FILE
#
###############################################################################
~
this si file in yuors configuration
line 20
###############################################################################
#
# Contact configuration file
#
# Created by: Nagios QL Version 3.0.3
# Date: 2010-09-28 08:38:06
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios QL will overwite all manual settings during the next update
#
###############################################################################
define contact {
contact_name nagiosadmin
alias Nagios Administrator
host_notification_period nagiosadmin_notification_times
service_notification_period nagiosadmin_notification_times
host_notification_options d,u,r,f,s,d
service_notification_options w,u,c,r,f,s,d host_notification_commands xi_host_notification_handler
service_notification_commands xi_service_notification_handler
email nagios@localhost
use xi_contact_generic
}
###############################################################################
#
# Contact configuration file
#
# END OF FILE
#
###############################################################################
~
-
diegosiassb
- Posts: 111
- Joined: Wed Dec 30, 2009 1:38 am
Re: Installation manual
host_notification_options d,u,r,f,s,dservice_notification_options w,u,c,r,f,s,d host_notification_commands xi_host_notification_handler
delete and start nagios
Nagios Core 3.2.2
Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 09-01-2010
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config directory '/usr/local/nagios/etc/static'...
Processing object config file '/usr/local/nagios/etc/static/xiobjects.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitest.cfg'...
Processing object config file '/usr/local/nagios/etc/contacttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/contactgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/contacts.cfg'...
Processing object config file '/usr/local/nagios/etc/timeperiods.cfg'...
Processing object config file '/usr/local/nagios/etc/commands.cfg'...
Processing object config file '/usr/local/nagios/etc/hostgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/servicegroups.cfg'...
Processing object config file '/usr/local/nagios/etc/hosttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/servicetemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/servicedependencies.cfg'...
Processing object config file '/usr/local/nagios/etc/serviceescalations.cfg'...
Processing object config file '/usr/local/nagios/etc/hostdependencies.cfg'...
Processing object config file '/usr/local/nagios/etc/hostescalations.cfg'...
Processing object config file '/usr/local/nagios/etc/hostextinfo.cfg'...
Processing object config file '/usr/local/nagios/etc/serviceextinfo.cfg'...
Processing object config directory '/usr/local/nagios/etc/hosts'...
Processing object config file '/usr/local/nagios/etc/hosts/localhost.cfg'...
Processing object config directory '/usr/local/nagios/etc/services'...
Processing object config file '/usr/local/nagios/etc/services/localhost.cfg'...
Read object config files okay...
Running pre-flight check on configuration data...
Checking services...
Checked 8 services.
Checking hosts...
Checked 1 hosts.
Checking host groups...
Checked 1 host groups.
Checking service groups...
Checked 0 service groups.
Checking contacts...
Checked 2 contacts.
Checking contact groups...
Checked 2 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 64 commands.
Checking time periods...
Checked 8 time periods.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
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
[root@nagiosxi2 etc]# service nagios restart
Running configuration check...done.
Stopping nagios: No lock file found in /usr/local/nagios/var/nagios.lock
Starting nagios: done.
You have new mail in /var/spool/mail/root
delete and start nagios
Nagios Core 3.2.2
Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 09-01-2010
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config directory '/usr/local/nagios/etc/static'...
Processing object config file '/usr/local/nagios/etc/static/xiobjects.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitest.cfg'...
Processing object config file '/usr/local/nagios/etc/contacttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/contactgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/contacts.cfg'...
Processing object config file '/usr/local/nagios/etc/timeperiods.cfg'...
Processing object config file '/usr/local/nagios/etc/commands.cfg'...
Processing object config file '/usr/local/nagios/etc/hostgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/servicegroups.cfg'...
Processing object config file '/usr/local/nagios/etc/hosttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/servicetemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/servicedependencies.cfg'...
Processing object config file '/usr/local/nagios/etc/serviceescalations.cfg'...
Processing object config file '/usr/local/nagios/etc/hostdependencies.cfg'...
Processing object config file '/usr/local/nagios/etc/hostescalations.cfg'...
Processing object config file '/usr/local/nagios/etc/hostextinfo.cfg'...
Processing object config file '/usr/local/nagios/etc/serviceextinfo.cfg'...
Processing object config directory '/usr/local/nagios/etc/hosts'...
Processing object config file '/usr/local/nagios/etc/hosts/localhost.cfg'...
Processing object config directory '/usr/local/nagios/etc/services'...
Processing object config file '/usr/local/nagios/etc/services/localhost.cfg'...
Read object config files okay...
Running pre-flight check on configuration data...
Checking services...
Checked 8 services.
Checking hosts...
Checked 1 hosts.
Checking host groups...
Checked 1 host groups.
Checking service groups...
Checked 0 service groups.
Checking contacts...
Checked 2 contacts.
Checking contact groups...
Checked 2 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 64 commands.
Checking time periods...
Checked 8 time periods.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
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
[root@nagiosxi2 etc]# service nagios restart
Running configuration check...done.
Stopping nagios: No lock file found in /usr/local/nagios/var/nagios.lock
Starting nagios: done.
You have new mail in /var/spool/mail/root
-
diegosiassb
- Posts: 111
- Joined: Wed Dec 30, 2009 1:38 am
Re: Installation manual
NO NO NO AGAIN
is back probably in the database as I do now? are not expert in database however all started from a wrong configuration
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config directory '/usr/local/nagios/etc/static'...
Processing object config file '/usr/local/nagios/etc/static/xiobjects.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitest.cfg'...
Processing object config file '/usr/local/nagios/etc/contacttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/contactgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/contacts.cfg'...
Error: Invalid service notification option 'd' in contact definition.
Error: Could not add object property in file '/usr/local/nagios/etc/contacts.cfg' on line 20.
Error processing object config files!
is back probably in the database as I do now? are not expert in database however all started from a wrong configuration
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config directory '/usr/local/nagios/etc/static'...
Processing object config file '/usr/local/nagios/etc/static/xiobjects.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitest.cfg'...
Processing object config file '/usr/local/nagios/etc/contacttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/contactgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/contacts.cfg'...
Error: Invalid service notification option 'd' in contact definition.
Error: Could not add object property in file '/usr/local/nagios/etc/contacts.cfg' on line 20.
Error processing object config files!