Hello,
Over the weekend I built and installed Nagios XI on a RHEL 6.6 server. I wanted to start testing it and decided to use the Linux Server Monitoring wizard. I followed the wizard and the documentation for the NRPE plugin and when I clicked the finish button I got an error. I uploaded a screenshot of the wizard displaying the errors.
--Berto
Issue with Linux Server Monitoring
Issue with Linux Server Monitoring
You do not have the required permissions to view the files attached to this post.
Re: Issue with Linux Server Monitoring
Did you try to repeat this at all?Berto wrote:Hello,
Over the weekend I built and installed Nagios XI on a RHEL 6.6 server. I wanted to start testing it and decided to use the Linux Server Monitoring wizard. I followed the wizard and the documentation for the NRPE plugin and when I clicked the finish button I got an error. I uploaded a screenshot of the wizard displaying the errors.
--Berto
Are all wizards failing, or just the Linux one?
Former Nagios Employee.
me.
me.
Re: Issue with Linux Server Monitoring
Hello,
I tried it again this afternoon and got the error. I've also tried the Linux NRPE and SNMP wizards and have gotten the same errors.
--Berto
I tried it again this afternoon and got the error. I've also tried the Linux NRPE and SNMP wizards and have gotten the same errors.
--Berto
Re: Issue with Linux Server Monitoring
Are you using a proxy?
Please, follow the steps, outlined in our FAQ wiki post here:
https://support.nagios.com/wiki/index.p ... n_Problems
and post the "reconfig.txt" and the "cmd.txt" files.
Please, follow the steps, outlined in our FAQ wiki post here:
https://support.nagios.com/wiki/index.p ... n_Problems
and post the "reconfig.txt" and the "cmd.txt" files.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Issue with Linux Server Monitoring
Hello,
There isn't a proxy between the Nagios XI server and the server I was trying to use. They are both on the same subnet and I have uploaded the requested files.
--Berto
There isn't a proxy between the Nagios XI server and the server I was trying to use. They are both on the same subnet and I have uploaded the requested files.
--Berto
You do not have the required permissions to view the files attached to this post.
Re: Issue with Linux Server Monitoring
In the cmd.txt file, the XI system has en error trying to connect to a proxy server. Here is a link to some instructions on how to enable proxy settings for your system.
https://support.nagios.com/wiki/index.p ... n_Problems
Especially the /etc/wgetrc settings need to be done.
https://support.nagios.com/wiki/index.p ... n_Problems
Especially the /etc/wgetrc settings need to be done.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Issue with Linux Server Monitoring
This is rather interesting. That proxy is no longer in use by corporate (I've confirmed that) but it's still in our DNS. Is there a file/config that Nagios XI uses that would have tried using that proxy server? From the cmd.txt it looks like part of the command that is run seems to be looking local to server, so why would it even go searching for a proxy?
--Berto
--Berto
Re: Issue with Linux Server Monitoring
This is explained in our FAQ wiki page (the link tgriep posted):From the cmd.txt it looks like part of the command that is run seems to be looking local to server, so why would it even go searching for a proxy?
You need to exclude the localhost in "/etc/wgetrc", i.e.Additionally, the Nagios XI code makes several internal HTTP calls to the local Nagios XI server to import configuration data, apply configuration changes, process AJAX requests, etc.
Code: Select all
no_proxy=localhost,127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16 # Hosts to exclude from proxyingBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Issue with Linux Server Monitoring
Check the /etc/wgetrc file for any proxy settings. Upload it if you are unsure.
In the XI gui, go to Admin > Proxy Configuration and make sure those settings are correct.
In the XI gui, go to Admin > Proxy Configuration and make sure those settings are correct.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Issue with Linux Server Monitoring
Hello,
After adding to the /etc/wgetrc file for excluding the the localhost it worked! Thanks a lot.
--Berto
After adding to the /etc/wgetrc file for excluding the the localhost it worked! Thanks a lot.
--Berto