How To Install and Configure Nagios in CentOS

Nagios is a monitoring solution for complex IT infrastructures, Nagios is easy to implement and can be extended by custom-modules, called plugins. In this howto I explain howto install Nagios on a CentOS host and make the configuration for it.  Install Nagios in order to watch server’s status. httpd is also needed. [1] Install Nagios [root@ns ~]# yum install nagios nagios-plugins [root@ns ~]# vi /etc/nagios/nagios.cfg # line 52: uncomment cfg_dir=/etc/nagios/servers [root@ns ~]# vi /etc/httpd/conf.d/nagios.conf # line 16: add IPs you allow Allow from 127.0.0.1 192.168.0. # line 33: add IPs you…

Read More

How To Install and Configure Nagios in Debian

Nagios is a monitoring solution for complex IT infrastructures, Nagios is easy to implement and can be extended by custom-modules, called plugins. In this howto I explain howto install Nagios on a CentOS host and make the configuration for it.  Installing Package root@atik:~# apt-get install nagios3 Confirmation password for user “nagiosadmin”   Adding Host Template root@atik:~# cd /etc/nagios3/conf.d/root@atik:/etc/nagios3/conf.d# cp generic-host_nagios2.cfg linux-server.cfg Edit linux-server.cfg below root@atik:/etc/nagios3/conf.d# vim linux-server.cfg define host{ name     linux-server  notifications_enabled  1 event_handler_enabled  1 flap_detection_enabled  1 failure_prediction_enabled 1 process_perf_data  1 retain_status_information 1 retain_nonstatus_information 1 check_command     example-host-check…

Read More