Process of adding a windows server to monitor does not f
Process of adding a windows server to monitor does not f
Hello,
I'm facing an issue when adding a new windows server to monitor (Windows 2016)
the process doesn't finalize properly.
Many points are displayed Waiting ……………………………… And that's all… (see the Nagios_Server_Assistance_Config.png in attachment)
Current version : Nagios XI v5.4.9.
Agent NSCP 0.4.4.23 installed on the targeted server
I have the same issue with two Nagios servers:
- "test environment" where 3 windows servers were added for monitoring without issue (before the Nagios was update from version 5.4.4 to 5.4.8 and today updated to 5.4.9)
after the update to 5.4.8, it was no more possible to add a new windows server to monitor.
- "Prod environment" Nagios installed in version 5.4.8, no way to add a windows server to monitor...
Please could you advise ?
Thanks in adavance !!
I'm facing an issue when adding a new windows server to monitor (Windows 2016)
the process doesn't finalize properly.
Many points are displayed Waiting ……………………………… And that's all… (see the Nagios_Server_Assistance_Config.png in attachment)
Current version : Nagios XI v5.4.9.
Agent NSCP 0.4.4.23 installed on the targeted server
I have the same issue with two Nagios servers:
- "test environment" where 3 windows servers were added for monitoring without issue (before the Nagios was update from version 5.4.4 to 5.4.8 and today updated to 5.4.9)
after the update to 5.4.8, it was no more possible to add a new windows server to monitor.
- "Prod environment" Nagios installed in version 5.4.8, no way to add a windows server to monitor...
Please could you advise ?
Thanks in adavance !!
You do not have the required permissions to view the files attached to this post.
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Process of adding a windows server to monitor does not f
I would first suggest taking a look at https://support.nagios.com/kb/article.php?id=34
Did you recently set up or change your SSL?
If that does not resolve the issue, can you PM me your Profile? You can download it by going to Admin > System Config > System Profile and click the ***Download Profile*** button towards the top. If for whatever reason you *cannot* download the profile, please put the output of View System Info (5.3.4+, Show Profile if older) in the thread (that will at least get us some info). This will give us access to many of the logs we would otherwise ask for individually. If security is a concern, you can unzip the profile take out what you like, and then zip it up again. We may end up needing something you remove, but we can ask for that specifically.
You can also generate a profile manually using the script at /usr/local/nagiosxi/html/includes/components/profile/getprofile.sh
That should generate a profile in /usr/local/nagiosxi/var/components/ which you can get off the server with an application such as FileZilla.
After you PM the profile, please update this thread. Updating this thread is the only way for it to show back up on our dashboard.
Did you recently set up or change your SSL?
If that does not resolve the issue, can you PM me your Profile? You can download it by going to Admin > System Config > System Profile and click the ***Download Profile*** button towards the top. If for whatever reason you *cannot* download the profile, please put the output of View System Info (5.3.4+, Show Profile if older) in the thread (that will at least get us some info). This will give us access to many of the logs we would otherwise ask for individually. If security is a concern, you can unzip the profile take out what you like, and then zip it up again. We may end up needing something you remove, but we can ask for that specifically.
You can also generate a profile manually using the script at /usr/local/nagiosxi/html/includes/components/profile/getprofile.sh
That should generate a profile in /usr/local/nagiosxi/var/components/ which you can get off the server with an application such as FileZilla.
After you PM the profile, please update this thread. Updating this thread is the only way for it to show back up on our dashboard.
Re: Process of adding a windows server to monitor does not f
Hello,
I followed the instructions concerning the "Fixing the sudoers Entries" from https://support.nagios.com/kb/article.php?id=34
Then I again tried to add a windows server for monitoring, without success...
No SSL modification was made on both Nagios servers.
As requested I have downloaded and attached the profile.zip
Hopping that will help to solve my issue.
Thanks in advance for your support.
I followed the instructions concerning the "Fixing the sudoers Entries" from https://support.nagios.com/kb/article.php?id=34
Then I again tried to add a windows server for monitoring, without success...
No SSL modification was made on both Nagios servers.
As requested I have downloaded and attached the profile.zip
Hopping that will help to solve my issue.
Thanks in advance for your support.
You do not have the required permissions to view the files attached to this post.
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Process of adding a windows server to monitor does not f
In /etc/php.ini. please change the following to the listed numbers (unless the numbers are higher than these):
max_execution_time = 60
max_input_time = 120
memory_limit = 256M
Also, please add the following line:
max_input_vars = 10000
After making these changes you'll need to restart the httpd service:
service httpd restart
max_execution_time = 60
max_input_time = 120
memory_limit = 256M
Also, please add the following line:
max_input_vars = 10000
After making these changes you'll need to restart the httpd service:
service httpd restart
Re: Process of adding a windows server to monitor does not f
Hello,
The modifications were made, but it doesn't seem to have solved the issue.
Thank you in advance for your advice.
The modifications were made, but it doesn't seem to have solved the issue.
Thank you in advance for your advice.
Re: Process of adding a windows server to monitor does not f
I can see the following message in your profile:
Can you run the following commands and show the output?
Are you using a proxy?ping: unknown host localhost
Can you run the following commands and show the output?
Code: Select all
cat /etc/hosts
ip addr
ping localhost -c 3Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Process of adding a windows server to monitor does not f
Hello,
Attached the two screenshots of both NagiosXI with the commands output
Any proxy is used internally...
Thanks for your help
Attached the two screenshots of both NagiosXI with the commands output
Any proxy is used internally...
Thanks for your help
You do not have the required permissions to view the files attached to this post.
Re: Process of adding a windows server to monitor does not f
There are a couple of things that you need to look into:
1. You have to be able to access/ping localhost. I am not sure why you are not able to. Try changing the first entry in /etc/hosts (after 127.0.0.1) from "localhost.localdomain" to "localhost", or replace "srv-nagios" with "localhost". Restart apache:
You can also look into the post below for more ideas:
https://scottlinux.com/2012/06/09/cant- ... -in-linux/.
In any case, you need to be able to access localhost.
2. If you are using a proxy, you need to make sure it is configured properly, and that localhost is excluded. For more information, please review our KB article on the topic here:
https://support.nagios.com/kb/article/n ... oxies.html
1. You have to be able to access/ping localhost. I am not sure why you are not able to. Try changing the first entry in /etc/hosts (after 127.0.0.1) from "localhost.localdomain" to "localhost", or replace "srv-nagios" with "localhost". Restart apache:
Code: Select all
service httpd restarthttps://scottlinux.com/2012/06/09/cant- ... -in-linux/.
In any case, you need to be able to access localhost.
2. If you are using a proxy, you need to make sure it is configured properly, and that localhost is excluded. For more information, please review our KB article on the topic here:
https://support.nagios.com/kb/article/n ... oxies.html
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Process of adding a windows server to monitor does not f
Hello
Great, after changing the "localhost.localdomain" to "localhost" Nagios seem to be more cooperative.
I am going to add servers to monitor and keep you informed.
Thank you very much for your good support !
Great, after changing the "localhost.localdomain" to "localhost" Nagios seem to be more cooperative.
I am going to add servers to monitor and keep you informed.
Thank you very much for your good support !
Re: Process of adding a windows server to monitor does not f
Sounds good! Let us know if it is OK to lock this topic and mark it as "resolved". Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!