Page 1 of 1

nagios update issue

PostPosted: Tue Nov 19, 2019 4:08 am
by duck1004e
hi

i have upgraded my Nagios Core 3.2.3 to 4.4.5.
but no update....

/usr/local/nagios/bin/nagios -v /etc/nagios/nagios.cfg

Nagios Core 4.4.5
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2019-08-20
License: GPL

Website: https://www.nagios.org
Reading configuration data...
Warning: use_embedded_perl_implicitly is deprecated and will be removed.
Warning: enable_embedded_perl is deprecated and will be removed.
Warning: p1_file is deprecated and will be removed.
Warning: sleep_time is deprecated and will be removed.
Warning: external_command_buffer_slots is deprecated and will be removed. All commands are always processed upon arrival
Warning: command_check_interval is deprecated and will be removed. Commands are always handled on arrival
Read main config file okay...
Read object config files okay...

Running pre-flight check on configuration data...

Checking objects...
Checked 43 services.
Checked 6 hosts.
Checked 2 host groups.
Checked 0 service groups.
Checked 1 contacts.
Checked 1 contact groups.
Checked 24 commands.
Checked 5 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 6 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 5 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors: 0

service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [Tue Nov 19 18:06:29 2019] [warn] The ScriptAlias directive in /etc/httpd/conf.d/nagios.conf at line 9 will probably never match because it overlaps an earlier ScriptAlias.
[Tue Nov 19 18:06:29 2019] [warn] The Alias directive in /etc/httpd/conf.d/nagios.conf at line 26 will probably never match because it overlaps an earlier Alias.
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[ OK ]
[root@KO /]# service nagios restart
Stopping nagios: [ OK ]
Starting nagios: [ OK ]


but webpage going
version 3.2.3....
why my nagios is no update..?

help..

Re: nagios update issue

PostPosted: Tue Nov 19, 2019 11:19 am
by benjaminsmith
Hello @duck10043e,

Which upgrade instructions did you follow, did you follow the directions below?

How to Upgrade Nagios Core

There are some extra steps required for upgrading from 4.3.3 or before, to version 4.3.4 or greater.