Error message when running the Network Switch/Router wizard.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rodrilea
Posts: 8
Joined: Fri Jun 23, 2017 4:31 pm

Error message when running the Network Switch/Router wizard.

Post 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
Rod Rilea
Network Systems Engineer
Wheaton College
[email protected]
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

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

Post 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
rodrilea
Posts: 8
Joined: Fri Jun 23, 2017 4:31 pm

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

Post by rodrilea »

I have sent the system profile per your instructions.
Rod Rilea
Network Systems Engineer
Wheaton College
[email protected]
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

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

Post 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
rodrilea
Posts: 8
Joined: Fri Jun 23, 2017 4:31 pm

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

Post by rodrilea »

Thank you for your help. That fixed the problem. Go ahead and close the ticket.
Rod Rilea
Network Systems Engineer
Wheaton College
[email protected]
User avatar
vtrac
Posts: 903
Joined: Tue Oct 27, 2020 1:35 pm

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

Post by vtrac »

Great!! ... locking thread ... :-)
Locked