Page 1 of 1

Error message when running the Network Switch/Router wizard.

Posted: Mon Jul 12, 2021 12:00 pm
by rodrilea
After a failed attempt I am seeing the following config status message.

Nagios Core 4.4.6
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2020-04-28
License: GPL

Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Error: Could not find any host matching 'palo5220-02.wheaton.edu' (config file '/usr/local/nagios/etc/services/palo5220-02.wheaton.edu.cfg', starting on line 1295)
Error: Failed to expand host list 'palo5220-02.wheaton.edu' for service 'Port 9 Status' (/usr/local/nagios/etc/services/palo5220-02.wheaton.edu.cfg:1295)
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 definitions. 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.

I have ssh'd into the sever and removed the the config file mentioned in the error message. I have rerun the wizard for palo5220-01.wheaton.edu and it fails and I find the same err message in the config status. I have not rebooted the server after removing the config file. The palo5220-01 does exist in Nagios, but palo5220-02 does not. Palo5220-01 is set to failover to palo5220-02 if palo5220-01 goes down, and the revise will happen if the palo5220-02 is the primary and it goes down.

My hope is that by running the Network Switch/Router is to start receiving bandwidth data from the 5220-01 and my understanding is that this will happen even thought the router already exists in Nagios.

How do I resolve this problem?

Rod Rilea
[email protected]
630-752-5201

Re: Error message when running the Network Switch/Router wiz

Posted: Mon Jul 12, 2021 2:58 pm
by gsmith
Hi

Please send me your System Profile.

To send us your system profile.
1. Login to the Nagios XI GUI using a web browser.
2. Click the "Admin" > "System Profile" Menu
3. Click the "Download Profile" button
4. Save the profile.zip file and share this in a private message and then reply to this post to bring it up in the queue.

Thanks

Re: Error message when running the Network Switch/Router wiz

Posted: Tue Jul 13, 2021 9:13 am
by rodrilea
I have sent the system profile per your instructions.

Re: Error message when running the Network Switch/Router wiz

Posted: Tue Jul 13, 2021 10:36 am
by gsmith
Hi

Go to Configure, Core Config Manager.
Click the blue box labelled "Hosts".
Check for palo5220-02.wheaton.edu, if it's there delete it.
Click on Services under the Monitoring section of the left-hand menu pane.
Look for a service called "Port 9 Status" and click on it.
Now click on the "Manage Hosts" box. Remove palo5220-02.wheaton.edu if it is there.
Hit the Save button.


In the left-hand menu pane at the top, under Quick Tools, hit the Apply Configuration link,
and then the blue "Apply Configuration" box.

Please let me know what happens.

Thanks

Re: Error message when running the Network Switch/Router wiz

Posted: Tue Jul 13, 2021 4:02 pm
by rodrilea
Thank you for your help. That fixed the problem. Go ahead and close the ticket.

Re: Error message when running the Network Switch/Router wiz

Posted: Tue Jul 13, 2021 4:56 pm
by vtrac
Great!! ... locking thread ... :-)