Hi Team,
I was installing Nagios on CentOS 8 and intially was getting some errors in conneting to repos but then it was resolved.. Then it ran for a while and at the end getting error like below.. So can you please assist on what needs to be done?
Nagios Install with Error
-
pratikmehta003
- Posts: 105
- Joined: Thu Apr 09, 2020 7:35 am
Nagios Install with Error
You do not have the required permissions to view the files attached to this post.
Re: Nagios Install with Error
How are you installing Nagios XI? Is this a source or a RPM install? Are you using a proxy? Offline environment?
What is the version of Nagios XI that you are installing?
Can you post the entire install log. For the source install, the log should be located in "/tmp/nagiosxi/install.log". For the RPM install, the log should be in "/tmp/xi-install.log".
Thanks!
What is the version of Nagios XI that you are installing?
Can you post the entire install log. For the source install, the log should be located in "/tmp/nagiosxi/install.log". For the RPM install, the log should be in "/tmp/xi-install.log".
Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
pratikmehta003
- Posts: 105
- Joined: Thu Apr 09, 2020 7:35 am
Re: Nagios Install with Error
Hi,
We installed it via curl command directly as customer had allowed temporary internet connection...
Version of Nagios XI should be latest right since we are using the curl command curl https://assets.nagios.com/downloads/nagiosxi/install.sh | sh
Please find the log file attached
We installed it via curl command directly as customer had allowed temporary internet connection...
Version of Nagios XI should be latest right since we are using the curl command curl https://assets.nagios.com/downloads/nagiosxi/install.sh | sh
Please find the log file attached
You do not have the required permissions to view the files attached to this post.
Re: Nagios Install with Error
For some reason, you are not able to use pip on this system, which is used to install pymssql. If you don't care about mssql (you are not planning on monitoring MSSQL servers), you could simply comment out this line (about 247) in the /tmp/nagiosxi/1-prereqs file:
so that it would look like this:
Save, exit and rerun the full install from the command line:
Code: Select all
python -m pip install "pymssql<3"Code: Select all
# python -m pip install "pymssql<3"Code: Select all
cd /tmp/nagiosxi
./fullinstall
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
pratikmehta003
- Posts: 105
- Joined: Thu Apr 09, 2020 7:35 am
Re: Nagios Install with Error
That worked 
But what if this was in a scenario where in SQL monitoring was needed... any specific steps are available?
But what if this was in a scenario where in SQL monitoring was needed... any specific steps are available?
Re: Nagios Install with Error
I am glad I could help!That worked
Then, we would had to see why you were not able to use pip in your environment. It could be something specific to your system, e.g. your repos, version of pip that is installed, etc. It's hard to say without getting more info. For example, on my test CentOS 8 system, this particular command works just fine.But what if this was in a scenario where in SQL monitoring was needed... any specific steps are available?
Example:
Code: Select all
[root@TEST-XI-CentOS-8 ~]# python -m pip install "pymssql<3"
WARNING: Running pip install with root privileges is generally not a good idea. Try `__main__.py install --user` instead.
Collecting pymssql<3
Downloading https://files.pythonhosted.org/packages/fe/aa/59c7c8a2cf1ef0726cd4c64bff7072147db8cbb6b4379fb0c3d7c67331b9/pymssql-2.1.5-cp36-cp36m-manylinux1_x86_64.whl (1.3MB)
100% |████████████████████████████████| 1.3MB 514kB/s
Installing collected packages: pymssql
Successfully installed pymssql-2.1.5
[root@TEST-XI-CentOS-8 ~]# cat /etc/*release
CentOS Linux release 8.3.2011
NAME="CentOS Linux"
VERSION="8"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Linux 8"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:8"
HOME_URL="https://centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-8"
CENTOS_MANTISBT_PROJECT_VERSION="8"
CentOS Linux release 8.3.2011
CentOS Linux release 8.3.2011
[root@TEST-XI-CentOS-8 ~]# uname -a
Linux TEST-XI-CentOS-8 4.18.0-240.15.1.el8_3.x86_64 #1 SMP Mon Mar 1 17:16:16 UTC 2021 x86_64 x86_64 x86_64 GNU/LinuxBe sure to check out our Knowledgebase for helpful articles and solutions!
-
pratikmehta003
- Posts: 105
- Joined: Thu Apr 09, 2020 7:35 am
Re: Nagios Install with Error
Thanks for the note. For now i think its good to close