Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/prolinuxhub/public_html/wp-includes/script-loader.php on line 757

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/prolinuxhub/public_html/wp-includes/script-loader.php on line 757

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/prolinuxhub/public_html/wp-includes/script-loader.php on line 758

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/prolinuxhub/public_html/wp-includes/script-loader.php on line 758

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/load.php on line 926

Notice: Trying to access array offset on value of type bool in /home/prolinuxhub/public_html/wp-includes/theme.php on line 2360

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

Deprecated: Function create_function() is deprecated in /home/prolinuxhub/public_html/wp-content/plugins/synved-shortcodes/synved-shortcode/synved-shortcode.php on line 693

Deprecated: Function create_function() is deprecated in /home/prolinuxhub/public_html/wp-content/plugins/synved-shortcodes/synved-shortcode/synved-shortcode.php on line 693

Deprecated: Function create_function() is deprecated in /home/prolinuxhub/public_html/wp-content/plugins/synved-shortcodes/synved-shortcode/synved-shortcode.php on line 693

Deprecated: Function create_function() is deprecated in /home/prolinuxhub/public_html/wp-content/plugins/synved-shortcodes/synved-shortcode/synved-shortcode.php on line 693

Deprecated: Function create_function() is deprecated in /home/prolinuxhub/public_html/wp-content/plugins/synved-shortcodes/synved-shortcode/synved-shortcode.php on line 693

Deprecated: Function create_function() is deprecated in /home/prolinuxhub/public_html/wp-content/plugins/synved-shortcodes/synved-shortcode/synved-shortcode.php on line 693

Deprecated: Function create_function() is deprecated in /home/prolinuxhub/public_html/wp-content/plugins/synved-shortcodes/synved-shortcode/synved-shortcode.php on line 693

Deprecated: Function create_function() is deprecated in /home/prolinuxhub/public_html/wp-content/plugins/synved-shortcodes/synved-shortcode/synved-shortcode.php on line 774

Deprecated: Function create_function() is deprecated in /home/prolinuxhub/public_html/wp-content/plugins/synved-shortcodes/synved-shortcode/synved-shortcode.php on line 774

Deprecated: Function create_function() is deprecated in /home/prolinuxhub/public_html/wp-content/plugins/synved-shortcodes/synved-shortcode/synved-shortcode.php on line 774

Deprecated: Function create_function() is deprecated in /home/prolinuxhub/public_html/wp-content/plugins/synved-shortcodes/synved-shortcode/synved-shortcode.php on line 774

Deprecated: Function create_function() is deprecated in /home/prolinuxhub/public_html/wp-content/plugins/synved-shortcodes/synved-shortcode/synved-shortcode.php on line 774

Deprecated: Function create_function() is deprecated in /home/prolinuxhub/public_html/wp-content/plugins/synved-shortcodes/synved-shortcode/synved-shortcode.php on line 937

Deprecated: Function create_function() is deprecated in /home/prolinuxhub/public_html/wp-content/plugins/synved-shortcodes/synved-shortcode/synved-shortcode.php on line 937

Deprecated: Function create_function() is deprecated in /home/prolinuxhub/public_html/wp-content/plugins/synved-shortcodes/synved-shortcode/synved-shortcode.php on line 937

Deprecated: Function create_function() is deprecated in /home/prolinuxhub/public_html/wp-content/plugins/synved-shortcodes/synved-shortcode/synved-shortcode.php on line 937

Deprecated: Function create_function() is deprecated in /home/prolinuxhub/public_html/wp-content/plugins/synved-shortcodes/synved-shortcode/synved-shortcode.php on line 937

Deprecated: Function create_function() is deprecated in /home/prolinuxhub/public_html/wp-content/plugins/synved-shortcodes/synved-shortcode/synved-shortcode.php on line 937

Deprecated: Function create_function() is deprecated in /home/prolinuxhub/public_html/wp-content/plugins/synved-shortcodes/synved-shortcode/synved-shortcode.php on line 937

Deprecated: Function create_function() is deprecated in /home/prolinuxhub/public_html/wp-content/plugins/synved-shortcodes/synved-shortcode/synved-shortcode.php on line 937

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798
CentsOS Upgrade Nagios to 4.3.4 – PROLINUXHUB
Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

Notice: Trying to access array offset on value of type null in /home/prolinuxhub/public_html/wp-content/plugins/cta/classes/class.cta.render.php on line 492

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

CentsOS Upgrade Nagios to 4.3.4

We had NAGIOS installed from CentOS repositories version 4.x.x. But we upgraded nrpe to version 3 which did not support old NAGIOS version that comes with repository. This is how we upgraded to veriosn 4.3.4

yum install rsync wget
rsync -rav /usr/local/nagios/ /opt/nagios411backup/
wget https://assets.nagios.com/downloads/nagioscore/releases/nagios-4.3.4.tar.gz
tar xf ./nagios-4.3.4.tar.gz && cd ./nagios-4.3.4
./configure --with-command-group=nagcmd
make all
make install
make install-init
make install-commandmode
make install-config
make install-webconf
make install-webconfig
cp -f /opt/nagios411backup/etc/nagios.cfg /usr/local/nagios/etc/
cp -f /opt/nagios411backup/etc/htpasswd.users /usr/local/nagios/etc/
rsync -rav /opt/nagios411backup/etc/objects/ /usr/local/nagios/etc/objects/
rsync -rav /opt/nagios411backup/etc/monitoring/ /usr/local/nagios/etc/monitoring/
sed -i 's/normal_check_interval/check_interval/g' /usr/local/nagios/etc/objects/templates.cfg
sed -i 's/normal_check_interval/check_interval/g' /usr/local/nagios/etc/objects/printer.cfg
sed -i 's/normal_check_interval/check_interval/g' /usr/local/nagios/etc/objects/switch.cfg
sed -i 's/retry_check_interval/retry_interval/g' /usr/local/nagios/etc/objects/templates.cfg
sed -i 's/retry_check_interval/retry_interval/g' /usr/local/nagios/etc/objects/printer.cfg
sed -i 's/retry_check_interval/retry_interval/g' /usr/local/nagios/etc/objects/switch.cfg
sed -i 's/^command_check_interval/^#command_check_intervald/g' /usr/local/nagios/etc/nagios.cfg
sed -i 's/process_performance_data=0/process_performance_data=1/g' /usr/local/nagios/etc/nagios.cfg
systemctl daemon-reload
systemctl restart nagios
systemctl restart httpd
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/prolinuxhub/public_html/wp-includes/formatting.php on line 4798