Announcement
Collapse
No announcement yet.
Exporting cfg files give an error
Collapse
X
-
Going fine now Julio :wink:
Nagios 2.3
Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org)
Last Modified: 05-03-2006
License: GPL
Reading configuration data...
Running pre-flight check on configuration data...
Checking services...
Checked 497 services.
Checking hosts...
Warning: Host 'Meta_Module' has no services associated with it!
Checked 33 hosts.
Checking host groups...
Checked 11 host groups.
Checking service groups...
Checked 0 service groups.
Checking contacts...
Checked 15 contacts.
Checking contact groups...
Checked 7 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 60 commands.
Checking time periods...
Checked 9 time periods.
Checking extended host info definitions...
Checked 0 extended host info definitions.
Checking extended service info definitions...
Checked 0 extended service info definitions.
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: 1
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
Except that about meta ... I don't know a word about what that meta files are for, but I think I could wait for a manual/wiki to understand that point. I need advice in other things, cause I'm really lost right now. But not in this topic, would start another with all the things that get me lost ...
Thanks!
Leave a comment:
-
hi cih,
Just edit your contact settings and set his notifications command. We can't set this a the install because we don't know our notification mod. After doing this, it will be ok.
best regards
Leave a comment:
-
Exporting quite well here ... though 2 errors about the user created to log in Oreon ...
Nagios 2.3
Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org)
Last Modified: 05-03-2006
License: GPL
Reading configuration data...
Running pre-flight check on configuration data...
Checking services...
Checked 497 services.
Checking hosts...
Warning: Host 'Meta_Module' has no services associated with it!
Checked 33 hosts.
Checking host groups...
Checked 11 host groups.
Checking service groups...
Checked 0 service groups.
Checking contacts...
Error: Contact 'Explotacion Tempos 21' has no service notification commands defined!
Error: Contact 'Explotacion Tempos 21' has no host notification commands defined!
Warning: Contact 'Explotacion Tempos 21' has no service notification time period defined!
Warning: Contact 'Explotacion Tempos 21' has no host notification time period defined!
Warning: Contact 'Explotacion Tempos 21' is not a member of any contact groups!
Checked 15 contacts.
Checking contact groups...
Checked 7 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 60 commands.
Checking time periods...
Checked 9 time periods.
Checking extended host info definitions...
Checked 0 extended host info definitions.
Checking extended service info definitions...
Checked 0 extended service info definitions.
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: 4
Total Errors: 2
***> One or more problems was encountered while running the pre-flight check...
Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.
Strange behaviour, 'Explotacion Tempos 21' contact is the one oreon ask me to add to get logged in Oreon. I don't want to associate any notifications to this user ... The solution may be to create another table for login users ...
I'm experiencing some strange behaviours too importing nagios 2.2 cfg files, some values were not recognised correctly, some values were substituted by NULL's ...
I'm a little lost ... I don't understand a bunch of things about this beta release, but this would be another post, after lunch ;P
Leave a comment:
-
I think oreon doesn't import or export nagios 2.x config for the moment.
Leave a comment:
-
Exporting cfg files give an error
Hello hello
When i try to export my configured files i get error below. When run my own nagios -v nagios.cfg it displayes error on line 71 and line 73 when i comment those our and run my own check i get it to work in a proper way. Is there any fix for this bug?
Error in configuration file '/usr/local/nagios/etc/nagios.cfg' - Line 71 (UNKNOWN VARIABLE)
Line 71 in nagios.cfg is: log_passive_service_checks=1Error in configuration file '/usr/local/nagios/etc/nagios.cfg' - Line 73 (UNKNOWN VARIABLE)
Line 73 in nagios.cfg is: inter_check_delay_method=sNagios 2.2
Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org)
Last Modified: 04-07-2006
License: GPL
Reading configuration data...
Error in configuration file '/usr/local/oreon/www/../filesGeneration/nagiosCFG/nagiosCFG.DEBUG' - Line 52 (UNKNOWN VARIABLE)
***> The name of the main configuration file looks suspicious...
Make sure you are specifying the name of the MAIN configuration file on
the command line and not the name of another configuration file. The
main configuration file is typically '/usr/local/nagios/etc/nagios.cfg'
***> One or more problems was encountered while processing the config files...
Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.
cgi.cfg - movement OK
checkcommands.cfg - movement OK
contactgroups.cfg - movement OK
contacts.cfg - movement OK
dependencies.cfg - movement OK
escalations.cfg - movement OK
hostgroups.cfg - movement OK
hosts.cfg - movement OK
meta_commands.cfg - movement OK
meta_contact.cfg - movement OK
meta_contactgroup.cfg - movement OK
meta_dependencies.cfg - movement OK
meta_escalations.cfg - movement OK
meta_host.cfg - movement OK
meta_hostgroup.cfg - movement OK
meta_services.cfg - movement OK
meta_timeperiod.cfg - movement OK
misccommands.cfg - movement OK
nagios.cfg - movement OK
resource.cfg - movement OK
servicegroups.cfg - movement OK
services.cfg - movement OK
timeperiods.cfg - movement OK
//Thoorleif
(apache 2.x, php 5.x, mySQL 4.x, Nagios 2.2)Tags: None
Leave a comment: