### Start Services Source: https://www.naemon.io/documentation/usersguide/quickstart-centos Starts the httpd, Naemon, and Thruk services and configures them to start on boot. Also includes a command to stop iptables for testing. ```bash service iptables stop # This is just for testing and will restart the firewall after reboot, please adjust your IP-tables accordingly chkconfig httpd on && service httpd start chkconfig naemon on && service naemon start chkconfig thruk on && service thruk start ``` -------------------------------- ### Build and Install PNP4Nagios Source: https://www.naemon.io/documentation/usersguide/addon-pnp-quickstart Compiles and installs PNP4Nagios, including web configuration, default configuration files, and init scripts, with specified Naemon user and group. ```bash cd /usr/local/src/pnp4nagios-0.6.24/ ./configure --with-nagios-user=naemon --with-nagios-group=naemon make all make install make install-webconf make install-config make install-init ``` -------------------------------- ### Enable and Start npcd Service on Red Hat/CentOS Source: https://www.naemon.io/documentation/usersguide/addon-pnp-quickstart Configures the npcd service to start on boot and then starts the service immediately on Red Hat or CentOS systems. ```bash chkconfig npcd on service npcd start ``` -------------------------------- ### Enable and Start npcd Service on Debian/Ubuntu Source: https://www.naemon.io/documentation/usersguide/addon-pnp-quickstart Configures the npcd service to start automatically during the boot process and then starts the service on Debian or Ubuntu systems. ```bash update-rc.d npcd defaults service npcd start ``` -------------------------------- ### Install Nagios Plugins Source: https://www.naemon.io/documentation/usersguide/quickstart-debian Installs the Nagios plugins package, which provides various monitoring scripts used by Naemon. ```bash apt-get install nagios-plugins ``` -------------------------------- ### Install Naemon Packages using dpkg Source: https://www.naemon.io/documentation/usersguide/quickstart-debian Installs the downloaded Naemon .deb packages using the dpkg command. ```bash dpkg -i naemon*.deb ``` -------------------------------- ### Access Naemon Web Interface Source: https://www.naemon.io/documentation/usersguide/quickstart-centos Provides the URL to access the Naemon web interface after installation. ```text http://localhost/naemon/ ``` -------------------------------- ### Install Nagios Plugins Source: https://www.naemon.io/documentation/usersguide/quickstart-centos Installs the Nagios plugins package and related components like nrpe. ```bash yum install nagios-plugins nagios-plugins-all nagios-plugins-nrpe nrpe ``` -------------------------------- ### Download PNP4Nagios Source Code Source: https://www.naemon.io/documentation/usersguide/addon-pnp-quickstart Downloads the PNP4Nagios version 0.6.24 source archive from the official SourceForge project page. ```bash cd ~/ mkdir src cd src wget http://downloads.sourceforge.net/project/pnp4nagios/PNP-0.6/pnp4nagios-0.6.24.tar.gz ``` -------------------------------- ### Install Naemon Packages Source: https://www.naemon.io/documentation/usersguide/quickstart-centos Installs Naemon and related packages using yum. ```bash yum install naemon* ``` -------------------------------- ### Install Naemon on Ubuntu Source: https://www.naemon.io/documentation/usersguide/quickstart-ubuntu Installs the Naemon monitoring system package using the apt-get command after the repository has been configured. ```bash sudo apt-get install naemon ``` -------------------------------- ### Install PNP4Nagios Dependencies on Debian/Ubuntu Source: https://www.naemon.io/documentation/usersguide/addon-pnp-quickstart Installs necessary packages for compiling and running PNP4Nagios on Debian or Ubuntu systems using apt-get. ```bash apt-get install make rrdtool librrds-perl g++ php5-cli php5-gd libapache2-mod-php5 ``` -------------------------------- ### Enable and Start npcd Service on SLES Source: https://www.naemon.io/documentation/usersguide/addon-pnp-quickstart Enables the npcd service to start on system boot and then starts the service on SUSE Linux Enterprise Server (SLES). ```bash chkconfig -a npcd service npcd start ``` -------------------------------- ### Install labs.consol.de Repository Source: https://www.naemon.io/documentation/usersguide/quickstart-centos Installs the necessary repository for Naemon packages on CentOS. ```bash yum install https://labs.consol.de/repo/stable/rhel6/i386/labs-consol-stable.rhel6.noarch.rpm ``` -------------------------------- ### Update apt Cache and Install Naemon Source: https://www.naemon.io/documentation/usersguide/quickstart-debian Updates the package list from all configured repositories and then installs the Naemon package. ```bash apt-get update apt-get install naemon ``` -------------------------------- ### Install PNP4Nagios Dependencies on Red Hat/CentOS Source: https://www.naemon.io/documentation/usersguide/addon-pnp-quickstart Installs essential development tools and libraries required for building PNP4Nagios on Red Hat or CentOS systems using yum. ```bash yum install gcc-c++ rrdtool perl-Time-HiRes perl-rrdtool php-gd php php-cli wget ``` -------------------------------- ### Install Naemon Packages on Ubuntu 10.04 Source: https://www.naemon.io/documentation/usersguide/quickstart-ubuntu Installs the downloaded Naemon .deb packages using dpkg on Ubuntu 10.04 LTS. ```bash sudo dpkg -i naemon*.deb ``` -------------------------------- ### Install Nagios Plugins on Debian 7 Source: https://www.naemon.io/documentation/usersguide/quickstart-debian Installs the Nagios plugins package on Debian 7 (Wheezy) using apt-get, which provides essential monitoring scripts. ```bash apt-get install nagios-plugins ``` -------------------------------- ### Install Nagios Plugins on Ubuntu Source: https://www.naemon.io/documentation/usersguide/quickstart-ubuntu Installs the standard Nagios plugins package, which provides various scripts for checking system and service statuses. ```bash sudo apt-get install nagios-plugins ``` -------------------------------- ### Install Nagios Plugins on Debian 6 Source: https://www.naemon.io/documentation/usersguide/quickstart-debian Installs the Nagios plugins package on Debian 6 (Squeeze) using apt-get, which provides essential monitoring scripts. ```bash apt-get install nagios-plugins ``` -------------------------------- ### Install Naemon Packages Source: https://www.naemon.io/documentation/usersguide/quickstart-redhat Installs all packages starting with 'naemon' using yum, which includes the core Naemon components and related utilities downloaded previously. ```bash yum install naemon* ``` -------------------------------- ### Install Nagios Plugins on Ubuntu 13.10 Source: https://www.naemon.io/documentation/usersguide/quickstart-ubuntu Installs the standard Nagios plugins package, which provides essential monitoring scripts for Naemon. ```bash sudo apt-get install nagios-plugins ``` -------------------------------- ### Extract PNP4Nagios Source Code Source: https://www.naemon.io/documentation/usersguide/addon-pnp-quickstart Extracts the downloaded PNP4Nagios source tarball into the /usr/local/src directory. ```bash tar -xzvf pnp4nagios-0.6.24.tar.gz -C /usr/local/src/ ``` -------------------------------- ### Install Naemon Packages on Debian 7 Source: https://www.naemon.io/documentation/usersguide/quickstart-debian Installs all downloaded Naemon .deb packages on Debian 7 (Wheezy) using the dpkg command. ```bash dpkg -i naemon*.deb ``` -------------------------------- ### Install Nagios Plugins on Ubuntu 13.04 Source: https://www.naemon.io/documentation/usersguide/quickstart-ubuntu Installs the standard Nagios plugins package, which provides essential monitoring scripts for Naemon. ```bash sudo apt-get install nagios-plugins ``` -------------------------------- ### Install Nagios Plugins on Ubuntu 12.10 Source: https://www.naemon.io/documentation/usersguide/quickstart-ubuntu Installs the standard Nagios plugins package, which provides essential monitoring scripts for Naemon. ```bash sudo apt-get install nagios-plugins ``` -------------------------------- ### Install Naemon Packages on Ubuntu 12.04 Source: https://www.naemon.io/documentation/usersguide/quickstart-ubuntu Installs the downloaded Naemon .deb packages using dpkg on Ubuntu 12.04 LTS. ```bash sudo dpkg -i naemon*.deb ``` -------------------------------- ### Download Naemon Packages for Debian 7 Source: https://www.naemon.io/documentation/usersguide/quickstart-debian Downloads all required Naemon packages (core, debug core, development files, Livestatus, Thruk libraries, reporting, and main package) for Debian 7 (Wheezy) amd64 architecture using wget. ```bash cd ~/ mkdir naemon cd naemon/ wget http://labs.consol.de/naemon/release/v1.4.4/debian7/amd64/naemon-core-dbg_1.4.4_debian7_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/debian7/amd64/naemon-core_1.4.4_debian7_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/debian7/amd64/naemon-dev_1.4.4_debian7_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/debian7/amd64/naemon-livestatus_1.4.4_debian7_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/debian7/amd64/naemon-thruk-libs_1.4.4_debian7_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/debian7/amd64/naemon-thruk-reporting_1.4.4_debian7_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/debian7/amd64/naemon-thruk_1.4.4_debian7_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/debian7/amd64/naemon_1.4.4_debian7_amd64.deb ``` -------------------------------- ### Download Naemon Packages for Debian 6 Source: https://www.naemon.io/documentation/usersguide/quickstart-debian Downloads all required Naemon packages (core, debug core, development files, Livestatus, Thruk libraries, reporting, and main package) for Debian 6 (Squeeze) amd64 architecture using wget. ```bash cd ~/ mkdir naemon cd naemon/ wget http://labs.consol.de/naemon/release/v1.4.4/debian6/amd64/naemon-core-dbg_1.4.4_debian6_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/debian6/amd64/naemon-core_1.4.4_debian6_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/debian6/amd64/naemon-dev_1.4.4_debian6_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/debian6/amd64/naemon-livestatus_1.4.4_debian6_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/debian6/amd64/naemon-thruk-libs_1.4.4_debian6_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/debian6/amd64/naemon-thruk-reporting_1.4.4_debian6_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/debian6/amd64/naemon-thruk_1.4.4_debian6_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/debian6/amd64/naemon_1.4.4_debian6_amd64.deb ``` -------------------------------- ### Restart Naemon and Web Server Services Source: https://www.naemon.io/documentation/usersguide/addon-pnp-quickstart This snippet provides commands to restart the necessary services after configuration changes. It includes restarting the web server (httpd or apache2) and the Naemon service itself to apply the new settings. ```bash service httpd restart service naemon restart ``` ```bash service apache2 restart service naemon restart ``` -------------------------------- ### Access Naemon Web Interface Source: https://www.naemon.io/documentation/usersguide/quickstart-debian Provides the URL to access the Naemon web interface. Users will be prompted for the admin username and the password they set during the Thruk configuration. ```text http://localhost/naemon/ ``` -------------------------------- ### Configure PNP4Nagios Apache Conf for Ubuntu 13.10 Source: https://www.naemon.io/documentation/usersguide/addon-pnp-quickstart Moves the PNP4Nagios Apache configuration file and creates symbolic links for enabling it on Ubuntu 13.10, followed by editing the configuration. ```bash mv /etc/httpd/conf.d/pnp4nagios.conf /etc/apache2/conf-available ln -sf /etc/apache2/conf-available/pnp4nagios.conf /etc/apache2/conf-enabled/pnp4nagios.conf vi /etc/apache2/conf-available/pnp4nagios.conf ``` -------------------------------- ### Download Naemon Packages for Ubuntu 10.04 Source: https://www.naemon.io/documentation/usersguide/quickstart-ubuntu Downloads all required Naemon .deb packages for Ubuntu 10.04 LTS (amd64 architecture) from the official labs.consol.de repository. ```bash cd ~/ mkdir naemon cd naemon/ wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu10.04/amd64/naemon-core-dbg_1.4.4_ubuntu10.04_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu10.04/amd64/naemon-core_1.4.4_ubuntu10.04_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu10.04/amd64/naemon-dev_1.4.4_ubuntu10.04_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu10.04/amd64/naemon-livestatus_1.4.4_ubuntu10.04_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu10.04/amd64/naemon-thruk-libs_1.4.4_ubuntu10.04_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu10.04/amd64/naemon-thruk-reporting_1.4.4_ubuntu10.04_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu10.04/amd64/naemon-thruk_1.4.4_ubuntu10.04_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu10.04/amd64/naemon_1.4.4_ubuntu10.04_amd64.deb ``` -------------------------------- ### Download Naemon Packages for Ubuntu 12.04 Source: https://www.naemon.io/documentation/usersguide/quickstart-ubuntu Downloads all required Naemon .deb packages for Ubuntu 12.04 LTS (amd64 architecture) from the official labs.consol.de repository. ```bash cd ~/ mkdir naemon cd naemon/ wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu12.04/amd64/naemon-core-dbg_1.4.4_ubuntu12.04_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu12.04/amd64/naemon-core_1.4.4_ubuntu12.04_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu12.04/amd64/naemon-dev_1.4.4_ubuntu12.04_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu12.04/amd64/naemon-livestatus_1.4.4_ubuntu12.04_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu12.04/amd64/naemon-thruk-libs_1.4.4_ubuntu12.04_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu12.04/amd64/naemon-thruk-reporting_1.4.4_ubuntu12.04_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu12.04/amd64/naemon-thruk_1.4.4_ubuntu12.04_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu12.04/amd64/naemon_1.4.4_ubuntu12.04_amd64.deb ``` -------------------------------- ### Remove PNP4Nagios Installation File Source: https://www.naemon.io/documentation/usersguide/addon-pnp-quickstart This command removes the PNP4Nagios installation file (`install.php`) after the setup is complete. This is a security measure to prevent accidental re-installation or unauthorized access. ```bash rm /usr/local/pnp4nagios/share/install.php ``` -------------------------------- ### Download Naemon Packages for Ubuntu 12.10 Source: https://www.naemon.io/documentation/usersguide/quickstart-ubuntu Downloads all necessary Naemon .deb packages for Ubuntu Server 12.10 (amd64 architecture) from the specified release URL. ```bash cd ~/ mkdir naemon cd naemon/ wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu12.10/amd64/naemon-core-dbg_1.4.4_ubuntu12.10_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu12.10/amd64/naemon-core_1.4.4_ubuntu12.10_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu12.10/amd64/naemon-dev_1.4.4_ubuntu12.10_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu12.10/amd64/naemon-livestatus_1.4.4_ubuntu12.10_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu12.10/amd64/naemon-thruk-libs_1.4.4_ubuntu12.10_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu12.10/amd64/naemon-thruk-reporting_1.4.4_ubuntu12.10_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu12.10/amd64/naemon-thruk_1.4.4_ubuntu12.10_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu12.10/amd64/naemon_1.4.4_ubuntu12.10_amd64.deb ``` -------------------------------- ### Download Naemon Packages for Ubuntu 13.04 Source: https://www.naemon.io/documentation/usersguide/quickstart-ubuntu Downloads all necessary Naemon .deb packages for Ubuntu Server 13.04 (amd64 architecture) from the specified release URL. ```bash cd ~/ mkdir naemon cd naemon/ wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu13.04/amd64/naemon-core-dbg_1.4.4_ubuntu13.04_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu13.04/amd64/naemon-core_1.4.4_ubuntu13.04_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu13.04/amd64/naemon-dev_1.4.4_ubuntu13.04_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu13.04/amd64/naemon-livestatus_1.4.4_ubuntu13.04_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu13.04/amd64/naemon-thruk-libs_1.4.4_ubuntu13.04_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu13.04/amd64/naemon-thruk-reporting_1.4.4_ubuntu13.04_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu13.04/amd64/naemon-thruk_1.4.4_ubuntu13.04_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu13.04/amd64/naemon_1.4.4_ubuntu13.04_amd64.deb ``` -------------------------------- ### Download Naemon Packages for Ubuntu 13.10 Source: https://www.naemon.io/documentation/usersguide/quickstart-ubuntu Downloads all necessary Naemon .deb packages for Ubuntu Server 13.10 (amd64 architecture) from the specified release URL. ```bash cd ~/ mkdir naemon cd naemon/ wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu13.10/amd64/naemon-core-dbg_1.4.4_ubuntu13.10_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu13.10/amd64/naemon-core_1.4.4_ubuntu13.10_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu13.10/amd64/naemon-dev_1.4.4_ubuntu13.10_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu13.10/amd64/naemon-livestatus_1.4.4_ubuntu13.10_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu13.10/amd64/naemon-thruk-libs_1.4.4_ubuntu13.10_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu13.10/amd64/naemon-thruk-reporting_1.4.4_ubuntu13.10_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu13.10/amd64/naemon-thruk_1.4.4_ubuntu13.10_amd64.deb wget http://labs.consol.de/naemon/release/v1.4.4/ubuntu13.10/amd64/naemon_1.4.4_ubuntu13.10_amd64.deb ``` -------------------------------- ### Install dirmngr on Debian 9 Source: https://www.naemon.io/documentation/usersguide/quickstart-debian Installs the 'dirmngr' package, which is a prerequisite for managing GPG keys and repositories on Debian systems. ```bash apt-get install dirmngr ``` -------------------------------- ### Install Nagios Plugins on Ubuntu 10.04 Source: https://www.naemon.io/documentation/usersguide/quickstart-ubuntu Installs the Nagios plugins package, which provides essential monitoring scripts for Naemon on Ubuntu 10.04 LTS. ```bash sudo apt-get install nagios-plugins ``` -------------------------------- ### Install PNP4Nagios Dependencies on SLES Source: https://www.naemon.io/documentation/usersguide/addon-pnp-quickstart Installs required packages for PNP4Nagios on SUSE Linux Enterprise Server (SLES) using zypper. ```bash zypper install gcc-c++ rrdtool php53-gd php53 apache2-mod_php53 php53-zlib php53-sockets ``` -------------------------------- ### Install Naemon Packages on Ubuntu 12.10 Source: https://www.naemon.io/documentation/usersguide/quickstart-ubuntu Installs the downloaded Naemon .deb packages using dpkg, handling dependencies for Ubuntu Server 12.10. ```bash sudo dpkg -i naemon*.deb ``` -------------------------------- ### Access Naemon Web Interface Source: https://www.naemon.io/documentation/usersguide/quickstart-ubuntu Provides the URL to access the Naemon web interface. Users will be prompted for the 'admin' username and the password set during configuration. ```http http://localhost/naemon/ ``` -------------------------------- ### Install Naemon Packages on Debian 6 Source: https://www.naemon.io/documentation/usersguide/quickstart-debian Installs all downloaded Naemon .deb packages on Debian 6 (Squeeze) using the dpkg command. ```bash dpkg -i naemon*.deb ``` -------------------------------- ### Install Naemon Dependencies on Debian 8 Source: https://www.naemon.io/documentation/usersguide/quickstart-debian Installs essential packages required for Naemon, including the Apache web server, necessary libraries, and Xvfb for virtual framebuffer support. ```bash apt-get install apache2 apache2-utils libapache2-mod-fcgid libfontconfig1 libgd3 libjpeg8 libmysqlclient18 libpng12-0 libxpm4 xvfb ``` -------------------------------- ### Disable SELinux Source: https://www.naemon.io/documentation/usersguide/quickstart-centos Temporarily disables SELinux. This is a requirement for Thruk. ```text setenforce 0 ``` -------------------------------- ### Install Naemon Packages on Ubuntu 13.10 Source: https://www.naemon.io/documentation/usersguide/quickstart-ubuntu Installs the downloaded Naemon .deb packages using dpkg, handling dependencies for Ubuntu Server 13.10. ```bash sudo dpkg -i naemon*.deb ``` -------------------------------- ### Change Thruk Password Source: https://www.naemon.io/documentation/usersguide/quickstart-centos Changes the default password for the Thruk web interface administrator. ```bash htpasswd /etc/thruk/htpasswd thrukadmin ``` -------------------------------- ### Install Naemon Dependencies on Ubuntu Source: https://www.naemon.io/documentation/usersguide/quickstart-ubuntu Installs essential packages required for Naemon and its web interface on Ubuntu systems. This includes mail utilities, web server components, and various libraries for graphics and database interaction. ```bash sudo apt-get install bsd-mailx apache2 apache2-utils libapache2-mod-fcgid libfontconfig1 libjpeg62 libgd3 libxpm4 xvfb libmysqlclient18 ``` -------------------------------- ### Make SELinux Persistent Source: https://www.naemon.io/documentation/usersguide/quickstart-centos Edits the SELinux configuration file to permanently disable SELinux. ```bash vi /etc/selinux/config edit row: SELINUX=enforcing replace with: SELINUX=disabled ``` -------------------------------- ### Change Thruk Default Password Source: https://www.naemon.io/documentation/usersguide/quickstart-debian Changes the default password for the Thruk web interface administrator ('thrukadmin') using the htpasswd command. This is crucial for securing the Naemon installation. ```bash htpasswd /etc/thruk/htpasswd thrukadmin ``` -------------------------------- ### Install Naemon Packages on Ubuntu 13.04 Source: https://www.naemon.io/documentation/usersguide/quickstart-ubuntu Installs the downloaded Naemon .deb packages using dpkg, handling dependencies for Ubuntu Server 13.04. ```bash sudo dpkg -i naemon*.deb ``` -------------------------------- ### Install Naemon Dependencies on Debian 7 Source: https://www.naemon.io/documentation/usersguide/quickstart-debian Installs necessary packages for Naemon on Debian 7 (Wheezy) using apt-get. This includes web server components, libraries for image processing, database connectivity, and display server utilities. ```bash apt-get install apache2 libapache2-mod-fcgid libfontconfig1 libgd2-xpm libjpeg8 libmysqlclient18 libpng12-0 libxpm4 xvfb ``` -------------------------------- ### Install Nagios Plugins on Ubuntu 12.04 Source: https://www.naemon.io/documentation/usersguide/quickstart-ubuntu Installs the Nagios plugins package, which provides essential monitoring scripts for Naemon on Ubuntu 12.04 LTS. ```bash sudo apt-get install nagios-plugins ``` -------------------------------- ### Add Consol Labs Repository to apt Sources Source: https://www.naemon.io/documentation/usersguide/quickstart-debian Adds the Consol Labs stable repository to the system's apt sources list, enabling the installation of Naemon packages from this repository. ```bash echo "deb http://labs.consol.de/repo/stable/debian $(lsb_release -cs) main" > /etc/apt/sources.list.d/labs-consol-stable.list ``` -------------------------------- ### Restart Naemon and Apache Services Source: https://www.naemon.io/documentation/usersguide/quickstart-ubuntu Restarts the Naemon monitoring service and the Apache web server to apply configuration changes and ensure the web interface is accessible. ```bash sudo service naemon restart sudo service apache2 restart ``` -------------------------------- ### Enable EPEL Repository Source: https://www.naemon.io/documentation/usersguide/quickstart-centos Enables the EPEL repository, which is a dependency for Naemon and its related packages like mod_fcgid and nrpe. ```bash yum -y install epel-release ``` -------------------------------- ### Install Naemon Dependencies on Debian 6 Source: https://www.naemon.io/documentation/usersguide/quickstart-debian Installs necessary packages for Naemon on Debian 6 (Squeeze) using apt-get. This includes web server components, libraries for image processing, database connectivity, and display server utilities, with versions compatible with Debian 6. ```bash apt-get install apache2 libapache2-mod-fcgid libfontconfig1 libgd2-xpm libjpeg8 libmysqlclient16 libpng12-0 libxpm4 xvfb ``` -------------------------------- ### Restart Naemon and Apache Services Source: https://www.naemon.io/documentation/usersguide/quickstart-debian Restarts the Naemon monitoring service and the Apache web server to apply configuration changes. ```bash service naemon restart service apache2 restart ```