{"id":6845,"date":"2022-07-25T13:46:59","date_gmt":"2022-07-25T18:16:59","guid":{"rendered":"https:\/\/www.apps4rent.com\/blog\/?p=6845"},"modified":"2022-07-25T14:26:53","modified_gmt":"2022-07-25T18:56:53","slug":"single-pane-monitoring-for-on-premises-cloud-and-hybrid-resources","status":"publish","type":"post","link":"https:\/\/www.apps4rent.com\/blog\/single-pane-monitoring-for-on-premises-cloud-and-hybrid-resources\/","title":{"rendered":"Single Pane Monitoring for On-Premises, Cloud, and Hybrid Resources"},"content":{"rendered":"<p>Monitoring servers, services, or resources for any IT team is one of the most important aspects for any organization to run without any disruption. Monitoring also helps in predicting potential problems and hence taking proactive measures to avert any service interruption. Apart from monitoring on-premises resources, in today\u2019s world, many organizations are slowly migrating towards Cloud solutions, and monitoring the Cloud resources is equally important. Many Cloud providers like Azure, AWS, and Google, do provide monitoring services. However, managing multiple monitoring systems is difficult and also leads to missing\/overlooking key information.<\/p>\n<h2>Challenges with Distributed Resources Monitoring<\/h2>\n<p>When it comes to monitoring systems\/resources on multiple clouds or hybrid environments, where some resources are on-premises and some are on cloud, multiple monitoring systems are not only difficult to manage, but monitoring parameters also differ in different systems and hence there is no consistency in monitoring. For example, when a domain controller, a customer monitoring system can monitor the Active Directory replication state between the domain controllers. When the same resources are moved to the cloud, such a custom alert system is missing and mostly replaced with a more complex system. Another example can be monitoring SQL databases. An on-premises system may monitor database health status, which cloud resources can also do, but when it comes to monitoring the mirroring state when SQL is configured in a cluster, the parameter is not present in most of the clouds.<\/p>\n<h3>Solution<\/h3>\n<p>A single pane\/portal-based consistent monitoring system is always a preferred solution, which can monitor all resources, be it on-premises, on cloud, or hybrid, where resources can be on multiple clouds or a combination of some resources\/servers on-premise and some on the cloud. Just because the system can monitor all these resources, it does not need to be necessarily expensive. You can configure an open source system like Nagios for monitoring resources that are distributed. Here is how easy it is to configure an open-source monitoring system, which can provide a single pane\/portal solution for all resources.<br \/>\nNagios Core Installation and Configuration on CentOS 7:<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>SSh to your server where you are planning to install Nagios Server.<\/li>\n<li>Run the below command to install a LAMP stack with Apache, MariaDB, and PHP 7 on the server.<br \/>\n<em style=\"font-weight: 300;\"><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6846\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/1-2.png\" alt=\"yum install httpd mariadb-server php php-mysql\" width=\"888\" height=\"195\" srcset=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/1-2.png 888w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/1-2-300x66.png 300w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/1-2-768x169.png 768w\" sizes=\"auto, (max-width: 888px) 100vw, 888px\" \/><\/strong><\/em><\/li>\n<li>Wait for the dependencies to be resolved and select <strong>y<\/strong> to install the packages when prompted.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6847\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/2-2.png\" alt=\"select y to install\" width=\"368\" height=\"120\" srcset=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/2-2.png 368w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/2-2-300x98.png 300w\" sizes=\"auto, (max-width: 368px) 100vw, 368px\" \/><\/li>\n<li>Wait for the installation of the packages to be completed on the server. You would see something similar as below.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6848\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/3-2.png\" alt=\"Wait for the installation of the packages\" width=\"787\" height=\"143\" srcset=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/3-2.png 787w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/3-2-300x55.png 300w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/3-2-768x140.png 768w\" sizes=\"auto, (max-width: 787px) 100vw, 787px\" \/><\/li>\n<li>Then run the following command to secure MariaDB installation and follow the on-screen instructions.<br \/>\n<em><strong>mysql_secure_installation<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6849\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/4-2.png\" alt=\"command to secure MariaDB installation \" width=\"585\" height=\"274\" srcset=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/4-2.png 585w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/4-2-300x141.png 300w\" sizes=\"auto, (max-width: 585px) 100vw, 585px\" \/><br \/>\n<\/strong><\/em><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Run the below commands to enable MariaDB and Apache to start on boot.<br \/>\n<em><strong>systemctl enable httpd.service<\/strong><\/em><br \/>\n<em><strong>systemctl enable mariadb.service<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6850\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/5-2.png\" alt=\"commands to enable MariaDB and Apache to start on boot.\" width=\"667\" height=\"117\" srcset=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/5-2.png 667w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/5-2-300x53.png 300w\" sizes=\"auto, (max-width: 667px) 100vw, 667px\" \/><br \/>\n<\/strong><\/em><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Now we will download the latest stable version of the Nagios Core.<br \/>\nFirst, navigate to the tmp directory on the server with the below command.<br \/>\n<em><strong>cd \/tmp<\/strong><\/em><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6851\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/6-1.png\" alt=\"navigate to the tmp directory on the server\" width=\"243\" height=\"35\" \/><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Run the following<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6852\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/7.png\" alt=\"command to download the Nagios\" width=\"923\" height=\"210\" srcset=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/7.png 923w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/7-300x68.png 300w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/7-768x175.png 768w\" sizes=\"auto, (max-width: 923px) 100vw, 923px\" \/> Core 4.4.5 file.<br \/>\nwget <strong><\/strong><strong>https:\/\/assets.nagios.com\/downloads\/nagioscore\/releases\/nagios-4.4.5.tar.gz<\/strong><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Once the download is complete extract the archive file move to the nagios-4.4.5 directory using the below command and run the following command to configure the installer and prepare the Nagios Core source code for the compilation process.<br \/>\n<em><strong>.\/configure<\/strong><\/em><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6853\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/8.png\" alt=\"command to configure the installer and prepare the Nagios\" width=\"495\" height=\"164\" srcset=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/8.png 495w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/8-300x99.png 300w\" sizes=\"auto, (max-width: 495px) 100vw, 495px\" \/><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>After the configuration is completed, run the below command to compile Nagios Core.<br \/>\n<em><strong>make all<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6854\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/9.png\" alt=\"command to compile Nagios Core.\" width=\"443\" height=\"85\" srcset=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/9.png 443w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/9-300x58.png 300w\" sizes=\"auto, (max-width: 443px) 100vw, 443px\" \/><br \/>\n<\/strong><\/em><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Run the below commands to create the Nagios user and group and add apache to the Nagios group.<br \/>\n<em><strong>make install-groups-users<\/strong><\/em><br \/>\n<em><strong>usermod -a -G nagios apache<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6855\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/10.png\" alt=\"commands to create the Nagios \" width=\"471\" height=\"66\" srcset=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/10.png 471w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/10-300x42.png 300w\" sizes=\"auto, (max-width: 471px) 100vw, 471px\" \/><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6856\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/11.png\" alt=\"commands to create the Nagios 2\" width=\"480\" height=\"34\" srcset=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/11.png 480w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/11-300x21.png 300w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><br \/>\n<\/strong><\/em><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Run the below command to install Nagios Core.<br \/>\n<em><strong>make install<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6857\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/12.png\" alt=\"command to install Nagios Core\" width=\"671\" height=\"97\" srcset=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/12.png 671w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/12-300x43.png 300w\" sizes=\"auto, (max-width: 671px) 100vw, 671px\" \/><br \/>\n<\/strong><\/em><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Run the below command to install the initialization script which can be used to manage the Nagios service.<br \/>\n<em><strong>make install-daemoninit<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6858\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/13.png\" alt=\"command to install the initialization script \" width=\"945\" height=\"148\" srcset=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/13.png 945w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/13-300x47.png 300w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/13-768x120.png 768w\" sizes=\"auto, (max-width: 945px) 100vw, 945px\" \/><br \/>\n<\/strong><\/em><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Run the below command to install the Nagios sample configuration files.<br \/>\n<em><strong>make install-config<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6859\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/14.png\" alt=\"command to install the Nagios\" width=\"900\" height=\"99\" srcset=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/14.png 900w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/14-300x33.png 300w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/14-768x84.png 768w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><br \/>\n<\/strong><\/em><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Run the below command to install the Apache web server configuration files.<br \/>\n<em><strong>make install-webconf<\/strong><\/em><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6860\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/15.png\" alt=\"command to install the Apache web server configuration files\" width=\"699\" height=\"144\" srcset=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/15.png 699w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/15-300x62.png 300w\" sizes=\"auto, (max-width: 699px) 100vw, 699px\" \/><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Run the below command to install packages that are needed to install Nagios plugins.<br \/>\n<em><strong>yum install gcc glibc glibc-common make gettext automake autoconf wget openssl-devel net-snmp net-snmp-utils epel-release perl-Net-SNMP<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6861\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/16.png\" alt=\"command to install packages\" width=\"949\" height=\"146\" srcset=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/16.png 949w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/16-300x46.png 300w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/16-768x118.png 768w\" sizes=\"auto, (max-width: 949px) 100vw, 949px\" \/><br \/>\n<\/strong><\/em><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Wait for the dependencies to be resolved and select y to install the packages when prompted.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6862\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/17.png\" alt=\"\u2022\tWait for the dependencies to be resolved\" width=\"363\" height=\"121\" srcset=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/17.png 363w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/17-300x100.png 300w\" sizes=\"auto, (max-width: 363px) 100vw, 363px\" \/><\/li>\n<li>Wait for the installation of the packages to be completed on the server. You would see something similar as below.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6863\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/18.png\" alt=\"Wait for the installation of the packages \" width=\"932\" height=\"249\" srcset=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/18.png 932w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/18-300x80.png 300w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/18-768x205.png 768w\" sizes=\"auto, (max-width: 932px) 100vw, 932px\" \/><\/li>\n<li>Use the below command to start Nagios Service on the server.<br \/>\n<em><strong>systemctl start nagios<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6864\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/19.png\" alt=\"command to start Nagios Service on the server\" width=\"511\" height=\"33\" srcset=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/19.png 511w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/19-300x19.png 300w\" sizes=\"auto, (max-width: 511px) 100vw, 511px\" \/><br \/>\n<\/strong><\/em><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>To access Nagios Core, open your browser and navigate to http:\/\/YOUR-IP-ADDRESS\/nagios and log in using the account you had created during server installation.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6869\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/20.png\" alt=\"access Nagios Core\" width=\"876\" height=\"307\" srcset=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/20.png 876w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/20-300x105.png 300w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/20-768x269.png 768w\" sizes=\"auto, (max-width: 876px) 100vw, 876px\" \/><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2>Installation and configuration of Windows OS Monitoring<\/h2>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>On the Windows system for which you plan to configure Nagios Monitoring, download the latest version of NSClient from <strong>http:\/\/nsclient.org\/download\/<\/strong><\/li>\n<li>Once the download is done, run the installer as an administrator to install the application and click on <strong>Next.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6870\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/21.png\" alt=\"install the app\" width=\"490\" height=\"382\" srcset=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/21.png 490w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/21-300x234.png 300w\" sizes=\"auto, (max-width: 490px) 100vw, 490px\" \/><br \/>\n<\/strong><\/li>\n<li>On the below screen, select Generic and click Next.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6871\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/22.png\" alt=\"select Generic and click Next\" width=\"488\" height=\"377\" srcset=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/22.png 488w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/22-300x232.png 300w\" sizes=\"auto, (max-width: 488px) 100vw, 488px\" \/><\/li>\n<li>On the below screen, Select the Typical installation setup type and click Next.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6872\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/23.png\" alt=\"Select the Typical installation setup \" width=\"489\" height=\"376\" srcset=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/23.png 489w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/23-300x231.png 300w\" sizes=\"auto, (max-width: 489px) 100vw, 489px\" \/><\/li>\n<li>Once you are on the below screen of the agent configuration window, Edit the default configurations are shown below as follows.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6873\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/24.png\" alt=\"Edit the default configurations \" width=\"489\" height=\"380\" srcset=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/24.png 489w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/24-300x233.png 300w\" sizes=\"auto, (max-width: 489px) 100vw, 489px\" \/><br \/>\n&#8211; <strong>Under Allowed hosts:<\/strong> Replace the loopback-v6 address, ::1, with the IP of the Nagios Server.<br \/>\n&#8211; <strong>Under the Password:<\/strong> Delete the existing string and set a Strong Password for use for communication between the Server and the Client. NOTE: The Password must be the same for a group of hosts.<br \/>\n&#8211; Under \u201cModules to load:\u201d, Select the ones as shown in the above screenshot.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Click the Next and then the Install button to launch the installation.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6874\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/25.png\" alt=\"launch the installation.\" width=\"489\" height=\"376\" srcset=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/25.png 489w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/25-300x231.png 300w\" sizes=\"auto, (max-width: 489px) 100vw, 489px\" \/><\/li>\n<li>Once the Installation is complete, click the Finish button to run the client.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6875\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/26.png\" alt=\"click finish button to run the client.\" width=\"491\" height=\"379\" srcset=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/26.png 491w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/26-300x232.png 300w\" sizes=\"auto, (max-width: 491px) 100vw, 491px\" \/><\/li>\n<li>Note that the NSClient service (nscp) will automatically run after installation. It will also set a firewall rule to allow it access. Also, note that nscp service by default listens on port 12489. You can change the port as per your requirement if needed by making changes to C:\\Program Files\\NSClient++\\nsclient.ini file.<\/li>\n<li>Open the NSClient configuration file, C:\\Program Files\\NSClient++\\nsclient.ini, with a file editor such as Notepad and enable Disk space as well as System checks that are disabled by default. See the highlighted lines below.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6876\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/27.png\" alt=\"\u2022\tOpen the NSClient configuration file\" width=\"279\" height=\"362\" srcset=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/27.png 279w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/27-231x300.png 231w\" sizes=\"auto, (max-width: 279px) 100vw, 279px\" \/><\/li>\n<li>On the Nagios server and run the below command to see if the Nagios Client is configured properly and it is responding to commands.\n<p><em><strong>\/usr\/local\/nagios\/libexec\/check_nt -H 20.20.40.40 -p 12489 -s al6Na2Wasp5Naks682BsYasW -v USEDDISKSPACE -l c -w 80 -c 90<\/p>\n<p><\/strong><\/em>In the above command H \u2013 is the IP of the Host that has the Nagios Client.<br \/>\nIn the above command P \u2013 is the port on which the Nagios client is listening.<br \/>\nIn the above command S \u2013 is the password that you have set during Nagios client installation.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6877\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/28.png\" alt=\"command to see if the Nagios Client is configured properly\" width=\"859\" height=\"79\" srcset=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/28.png 859w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/28-300x28.png 300w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/28-768x71.png 768w\" sizes=\"auto, (max-width: 859px) 100vw, 859px\" \/><\/p>\n<p>If you get a response as above, that means that your Nagios server is able to talk to your Nagios client and get a response from it.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Now we will go ahead and configure Nagios monitoring for the Windows host so that we could see their monitoring status in the Nagios Interface.<\/li>\n<li>Login into your Nagios server and edit \/usr\/local\/nagios\/etc\/nagios.cfg and uncomment and enable Windows Monitoring as shown below.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6878\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/29.png\" alt=\"\u2022\tLogin into your Nagios server and edit \" width=\"422\" height=\"47\" srcset=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/29.png 422w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/29-300x33.png 300w\" sizes=\"auto, (max-width: 422px) 100vw, 422px\" \/><\/li>\n<li>Now edit \/usr\/local\/nagios\/etc\/objects\/windows.cfg file on Nagios server and enter your Windows Server details as below.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6879\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/30.png\" alt=\"enter your Windows Server details \" width=\"767\" height=\"275\" srcset=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/30.png 767w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/30-300x108.png 300w\" sizes=\"auto, (max-width: 767px) 100vw, 767px\" \/><\/li>\n<li>Now edit \/usr\/local\/nagios\/etc\/objects\/windows.cfg file on the Nagios server and make sure that the below the parameter is defined in the file. This would help us to monitor C drive space on the Windows server.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6880\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/31.png\" alt=\"would help us to monitor C drive space \" width=\"578\" height=\"179\" srcset=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/31.png 578w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/31-300x93.png 300w\" sizes=\"auto, (max-width: 578px) 100vw, 578px\" \/><\/li>\n<li>Once you see Total Warning and Error as 0, then use the below command to restart the Nagios service on the server so that the Nagios service could start with the new configurations.<br \/>\n<em><strong>systemctl reload nagios<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6882\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/32.png\" alt=\"Total Warning and Error as 0 \" width=\"441\" height=\"37\" srcset=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/32.png 441w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/32-300x25.png 300w\" sizes=\"auto, (max-width: 441px) 100vw, 441px\" \/><br \/>\n<\/strong><\/em><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li>Now navigate to <strong>http:\/\/YOUR-IP-ADDRESS\/nagios<\/strong> and click on \u201cHosts\u201d from the left-hand side, you should now see your Windows server there. Now click on your Windows Server name and then click on \u201cView Status Details for this Host\u201d.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6881\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/33.png\" alt=\"Now navigate \" width=\"942\" height=\"331\" srcset=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/33.png 942w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/33-300x105.png 300w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/33-768x270.png 768w\" sizes=\"auto, (max-width: 942px) 100vw, 942px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6883\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/34.png\" alt=\"navigate to url\" width=\"684\" height=\"309\" srcset=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/34.png 684w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/34-300x136.png 300w\" sizes=\"auto, (max-width: 684px) 100vw, 684px\" \/><\/li>\n<li>Now you would see the monitoring parameters that you would have configured for the Windows Server. It would look something like the below.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6884\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/35.png\" alt=\"see the monitoring parameters \" width=\"1011\" height=\"405\" srcset=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/35.png 1011w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/35-300x120.png 300w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/35-768x308.png 768w\" sizes=\"auto, (max-width: 1011px) 100vw, 1011px\" \/><\/li>\n<li>Once you have configured the monitoring parameters correctly, then once the threshold for the monitoring parameter is crossed, you would see them in either Warning or Critical status depending upon the threshold that has been breached.\n<p>Below is an example where the threshold has been crossed for the \u201cC Drive Space\u201d parameter and now we see a critical alert for it.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6885\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/36.png\" alt=\"threshold has been crossed for \u201cC Drive Space\u201d \" width=\"1018\" height=\"387\" srcset=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/36.png 1018w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/36-300x114.png 300w, https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2022\/07\/36-768x292.png 768w\" sizes=\"auto, (max-width: 1018px) 100vw, 1018px\" \/><\/li>\n<\/ul>\n<h3>How Apps4Rent Can Help?<\/h3>\n<p>Apps4Rent offers services to configure your own monitoring server. The server can be on-premises or on the cloud based on your requirement. A server on the cloud is a suggested solution and Apps4rent can provide a virtual server on any of the popular Clouds as well as configure monitoring as per your requirement. The monitoring portal can be accessed 24*7 from any PC Windows or MAC and mobile device, which has internet connectivity. Call, chat or email our virtual\/remote desktop specialists, available 24\/7 for assistance.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Monitoring servers, services, or resources for any IT team is one of the most important aspects for any organization to run without any disruption. Monitoring also helps in predicting potential problems and hence taking proactive measures to avert any service interruption. Apart from monitoring on-premises resources, in today\u2019s world, many organizations are slowly migrating towards [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-6845","post","type-post","status-publish","format-standard","hentry","category-press-releases"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.apps4rent.com\/blog\/wp-json\/wp\/v2\/posts\/6845","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.apps4rent.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.apps4rent.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.apps4rent.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.apps4rent.com\/blog\/wp-json\/wp\/v2\/comments?post=6845"}],"version-history":[{"count":4,"href":"https:\/\/www.apps4rent.com\/blog\/wp-json\/wp\/v2\/posts\/6845\/revisions"}],"predecessor-version":[{"id":6886,"href":"https:\/\/www.apps4rent.com\/blog\/wp-json\/wp\/v2\/posts\/6845\/revisions\/6886"}],"wp:attachment":[{"href":"https:\/\/www.apps4rent.com\/blog\/wp-json\/wp\/v2\/media?parent=6845"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.apps4rent.com\/blog\/wp-json\/wp\/v2\/categories?post=6845"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.apps4rent.com\/blog\/wp-json\/wp\/v2\/tags?post=6845"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}