I also entered this info into the host template which many of my hosts are associated with but the image still didn't render in the web console:
icon_image base/win40.png
icon_image_alt Windows
vrml_image win40.png
statusmap_image base/win40.gd2
Does this have to be in each host file or can I simply add it to a hostgroup. So far it hasn't worked. Is it possible the actual image needs reside somewhere on the Nagios server?
Nagios Core 3.5.1 to 4.3.4. Upgrade
-
- 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
Adding it to the template should work fine
These images need to be in a subdirectory of the nagios/share/images directory
so if you enter base/win40.png the path would be
These images need to be in a subdirectory of the nagios/share/images directory
so if you enter base/win40.png the path would be
Code: Select all
/usr/local/nagios/share/images/base/win40.png
Re: Nagios Core 3.5.1 to 4.3.4. Upgrade
Ok i'll take another look and attempt.
Can you please assist with any obvious errors that can be resolved from the attached screenshot.
Can you please assist with any obvious errors that can be resolved from the attached screenshot.
-
- 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
most of these would be resolved if you ran the steps I mentioned in this post
https://support.nagios.com/forum/viewto ... 70#p257703
from the document
https://support.nagios.com/kb/article.p ... =58#CentOS
do everything in that link all the way down to the Ubuntu section.
https://support.nagios.com/forum/viewto ... 70#p257703
from the document
https://support.nagios.com/kb/article.p ... =58#CentOS
do everything in that link all the way down to the Ubuntu section.
Re: Nagios Core 3.5.1 to 4.3.4. Upgrade
I did run re-run all those commands in that link yesterday, however after doing that it returned to the original post setup in the web interface with just localhost listed and all my hosts and service checks were missing. Luckily, I had a snapshot of my previous configuration to load.
Are there specific commands I need to run to resolve these errors I can run without re-running all of them as this will wipe out the configuration changes I have made over the past weeks to ensure my hosts and service checks appear in the web interface?
Are there specific commands I need to run to resolve these errors I can run without re-running all of them as this will wipe out the configuration changes I have made over the past weeks to ensure my hosts and service checks appear in the web interface?
-
- 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
No, you need to do the part about the plugins under "Installing The Nagios Plugins"
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
Code: Select all
cd /tmp
wget --no-check-certificate -O nagios-plugins.tar.gz https://github.com/nagios-plugins/nagios-plugins/archive/release-2.2.1.tar.gz
tar zxf nagios-plugins.tar.gz
Code: Select all
cd /tmp/nagios-plugins-release-2.2.1/
./tools/setup
./configure
make
make install
Re: Nagios Core 3.5.1 to 4.3.4. Upgrade
I did re-run those commands to install the plugins. I downloaded and installed version 3.2.1 instead since I would like the latest. Confirmed the packages are already installed along with nrpe. However, i'm still running into the same check_nrpe error file not found and SSL. Please see attached screenshots.
Is there something else I may be missing? Let me know if you require more information.
Is there something else I may be missing? Let me know if you require more information.
-
- 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 are confusing things.... This is a nrpe install of 3.2.1
The errors you are showing on the screen now (different than before) is the fact that the hosts cannot connect to the NRPE on the clients.
you need to add the Nagios servers IP to the allowed_hosts field in the nrpe.cfg and then restart the NRPE service
We are now almost 90 messages into this thread, I am closing the issue as it has spanned about 12 topic
Additionally for further support please consider a Nagios Support Contract
https://www.nagios.com/services/nagios- ... ort-plans/
Or converting to Nagios XI which is much easier to manage
https://www.nagios.com/products/nagios-xi/
The errors you are showing on the screen now (different than before) is the fact that the hosts cannot connect to the NRPE on the clients.
you need to add the Nagios servers IP to the allowed_hosts field in the nrpe.cfg and then restart the NRPE service
We are now almost 90 messages into this thread, I am closing the issue as it has spanned about 12 topic
Additionally for further support please consider a Nagios Support Contract
https://www.nagios.com/services/nagios- ... ort-plans/
Or converting to Nagios XI which is much easier to manage
https://www.nagios.com/products/nagios-xi/