Nagios Core 3.5.1 to 4.3.4. Upgrade
Re: Nagios Core 3.5.1 to 4.3.4. Upgrade
Ok in that case, can you please suggest where to include these definitions for the images to appear. Can they be part of the host or hostgroup definitions or do they have to be separate config files on there own?
Also, what config file needs editing to setup ldap authentication so that the new Nagios server is pointing to our domain?
Also, what config file needs editing to setup ldap authentication so that the new Nagios server is pointing to our domain?
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios Core 3.5.1 to 4.3.4. Upgrade
They would be part of the host.mtripodi wrote:Ok in that case, can you please suggest where to include these definitions for the images to appear. Can they be part of the host or hostgroup definitions or do they have to be separate config files on there own?
We have not published any documentation on connecting Nagios Core to LDAP, only for Nagios XI using the builtin integration.mtripodi wrote: Also, what config file needs editing to setup ldap authentication so that the new Nagios server is pointing to our domain?
Re: Nagios Core 3.5.1 to 4.3.4. Upgrade
Ok I will move those extinfo definitions to the host files and see if that renders the images.
I will figure out how to enable the ldap authentication but right now i'm thinking it will not talk to our domain if currently on a private guest network.
Right now i'm seeing the following errors in my web console which tells me our servers are not yet configured to communicate with this new Nagios server, only ping is working.
(No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_nrpe, ...) failed. errno is 2: No such file or directory
check_http: Invalid option - SSL is not available
check_ping: Invalid hostname/address - kobo-fs2.kobo.corp
I will figure out how to enable the ldap authentication but right now i'm thinking it will not talk to our domain if currently on a private guest network.
Right now i'm seeing the following errors in my web console which tells me our servers are not yet configured to communicate with this new Nagios server, only ping is working.
(No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_nrpe, ...) failed. errno is 2: No such file or directory
check_http: Invalid option - SSL is not available
check_ping: Invalid hostname/address - kobo-fs2.kobo.corp
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios Core 3.5.1 to 4.3.4. Upgrade
did you have openssl and openssl-devel installed on the server when you compiled the plugins?
Re: Nagios Core 3.5.1 to 4.3.4. Upgrade
I'm not sure so I went ahead and followed the prerequisite and install steps then installed the Nagios plugins again here: https://support.nagios.com/kb/article.p ... =58#CentOS
Restarted the Nagios service but there appears to be no change. Showing this same error:
(No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_nrpe, ...) failed. errno is 2: No such file or directory
I'm also seeing this error:
check_http: Invalid option - SSL is not available
Anything else I can verify or run on the test server that I may have missed?
Restarted the Nagios service but there appears to be no change. Showing this same error:
(No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_nrpe, ...) failed. errno is 2: No such file or directory
I'm also seeing this error:
check_http: Invalid option - SSL is not available
Anything else I can verify or run on the test server that I may have missed?
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios Core 3.5.1 to 4.3.4. Upgrade
you also need all these
and then re-compile
Code: Select all
yum install -y gcc glibc glibc-common make gettext automake autoconf wget openssl-devel net-snmp net-snmp-utils epel-release
yum install -y perl-Net-SNMP
Re: Nagios Core 3.5.1 to 4.3.4. Upgrade
I ran both of those commands yesterday then restarted the Nagios service.
What do you mean by "re-compile"? Please confirm for me how to do this. Thanks.
What do you mean by "re-compile"? Please confirm for me how to do this. Thanks.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios Core 3.5.1 to 4.3.4. Upgrade
All the commands or just from the "Compile" section? This is to install Nagios 4.4.1 core which I have already done.
Which commands specifically?
Which commands specifically?
Re: Nagios Core 3.5.1 to 4.3.4. Upgrade
I was able to successfully re-compile and installed NRPE plugin which I realized I did not have. The errors have changed, however I am still receiving some of these errors still:
(No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_nrpe, ...) failed. errno is 2: No such file or directory
I believe the remaining errors are mostly due to the fact that this new Nagios server is not configured to run the particular service checks I have configured yet. I will sort that out once it's been moved into our production environment.
In the meantime, can you please look at the remaining errors in my attached screenshot and let me know if anything stands out. Perhaps I missed other installs/config. Thanks.
(No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_nrpe, ...) failed. errno is 2: No such file or directory
I believe the remaining errors are mostly due to the fact that this new Nagios server is not configured to run the particular service checks I have configured yet. I will sort that out once it's been moved into our production environment.
In the meantime, can you please look at the remaining errors in my attached screenshot and let me know if anything stands out. Perhaps I missed other installs/config. Thanks.