Setting renewal failure
Setting renewal failure
Restoration is being tried by the data restored from a backup.
An error after restoration could be crushed mostly, but there is following problem.
An error picture is attached after this, but setting can't be renewed by following procedure.
"Configure "- "Advanced Configuration "- "Apply Configuration"
Confirmation, please.
An error after restoration could be crushed mostly, but there is following problem.
An error picture is attached after this, but setting can't be renewed by following procedure.
"Configure "- "Advanced Configuration "- "Apply Configuration"
Confirmation, please.
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Setting renewal failure
Can you go through this document
https://support.nagios.com/kb/article.php?id=34
And post output of steps back in your response
thanks
https://support.nagios.com/kb/article.php?id=34
And post output of steps back in your response
thanks
Re: Setting renewal failure
Since I mentioned earlier, I will resend it because it is not displayed.
I ran the file you contacted
The following error was output.
Thank you for your review.
----------------------------------------
su nagios
cd /usr/local/nagiosxi/scripts
./reconfigure_nagios.sh
----------------------------------------
I ran the file you contacted
The following error was output.
Thank you for your review.
----------------------------------------
su nagios
cd /usr/local/nagiosxi/scripts
./reconfigure_nagios.sh
----------------------------------------
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Setting renewal failure
I don't understand, what what the output if that command?bizreach wrote:Since I mentioned earlier, I will resend it because it is not displayed.
I ran the file you contacted
The following error was output.
Thank you for your review.
----------------------------------------
su nagios
cd /usr/local/nagiosxi/scripts
./reconfigure_nagios.sh
----------------------------------------
Re: Setting renewal failure
This means that the command indicated in this link was executed.scottwilkerson wrote:Can you go through this document
https://support.nagios.com/kb/article.php?id=34
And post output of steps back in your response
thanks
After that, the result like the attached log is output.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Setting renewal failure
There is no attached log.
You didn't attach the file.
You didn't attach the file.
Re: Setting renewal failure
Is this.
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Setting renewal failure
there is a unknown host listed in a config.
Go to
Configure -> CCM -> Tools -> Config File Management
click Delete Files
Then Apply Configuration again
Go to
Configure -> CCM -> Tools -> Config File Management
click Delete Files
Then Apply Configuration again
Re: Setting renewal failure
Thank you for reply.
The following alert will be issued when executed by verify Files.
---Delete Files
Successfully deleted all Host / Service Config Files
---write Configs
Write host configurations ...
Host configuration files successfully written!
〜Almost〜
Configuration file: hostgroups.cfg successfully written!
Configuration file: servicegroups.cfg successfully written!
Configuration file: hosttemplates.cfg successfully written!
Configuration file: servicetemplates.cfg successfully written!
Configuration file: timeperiods.cfg successfully written!
Configuration file: commands.cfg successfully written!
Configuration file: contacts.cfg successfully written!
Configuration file: contactgroups.cfg successfully written!
Configuration file: contacttemplates.cfg successfully written!
Configuration file: servicedependencies.cfg successfully written!
Configuration file: hostdependencies.cfg successfully written!
Configuration file: serviceescalations.cfg successfully written!
Configuration file: hostescalations.cfg successfully written!
Configuration file: serviceextinfo.cfg successfully written!
Configuration file: hostextinfo.cfg successfully written!
---verify Files
Error: Could not find any host matching 'BIZ29N-EE_F29-N1' (config file '/usr/local/nagios/etc/services/BIZ29N-EE_F29-N1.cfg', starting on line 16)
Error: Failed to expand host list 'BIZ29N-EE_F29-N1' for service 'Ping' (/usr/local/nagios/etc/services/BIZ29N-EE_F29-N1.cfg:16)
Nagios Core 4.2.4
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 12-07-2016
License: GPL
Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Error: Could not find any host matching 'BIZ29N-EE_F29-N1' (config file '/usr/local/nagios/etc/services/BIZ29N-EE_F29-N1.cfg', starting on line 16)
Error: Failed to expand host list 'BIZ29N-EE_F29-N1' for service 'Ping' (/usr/local/nagios/etc/services/BIZ29N-EE_F29-N1.cfg:16)
Error processing object config files!
***> 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.
Please Help.
The following alert will be issued when executed by verify Files.
---Delete Files
Successfully deleted all Host / Service Config Files
---write Configs
Write host configurations ...
Host configuration files successfully written!
〜Almost〜
Configuration file: hostgroups.cfg successfully written!
Configuration file: servicegroups.cfg successfully written!
Configuration file: hosttemplates.cfg successfully written!
Configuration file: servicetemplates.cfg successfully written!
Configuration file: timeperiods.cfg successfully written!
Configuration file: commands.cfg successfully written!
Configuration file: contacts.cfg successfully written!
Configuration file: contactgroups.cfg successfully written!
Configuration file: contacttemplates.cfg successfully written!
Configuration file: servicedependencies.cfg successfully written!
Configuration file: hostdependencies.cfg successfully written!
Configuration file: serviceescalations.cfg successfully written!
Configuration file: hostescalations.cfg successfully written!
Configuration file: serviceextinfo.cfg successfully written!
Configuration file: hostextinfo.cfg successfully written!
---verify Files
Error: Could not find any host matching 'BIZ29N-EE_F29-N1' (config file '/usr/local/nagios/etc/services/BIZ29N-EE_F29-N1.cfg', starting on line 16)
Error: Failed to expand host list 'BIZ29N-EE_F29-N1' for service 'Ping' (/usr/local/nagios/etc/services/BIZ29N-EE_F29-N1.cfg:16)
Nagios Core 4.2.4
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 12-07-2016
License: GPL
Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Error: Could not find any host matching 'BIZ29N-EE_F29-N1' (config file '/usr/local/nagios/etc/services/BIZ29N-EE_F29-N1.cfg', starting on line 16)
Error: Failed to expand host list 'BIZ29N-EE_F29-N1' for service 'Ping' (/usr/local/nagios/etc/services/BIZ29N-EE_F29-N1.cfg:16)
Error processing object config files!
***> 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.
Please Help.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Setting renewal failure
Actually looking at your logs it's like there was a file imported for this host/services
/usr/local/nagios/etc/import/BIZ29N-EE_F29-N1.cfg
Do you intend for this host to exist? If not you should remove the services from Configure, -> CCM -> Services ->in the template dropdown choose BIZ29N-EE_F29-N1
Remove services.
Also, you should remove this import config if it still exists
then try the procedure I mentioned above
/usr/local/nagios/etc/import/BIZ29N-EE_F29-N1.cfg
Do you intend for this host to exist? If not you should remove the services from Configure, -> CCM -> Services ->in the template dropdown choose BIZ29N-EE_F29-N1
Remove services.
Also, you should remove this import config if it still exists
Code: Select all
rm -f /usr/local/nagios/etc/import/BIZ29N-EE_F29-N1.cfg