<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>monitoring Archives - ServerStadium</title>
	<atom:link href="https://serverstadium.com/knowledge-base/tag/monitoring/feed/" rel="self" type="application/rss+xml" />
	<link>https://serverstadium.com/knowledge-base/tag/monitoring/</link>
	<description>Public Cloud Solution by ServerStadium</description>
	<lastBuildDate>Mon, 31 Mar 2025 15:58:19 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.4</generator>

<image>
	<url>https://serverstadium.com/wp-content/uploads/2023/04/cropped-favicon-1-32x32.png</url>
	<title>monitoring Archives - ServerStadium</title>
	<link>https://serverstadium.com/knowledge-base/tag/monitoring/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Deploying Zabbix for Network and System Monitoring on ServerStadium Dedicated Servers</title>
		<link>https://serverstadium.com/knowledge-base/deploying-zabbix-dedicated-servers/</link>
		
		<dc:creator><![CDATA[Brian K]]></dc:creator>
		<pubDate>Mon, 31 Mar 2025 15:58:17 +0000</pubDate>
				<guid isPermaLink="false">https://serverstadium.com/?post_type=epkb_post_type_1&#038;p=12168</guid>

					<description><![CDATA[<p>Introduction This guide explains how to deploy Zabbix 7.2, a comprehensive monitoring solution, on a ServerStadium dedicated server running Ubuntu. Zabbix allows you to monitor your network, servers, and applications in real-time, ensuring proactive management of your IT infrastructure. Follow these updated instructions to install, configure, and secure your Zabbix 7.2 environment. Prerequisites Before you&#8230;</p>
<p>The post <a href="https://serverstadium.com/knowledge-base/deploying-zabbix-dedicated-servers/">Deploying Zabbix for Network and System Monitoring on ServerStadium Dedicated Servers</a> appeared first on <a href="https://serverstadium.com">ServerStadium</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">Introduction</h2>



<p class="wp-block-paragraph">This guide explains how to deploy Zabbix 7.2, a comprehensive monitoring solution, on a <a href="https://serverstadium.com/dedicated-server/?utm_source=kb&#038;utm_medium=article&#038;utm_campaign=dedicated_server">ServerStadium dedicated server</a> running Ubuntu. Zabbix allows you to monitor your network, servers, and applications in real-time, ensuring proactive management of your IT infrastructure. Follow these updated instructions to install, configure, and secure your Zabbix 7.2 environment.</p>



<h2 class="wp-block-heading">Prerequisites</h2>



<p class="wp-block-paragraph">Before you begin, ensure you have the following:</p>



<ul class="wp-block-list">
  
  <li>A <a href="https://serverstadium.com/dedicated-server/?utm_source=kb&#038;utm_medium=article&#038;utm_campaign=dedicated_server">ServerStadium dedicated server</a> running Ubuntu (preferably Ubuntu 24.04 for this repository).</li>
  
  
  <li>Basic command line knowledge and sudo privileges (or a root shell session).</li>
  
  
  <li>A running MySQL (or MariaDB) database server.</li>
  
  
  <li>Familiarity with database configuration and basic Zabbix concepts.</li>
  
</ul>



<h2 class="wp-block-heading">Deployment Steps</h2>



<h3 class="wp-block-heading">a. Become Root</h3>



<p class="wp-block-paragraph">Start a new shell session with root privileges:</p>


<pre><code>sudo -s</code></pre>


<h3 class="wp-block-heading">b. Install the Zabbix Repository</h3>



<p class="wp-block-paragraph">Download and install the latest Zabbix 7.2 repository package for Ubuntu 24.04:</p>


<pre><code>wget https://repo.zabbix.com/zabbix/7.2/release/ubuntu/pool/main/z/zabbix-release/zabbix-release_latest_7.2+ubuntu24.04_all.deb
dpkg -i zabbix-release_latest_7.2+ubuntu24.04_all.deb
apt update</code></pre>


<h3 class="wp-block-heading">c. Install Zabbix Packages</h3>



<p class="wp-block-paragraph">Install the Zabbix server, frontend, and agent packages:</p>


<pre><code>apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent -y</code></pre>


<h3 class="wp-block-heading">d. Create the Initial Database</h3>



<p class="wp-block-paragraph">Make sure your MySQL server is up and running. Then, create the Zabbix database and user. Run the following commands:</p>


<pre><code>mysql -uroot -p
# Enter your MySQL root password when prompted
CREATE DATABASE zabbix character set utf8mb4 collate utf8mb4_bin;
CREATE USER 'zabbix'@'localhost' IDENTIFIED BY 'YourSecurePassword';
GRANT ALL PRIVILEGES ON zabbix.* TO 'zabbix'@'localhost';
SET GLOBAL log_bin_trust_function_creators = 1;
QUIT;</code></pre>


<p class="wp-block-paragraph">Replace <code>YourSecurePassword</code> with a strong password.</p>



<h3 class="wp-block-heading">e. Import the Initial Schema and Data</h3>



<p class="wp-block-paragraph">Import the initial schema and data into the Zabbix database. You will be prompted for the Zabbix user password:</p>


<pre><code>zcat /usr/share/zabbix/sql-scripts/mysql/server.sql.gz | mysql --default-character-set=utf8mb4 -uzabbix -p zabbix</code></pre>


<p class="wp-block-paragraph">After importing, disable the <code>log_bin_trust_function_creators</code> option:</p>


<pre><code>mysql -uroot -p
SET GLOBAL log_bin_trust_function_creators = 0;
QUIT;</code></pre>


<h3 class="wp-block-heading">f. Configure the Zabbix Server</h3>



<p class="wp-block-paragraph">Edit the Zabbix server configuration file to set the database password. Open the file:</p>


<pre><code>nano /etc/zabbix/zabbix_server.conf</code></pre>


<p class="wp-block-paragraph">Find the line starting with <code>DBPassword=</code> and update it with your database password:</p>


<pre><code>DBPassword=YourSecurePassword</code></pre>


<h3 class="wp-block-heading">g. Start and Enable Zabbix Services</h3>



<p class="wp-block-paragraph">Restart the Zabbix server, agent, and Apache services, and enable them to start at boot:</p>


<pre><code>systemctl restart zabbix-server zabbix-agent apache2
systemctl enable zabbix-server zabbix-agent apache2</code></pre>


<h3 class="wp-block-heading">h. Access the Zabbix UI</h3>



<p class="wp-block-paragraph">Open your web browser and navigate to <code>http://your_server_ip/zabbix</code> to complete the Zabbix installation through the web-based setup wizard.</p>



<h2 class="wp-block-heading">Post-Deployment Configuration</h2>



<p class="wp-block-paragraph">After deploying Zabbix 7.2, consider the following enhancements:</p>


<ul class="wp-block-list">
  
  <li>Configure additional hosts and services to monitor via the Zabbix web interface.</li>
  
  <li>Set up alerts and notifications to proactively manage your IT infrastructure.</li>
  <!-- /wp:post-content -->
  <li>Regularly update your monitoring configuration and review performance metrics.</li>
</ul>
<!-- /wp:list -->

<!-- wp:paragraph {"className":""} -->
<p>Hosting your Zabbix monitoring solution on a <a href="https://serverstadium.com/dedicated-server/?utm_source=kb&#038;utm_medium=article&#038;utm_campaign=dedicated_server">ServerStadium dedicated server</a> ensures a robust, high-performance platform for real-time network and system monitoring.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"className":""} -->
<h2 class="wp-block-heading">Troubleshooting</h2>
<!-- /wp:heading -->

<!-- wp:paragraph {"className":""} -->
<p>If you encounter issues during deployment or operation, consider the following:</p>
<!-- /wp:paragraph -->

<ul class="wp-block-list">
  <!-- wp:list-item -->
  <li>Review Zabbix log files located in <code>/var/log/zabbix/</code> for errors.</li>
  <!-- /wp:list-item -->
  <li>Ensure the database credentials in <code>/etc/zabbix/zabbix_server.conf</code> are correct.</li>
  <!-- /wp:list-item -->
  <li>Check the status of Zabbix services using <code>systemctl status</code> commands.</li>
  <!-- /wp:list-item -->
  <li>Consult the Zabbix documentation and our guides in the <a href="https://serverstadium.com/knowledge-base/?utm_source=kb&#038;utm_medium=article&#038;utm_campaign=dedicated_server">ServerStadium Knowledge Base</a> for further assistance.</li>
</ul>
<!-- /wp:list -->

<!-- wp:heading {"className":""} -->
<h2 class="wp-block-heading">Conclusion</h2>
<!-- /wp:heading -->

<!-- wp:paragraph {"className":""} -->
<p>Deploying Zabbix 7.2 on a <a href="https://serverstadium.com/dedicated-server/?utm_source=kb&#038;utm_medium=article&#038;utm_campaign=dedicated_server">ServerStadium dedicated server</a> provides a scalable and reliable monitoring solution for your network and systems. By following this updated guide, you can ensure your IT infrastructure is proactively managed and secure. For more help or information about ServerStadium services, visit our <a href="https://serverstadium.com/knowledge-base/?utm_source=kb&#038;utm_medium=article&#038;utm_campaign=dedicated_server">knowledge base</a> or the <a href="https://serverstadium.com/?utm_source=kb&#038;utm_medium=article&#038;utm_campaign=dedicated_server">ServerStadium website</a>.</p>
<!-- /wp:paragraph -->
<p>The post <a href="https://serverstadium.com/knowledge-base/deploying-zabbix-dedicated-servers/">Deploying Zabbix for Network and System Monitoring on ServerStadium Dedicated Servers</a> appeared first on <a href="https://serverstadium.com">ServerStadium</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Advanced Application Performance Monitoring with New Relic on ServerStadium</title>
		<link>https://serverstadium.com/knowledge-base/advanced-application-performance-monitoring-with-new-relic-on-serverstadium/</link>
		
		<dc:creator><![CDATA[Brian K]]></dc:creator>
		<pubDate>Fri, 05 Jan 2024 22:51:18 +0000</pubDate>
				<guid isPermaLink="false">https://serverstadium.com/?post_type=epkb_post_type_1&#038;p=11894</guid>

					<description><![CDATA[<p>Introduction Deploying New Relic on ServerStadium’s VMs and dedicated servers offers an all-encompassing solution for optimizing and monitoring your application&#8217;s performance. This integration enables businesses to manage application health, track performance metrics, and diagnose issues effectively. Prerequisites A ServerStadium VM or dedicated server. A New Relic account. Basic knowledge of server administration and application deployment.&#8230;</p>
<p>The post <a href="https://serverstadium.com/knowledge-base/advanced-application-performance-monitoring-with-new-relic-on-serverstadium/">Advanced Application Performance Monitoring with New Relic on ServerStadium</a> appeared first on <a href="https://serverstadium.com">ServerStadium</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h3>Introduction</h3>
<p>Deploying New Relic on <a href="https://serverstadium.com/pricing/" target="_new" rel="noopener">ServerStadium’s VMs</a> and <a href="https://serverstadium.com/dedicated-server/" target="_new" rel="noopener">dedicated servers</a> offers an all-encompassing solution for optimizing and monitoring your application&#8217;s performance. This integration enables businesses to manage application health, track performance metrics, and diagnose issues effectively.</p>
<h3>Prerequisites</h3>
<ul>
<li>A <a href="https://serverstadium.com/pricing/" target="_new" rel="noopener">ServerStadium VM</a> or <a href="https://serverstadium.com/dedicated-server/" target="_new" rel="noopener">dedicated server</a>.</li>
<li>A New Relic account.</li>
<li>Basic knowledge of server administration and application deployment.</li>
</ul>
<h3>Step 1: Set Up Your ServerStadium Server</h3>
<ol>
<li><strong>Select and Prepare a Server</strong>: Choose a ServerStadium server that suits your application’s needs and prepare it for deployment.
<p><div class="shortcode-code">
<p> sudo apt update<br />
sudo apt upgrade </p></div></li>
</ol>
<h3>Step 2: Sign Up for New Relic and Install the Agent</h3>
<ol>
<li><strong>Create a New Relic Account</strong>: If you don’t have an account, sign up at <a href="https://newrelic.com/" target="_new" rel="noopener">New Relic&#8217;s website</a>.</li>
<li><strong>Install the New Relic Agent</strong>: Depending on your application&#8217;s stack (e.g., PHP, Java, .NET), install the appropriate New Relic APM agent on your server.
<p>For a PHP application:</p>
<p><div class="shortcode-code">
<p> echo &#039;deb http://apt.newrelic.com/debian/ newrelic non-free&#039; | sudo tee /etc/apt/sources.list.d/newrelic.list<br />
wget -O- https://download.newrelic.com/548C16BF.gpg | sudo apt-key add &#8211;<br />
sudo apt-get update<br />
sudo apt-get install newrelic-php5<br />
sudo newrelic-install install </p></div></p>
<p>Follow the prompts to add your New Relic license key and configure the agent.</li>
</ol>
<h3>Step 3: Configure the New Relic Agent</h3>
<ol>
<li><strong>Agent Configuration</strong>: Configure the New Relic agent by editing its configuration file. This involves setting the application name, license key, and other settings.
<p><div class="shortcode-code">
<p> sudo nano /etc/newrelic/newrelic.ini </p></div></p>
<p>Update the <code>newrelic.appname</code> and <code>newrelic.license</code> settings.</li>
</ol>
<h3>Step 4: Deploy Your Application</h3>
<ol>
<li><strong>Deploy Your Application</strong>: Upload and deploy your application on your ServerStadium server as you normally would.</li>
</ol>
<h3>Step 5: Monitor Your Application</h3>
<ol>
<li><strong>View Performance Data</strong>: Log in to your New Relic account and navigate to the APM section to start monitoring your application’s performance.</li>
<li><strong>Set Up Alerts</strong>: Configure alert policies in New Relic to get notified about performance issues, errors, and other critical incidents.</li>
</ol>
<h3>Conclusion</h3>
<p>With New Relic now integrated into your ServerStadium server, you have access to powerful monitoring and analytics capabilities. This setup is vital for gaining deep insights into your application&#8217;s performance, identifying potential issues, and ensuring optimal operations. Should you need further customization or wish to explore advanced features, our <a href="https://serverstadium.com/knowledge-base/" target="_new" rel="noopener">knowledge base</a> offers a wealth of resources and detailed guides. Additionally, for any assistance or to learn more about our services, visit the <a href="https://serverstadium.com/" target="_new" rel="noopener">ServerStadium website</a>. This comprehensive approach ensures that you are well-equipped to maintain high standards in application performance and deliver an outstanding user experience.</p>
<p>The post <a href="https://serverstadium.com/knowledge-base/advanced-application-performance-monitoring-with-new-relic-on-serverstadium/">Advanced Application Performance Monitoring with New Relic on ServerStadium</a> appeared first on <a href="https://serverstadium.com">ServerStadium</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Implementing InfluxDB on ServerStadium</title>
		<link>https://serverstadium.com/knowledge-base/implementing-influxdb-on-serverstadium/</link>
		
		<dc:creator><![CDATA[Brian K]]></dc:creator>
		<pubDate>Thu, 04 Jan 2024 05:12:20 +0000</pubDate>
				<guid isPermaLink="false">https://serverstadium.com/?post_type=epkb_post_type_1&#038;p=11814</guid>

					<description><![CDATA[<p>Introduction InfluxDB, known for its performance and ease of use in handling time-series data, is perfect for a wide range of applications, from performance monitoring to real-time analytics in IoT environments. Deploying InfluxDB on ServerStadium&#8217;s robust infrastructure (VM Pricing, Dedicated Servers) ensures that you can handle large volumes of time-series data efficiently and effectively. Implementing&#8230;</p>
<p>The post <a href="https://serverstadium.com/knowledge-base/implementing-influxdb-on-serverstadium/">Implementing InfluxDB on ServerStadium</a> appeared first on <a href="https://serverstadium.com">ServerStadium</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2>Introduction</h2>
<p>InfluxDB, known for its performance and ease of use in handling time-series data, is perfect for a wide range of applications, from performance monitoring to real-time analytics in IoT environments. Deploying InfluxDB on ServerStadium&#8217;s robust infrastructure (<a href="https://serverstadium.com/pricing/" target="_new" rel="noopener">VM Pricing</a>, <a href="https://serverstadium.com/dedicated-server/" target="_new" rel="noopener">Dedicated Servers</a>) ensures that you can handle large volumes of time-series data efficiently and effectively.</p>
<h2>Implementing InfluxDB on ServerStadium</h2>
<h3>Prerequisites</h3>
<ul>
<li>A ServerStadium VM or dedicated server (<a href="https://serverstadium.com/pricing/" target="_new" rel="noopener">VM Pricing</a>, <a href="https://serverstadium.com/dedicated-server/" target="_new" rel="noopener">Dedicated Servers</a>).</li>
<li>Basic knowledge of Linux server administration.</li>
</ul>
<h3>Step 1: Select and Prepare Your ServerStadium Server</h3>
<ol>
<li><strong>Choose a Server</strong>: Opt for a ServerStadium VM or dedicated server based on the expected scale of your time-series data.</li>
<li><strong>Server Setup</strong>: Connect to your server via SSH and update the system:
<p><div class="shortcode-code">
<p> sudo apt update<br />
sudo apt upgrade </p></div></li>
</ol>
<h3>Step 2: Install InfluxDB</h3>
<ol>
<li><strong>Add InfluxDB Repository</strong>:
<p><div class="shortcode-code">
<p> wget -qO- https://repos.influxdata.com/influxdb.key | sudo apt-key add &#8211;<br />
source /etc/lsb-release<br />
echo &quot;deb https://repos.influxdata.com/ubuntu $DISTRIB_CODENAME stable&quot; | sudo tee /etc/apt/sources.list.d/influxdb.list </p></div></li>
<li><strong>Install InfluxDB</strong>:
<p><div class="shortcode-code">
<p> sudo apt update<br />
sudo apt install influxdb </p></div></li>
</ol>
<h3>Step 3: Configure InfluxDB</h3>
<ol>
<li><strong>Edit InfluxDB Configuration</strong>:
<p><div class="shortcode-code">
<p> sudo nano /etc/influxdb/influxdb.conf </p></div></p>
<p>Configure settings as needed for your specific use case.</li>
<li><strong>Start InfluxDB Service</strong>:
<p><div class="shortcode-code">
<p> sudo systemctl unmask influxdb.service<br />
sudo systemctl start influxdb<br />
sudo systemctl enable influxdb.service </p></div></li>
</ol>
<h3>Step 4: Accessing InfluxDB</h3>
<ol>
<li><strong>Access the InfluxDB CLI</strong>:
<p><div class="shortcode-code">
<p> influx </p></div></p>
<p>Use the InfluxDB CLI to create databases, users, and manage data.</li>
</ol>
<h3>Step 5: Using InfluxDB</h3>
<ol>
<li><strong>Create Database</strong>:
<p><div class="shortcode-code">
<p> CREATE DATABASE mydb </p></div></li>
<li><strong>Insert and Query Data</strong>:
<p>Insert data and perform queries as needed for your application.</li>
</ol>
<h3>Step 6: Integrating with Applications</h3>
<ol>
<li><strong>Connect to InfluxDB</strong>:
<p>Use InfluxDB’s HTTP API or client libraries to integrate with your monitoring systems, IoT devices, or applications.</li>
</ol>
<h3>Conclusion</h3>
<p>Your InfluxDB instance is now ready on a ServerStadium server, providing a powerful platform for time-series data storage and analysis. For more detailed information or support, visit our <a href="https://serverstadium.com/knowledge-base/" target="_new" rel="noopener">knowledge base</a> or contact our support team.</p>
<p>The post <a href="https://serverstadium.com/knowledge-base/implementing-influxdb-on-serverstadium/">Implementing InfluxDB on ServerStadium</a> appeared first on <a href="https://serverstadium.com">ServerStadium</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Monitoring and Optimizing Performance of Your ServerStadium Cloud Instances</title>
		<link>https://serverstadium.com/knowledge-base/monitoring-and-optimizing-performance-of-your-serverstadium-cloud-instances/</link>
		
		<dc:creator><![CDATA[Brian K]]></dc:creator>
		<pubDate>Fri, 26 May 2023 03:24:43 +0000</pubDate>
				<guid isPermaLink="false">https://serverstadium.com/?post_type=epkb_post_type_1&#038;p=11675</guid>

					<description><![CDATA[<p>Keeping your cloud instance running smoothly and efficiently is crucial. This tutorial will guide you through the process of monitoring and optimizing the performance of your ServerStadium cloud instance. For more tutorials and guides, make sure to visit our Knowledge Base. Step 1: Register Your Account If you haven&#8217;t already, you&#8217;ll need to create an&#8230;</p>
<p>The post <a href="https://serverstadium.com/knowledge-base/monitoring-and-optimizing-performance-of-your-serverstadium-cloud-instances/">Monitoring and Optimizing Performance of Your ServerStadium Cloud Instances</a> appeared first on <a href="https://serverstadium.com">ServerStadium</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Keeping your cloud instance running smoothly and efficiently is crucial. This tutorial will guide you through the process of monitoring and optimizing the performance of your ServerStadium cloud instance.</p>
<p>For more tutorials and guides, make sure to visit our <a href="https://serverstadium.com/knowledge-base/" target="_new" rel="noopener">Knowledge Base</a>.</p>
<h2>Step 1: Register Your Account</h2>
<p>If you haven&#8217;t already, you&#8217;ll need to create an account on our <a href="https://cp.serverstadium.com/regist-user" target="_new" rel="noopener">Registration Page</a>. Once registered, you&#8217;ll have access to your personal <a href="https://cp.serverstadium.com/" target="_new" rel="noopener">Cloud Dashboard</a>.</p>
<h2>Step 2: Add Your Cloud Instance</h2>
<p>From your <a href="https://cp.serverstadium.com/" target="_new" rel="noopener">Cloud Dashboard</a>, click the &#8216;Add VM&#8217; button. Choose a cloud instance that suits your needs and budget. For more detailed information about our offerings, you can visit our <a href="https://serverstadium.com/pricing/" target="_new" rel="noopener">Pricing Page</a>.</p>
<h2>Step 3: Install Monitoring Tools</h2>
<p>There are several monitoring tools available that can help you keep track of your cloud instance&#8217;s performance. One popular option is <code>htop</code>, which provides a real-time, interactive summary of your cloud instance&#8217;s performance. Install <code>htop</code> with the following command:</p>
<div class="bg-black rounded-md mb-4">
<div class="p-4 overflow-y-auto"><code class="!whitespace-pre hljs language-bash">sudo apt install htop<br />
</code></div>
</div>
<h2>Step 4: Understand Key Performance Metrics</h2>
<p><code>htop</code> Provides a wealth of information about your cloud instance&#8217;s performance. Here are a few key metrics to keep an eye on:</p>
<ul>
<li>CPU usage: High CPU usage could indicate that your cloud instance is under heavy load.</li>
<li>Memory usage: If your cloud instance is running out of memory, it may slow down.</li>
<li>Load average: The load average shows how many processes are waiting to run on the CPU.</li>
</ul>
<h2>Step 5: Optimize Performance</h2>
<p>Based on the information provided by <code>htop</code>, you can make adjustments to optimize the performance of your cloud instance. For example, you might need to stop unnecessary processes, add more memory, or upgrade to a cloud instance with more CPU power.</p>
<h2>Conclusion</h2>
<p>By monitoring and optimizing the performance of your ServerStadium cloud instance, you can ensure that it&#8217;s running smoothly and efficiently. For more tutorials and guides, visit our <a href="https://serverstadium.com/knowledge-base/" target="_new" rel="noopener">Knowledge Base</a>.</p>
<p>The post <a href="https://serverstadium.com/knowledge-base/monitoring-and-optimizing-performance-of-your-serverstadium-cloud-instances/">Monitoring and Optimizing Performance of Your ServerStadium Cloud Instances</a> appeared first on <a href="https://serverstadium.com">ServerStadium</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Simple monitoring and alerting with Monit on Ubuntu 22.04 LTS</title>
		<link>https://serverstadium.com/knowledge-base/simple-monitoring-and-alerting-with-monit-on-ubuntu-22-04-lts/</link>
		
		<dc:creator><![CDATA[Brian K]]></dc:creator>
		<pubDate>Wed, 12 Oct 2022 05:17:48 +0000</pubDate>
				<guid isPermaLink="false">https://cloudraya.com/knowledge-base/?p=2767</guid>

					<description><![CDATA[<p>TLDR Guide On Ubuntu 22.04: Example config: Mailserver config example using Gmail in /etc/monit/monitrc: Then reload Monit: Introduction Monit is a utility to monitor your services, systems, and processes and can handle alarms. Not only that, monit is available on most official upstream repositories. Its lightweight web user interface allows you to review the monitored&#8230;</p>
<p>The post <a href="https://serverstadium.com/knowledge-base/simple-monitoring-and-alerting-with-monit-on-ubuntu-22-04-lts/">Simple monitoring and alerting with Monit on Ubuntu 22.04 LTS</a> appeared first on <a href="https://serverstadium.com">ServerStadium</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h2 class="has-vivid-cyan-blue-color has-text-color wp-block-heading">TLDR Guide</h2>



<p class="wp-block-paragraph">On Ubuntu 22.04:</p>



<pre class="wp-block-code has-cyan-bluish-gray-background-color has-background"><code> sudo apt update
 sudo apt install monit -y
 sudo systemctl enable monit --now</code></pre>



<p class="wp-block-paragraph">Example config:</p>



<pre class="wp-block-code has-background" style="background-color: #ffecbf;"><code>check filesystem root with path /dev/sda1
    if space usage &gt; 90% for 5 cycles then alert</code></pre>



<p class="wp-block-paragraph">Mailserver config example using Gmail in <code>/etc/monit/monitrc</code>:</p>



<pre class="wp-block-code has-background" style="background-color: #ffecbf;"><code>set mailserver smtp.gmail.com port 587
    username "your-username" password "12-digit-app-password"
    using tlsv13
    with timeout 30 seconds

set alert your-username+alerting@gmail.com</code></pre>



<p class="wp-block-paragraph">Then reload Monit:</p>



<pre class="wp-block-code has-cyan-bluish-gray-background-color has-background"><code> sudo monit reload</code></pre>



<h2 class="has-vivid-cyan-blue-color has-text-color wp-block-heading">Introduction</h2>



<p class="wp-block-paragraph">Monit is a utility to monitor your services, systems, and processes and can handle alarms. Not only that, monit is available on most official upstream repositories. Its lightweight web user interface allows you to review the monitored components in a simple visual representation.</p>



<p class="wp-block-paragraph">So, in this article, I will show you how to install<strong> Monit</strong>, monitor things, and set the alerting for them as well. This time, I will use a Ubuntu 22.04 VM instance.</p>



<h2 class="has-vivid-cyan-blue-color has-text-color wp-block-heading">Installation Steps</h2>



<p class="wp-block-paragraph"><strong>Step 1.</strong> Do a repository update and install Monit:</p>



<pre class="wp-block-code has-cyan-bluish-gray-background-color has-background"><code>sudo apt update
sudo apt install monit -y</code></pre>



<p class="wp-block-paragraph"><strong>Step 2.</strong> Start monit service and enable it</p>



<pre class="wp-block-code has-cyan-bluish-gray-background-color has-background"><code>sudo systemctl enable monit --now</code></pre>



<p class="wp-block-paragraph"><strong>Step 3.</strong> Open the <code>/etc/monit/monitrc</code> file, then find the following lines and uncomment them to enable the Web UI (specify the SSL cert path if you have one):</p>



<pre class="wp-block-code has-background" style="background-color: #ffecbf;"><code>set httpd port 2812 and
    use address localhost  
    allow localhost        
    allow admin:monit</code></pre>



<p class="wp-block-paragraph"><strong>Step 4</strong>. Reload monit.</p>



<pre class="wp-block-code has-cyan-bluish-gray-background-color has-background"><code>sudo monit reload</code></pre>



<p class="wp-block-paragraph"><strong>Step 5.</strong> Test it by issuing <code>sudo monit status</code>, it should output something like this:</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img fetchpriority="high" decoding="async" class="wp-image-2772" src="https://serverstadium.com/wp-content/uploads/2022/10/image-9.png" alt="" width="949" height="298" srcset="https://serverstadium.com/wp-content/uploads/2022/10/image-9.png 1265w, https://serverstadium.com/wp-content/uploads/2022/10/image-9-300x94.png 300w, https://serverstadium.com/wp-content/uploads/2022/10/image-9-1024x321.png 1024w, https://serverstadium.com/wp-content/uploads/2022/10/image-9-768x241.png 768w" sizes="(max-width: 949px) 100vw, 949px" />
<figcaption>Monit status output</figcaption>
</figure>
</div>


<p class="wp-block-paragraph">You can access the Web UI by tunneling port 2812 to any free local port on your PC/Laptop.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img decoding="async" class="wp-image-2774" src="https://serverstadium.com/wp-content/uploads/2022/10/image-10.png" alt="" width="977" height="546" srcset="https://serverstadium.com/wp-content/uploads/2022/10/image-10.png 1302w, https://serverstadium.com/wp-content/uploads/2022/10/image-10-300x168.png 300w, https://serverstadium.com/wp-content/uploads/2022/10/image-10-1024x573.png 1024w, https://serverstadium.com/wp-content/uploads/2022/10/image-10-768x429.png 768w" sizes="(max-width: 977px) 100vw, 977px" />
<figcaption>Monit&#8217;s Web UI</figcaption>
</figure>
</div>


<h2 class="has-vivid-cyan-blue-color has-text-color wp-block-heading">Monitoring things</h2>



<p class="wp-block-paragraph">Monit can monitor a variety of things, for instance:</p>



<ul class="wp-block-list">
<li>Monitor websites using HTTP or HTTPS protocol</li>
<li>Monitor TCP ports</li>
<li>Monitor remote hosts</li>
<li>Monitor popular protocols like SMTP, FTP, LDAP, etc.</li>
<li>Monitor SSL certificates</li>
<li>Monitor processes</li>
<li>Monitor files, directories, and disks</li>
<li>Monitor network interfaces</li>
<li>Monitor a program&#8217;s output</li>
<li>Etc.</li>
</ul>



<p class="wp-block-paragraph">This time, I&#8217;ll show an example of monitoring a remote host and local disk usage.</p>



<h3 class="has-vivid-cyan-blue-color has-text-color wp-block-heading">Monitor a remote host</h3>



<p class="wp-block-paragraph"><strong>Step 1.</strong> Go to <code>/etc/monit/conf.d</code> and create a new file. The name could be anything, but for example, name it simply &#8220;host&#8221;</p>



<p class="wp-block-paragraph"><strong>Step 2.</strong> Edit the file with the following content:</p>



<pre class="wp-block-code has-background" style="background-color: #ffecbf;"><code>check host myhost with address IP-ADDRESS
    if failed ping then alert</code></pre>



<p class="wp-block-paragraph">It means that we monitor a host at the specified IP-ADDRESS, and if it can&#8217;t be pinged, then send an alert. Pretty straightforward, right?</p>



<p class="wp-block-paragraph"><strong>Step 3.</strong> Do a <code>sudo monit reload</code> to allow Monit to reload its configurations without stopping the service.</p>



<p class="wp-block-paragraph"><strong>Step 4.</strong> Check the monitoring using <code>sudo monit status myhost</code></p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img decoding="async" width="571" height="247" class="wp-image-2775" src="https://serverstadium.com/wp-content/uploads/2022/10/image-11.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2022/10/image-11.png 571w, https://serverstadium.com/wp-content/uploads/2022/10/image-11-300x130.png 300w" sizes="(max-width: 571px) 100vw, 571px" />
<figcaption>Monitor status</figcaption>
</figure>
</div>


<h3 class="has-vivid-cyan-blue-color has-text-color wp-block-heading">Monitor a local disk</h3>



<p class="wp-block-paragraph"><strong>Step 1.</strong> Create a new config file in <code>/etc/monit/conf.d</code> and name it a &#8220;disk&#8221;</p>



<p class="wp-block-paragraph"><strong>Step 2.</strong> Fill in the file with the following configuration. You may change the disk to your actual disk path:</p>



<pre class="wp-block-code has-background" style="background-color: #ffecbf;"><code>check filesystem root with path /dev/sda1
    if space usage &gt; 90% then alert</code></pre>



<p class="wp-block-paragraph"><strong>Step 3.</strong> Reload monit: <code>sudo monit reload</code></p>



<p class="wp-block-paragraph"><strong>Step 4.</strong> Verify the monitor: <code>sudo monit status root</code></p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" class="wp-image-2776" src="https://serverstadium.com/wp-content/uploads/2022/10/image-12.png" alt="" width="680" height="461" srcset="https://serverstadium.com/wp-content/uploads/2022/10/image-12.png 907w, https://serverstadium.com/wp-content/uploads/2022/10/image-12-300x203.png 300w, https://serverstadium.com/wp-content/uploads/2022/10/image-12-768x520.png 768w" sizes="(max-width: 680px) 100vw, 680px" />
<figcaption>Disk monitoring status</figcaption>
</figure>
</div>


<h2 class="has-vivid-cyan-blue-color has-text-color wp-block-heading">Configure email alerting</h2>



<p class="wp-block-paragraph"><strong>Step 1.</strong> Open <code>/etc/monit/monitrc</code></p>



<p class="wp-block-paragraph"><strong>Step 2.</strong> Add the following lines and adjust the data accordingly</p>



<pre class="wp-block-code has-background" style="background-color: #ffecbf;"><code>set maileserver your.smtp-server.com port the-port
    username "username" password "password"
    using tls 

set alert alert-recipient@example.com</code></pre>



<p class="wp-block-paragraph">However, if you only have a public mailing service like Gmail for instance, you can use the following configuration:</p>



<pre class="wp-block-code has-background" style="background-color: #ffecbf;"><code>set mailserver smtp.gmail.com port 587
    username "username-without-atgmailcom" password "the-password"
    using tls
    with timeout 30 seconds

set alert alert-recipient@example.com</code></pre>



<p class="wp-block-paragraph"><strong>Step 3.</strong> Test the alert by simply reloading the Monit. Example email:</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img decoding="async" class="wp-image-2778" src="https://serverstadium.com/wp-content/uploads/2022/10/image-13.png" alt="" />
<figcaption>Alert email from monit</figcaption>
</figure>
</div>


<p class="wp-block-paragraph">You can change the alerting format in the <code>monitrc</code> file; try looking around at the config.</p>



<h2 class="has-vivid-cyan-blue-color has-text-color wp-block-heading">Additional Notes</h2>



<p class="wp-block-paragraph">For more examples of how to add other monitoring types, please visit Monit&#8217;s official documentation here: <a href="https://mmonit.com/monit/documentation/monit.html" target="_blank" rel="noreferrer noopener">https://mmonit.com/monit/documentation/monit.html</a></p>



<h2 class="has-vivid-cyan-blue-color has-text-color wp-block-heading">Conclusion</h2>



<p class="wp-block-paragraph">It&#8217;s so easy to install and configure Monit and monitor things.</p>



<p class="wp-block-paragraph">Find more tips and tutorials article in ServerStadium&#8217;s <strong><a href="https://serverstadium.com/knowledge-base/" target="_blank" rel="noreferrer noopener">Knowledge Base</a>.</strong> Even better, you can<strong><a href="https://cp.serverstadium.com/regist-user" target="_blank" rel="noreferrer noopener"> register</a></strong> in ServerStadium and try our powerful VM.</p>
<p>The post <a href="https://serverstadium.com/knowledge-base/simple-monitoring-and-alerting-with-monit-on-ubuntu-22-04-lts/">Simple monitoring and alerting with Monit on Ubuntu 22.04 LTS</a> appeared first on <a href="https://serverstadium.com">ServerStadium</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Monitor Your Services Uptime Using Uptime Kuma</title>
		<link>https://serverstadium.com/knowledge-base/monitor-your-services-uptime-using-uptime-kuma/</link>
		
		<dc:creator><![CDATA[Brian K]]></dc:creator>
		<pubDate>Mon, 04 Apr 2022 15:35:09 +0000</pubDate>
				<guid isPermaLink="false">https://cloudraya.com/knowledge-base/?p=1748</guid>

					<description><![CDATA[<p>Uptime Kuma is a feature-rich yet simple to use uptime monitoring tool. It will allow you to monitor your servers and services uptime and also notify you in case of downtime. TLDR (Too Long Didn&#8217;t Read!) Docker approach: Non-docker approach: Step-by-Step Installation Guide Installing, or rather, deploying Uptime Kuma using Docker is the easiest method&#8230;</p>
<p>The post <a href="https://serverstadium.com/knowledge-base/monitor-your-services-uptime-using-uptime-kuma/">Monitor Your Services Uptime Using Uptime Kuma</a> appeared first on <a href="https://serverstadium.com">ServerStadium</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Uptime Kuma is a feature-rich yet simple to use uptime monitoring tool. It will allow you to monitor your servers and services uptime and also notify you in case of downtime.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="1290" height="595" src="https://serverstadium.com/wp-content/uploads/2022/04/image-13.png" alt="" class="wp-image-1964" style="width:968px;height:446px" srcset="https://serverstadium.com/wp-content/uploads/2022/04/image-13.png 1290w, https://serverstadium.com/wp-content/uploads/2022/04/image-13-300x138.png 300w, https://serverstadium.com/wp-content/uploads/2022/04/image-13-1024x472.png 1024w, https://serverstadium.com/wp-content/uploads/2022/04/image-13-768x354.png 768w" sizes="(max-width: 1290px) 100vw, 1290px" /><figcaption class="wp-element-caption">Uptime Kuma main dashboard</figcaption></figure>
</div>


<h2 class="wp-block-heading has-vivid-cyan-blue-color has-text-color">TLDR (Too Long Didn&#8217;t Read!)</h2>



<p class="wp-block-paragraph">Docker approach:</p>



<pre class="wp-block-code"><code># Install Docker CE

docker volume create uptime-kuma

docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1</code></pre>



<p class="wp-block-paragraph">Non-docker approach:</p>



<pre class="wp-block-code"><code># Install nodejs and npm

# Update npm
sudo npm install npm -g

git clone https://github.com/louislam/uptime-kuma.git
cd uptime-kuma
npm run setup

sudo npm install -g pm2
pm2 start server/server.js --name uptime-kuma
</code></pre>



<h2 class="wp-block-heading has-vivid-cyan-blue-color has-text-color">Step-by-Step Installation Guide</h2>



<p class="wp-block-paragraph">Installing, or rather, deploying Uptime Kuma using Docker is the easiest method as you won&#8217;t need to take care of extra dependency. Just run the crafted docker CLI command, and you&#8217;re all set!</p>



<p class="wp-block-paragraph">But I will also explain how to deploy it using NodeJS plus PM2! So, you can choose which method fits you.</p>



<h3 class="wp-block-heading has-vivid-cyan-blue-color has-text-color">Prerequisites</h3>



<p class="wp-block-paragraph">For both approaches, allow port 3001 from your OS firewall and/or your active ServerStadium Security Profile.</p>



<h3 class="wp-block-heading has-vivid-cyan-blue-color has-text-color">Via Docker</h3>



<h4 class="wp-block-heading has-vivid-cyan-blue-color has-text-color"><strong>Step 1:</strong></h4>



<p class="wp-block-paragraph">Install docker of course! You can follow the guide <a href="https://serverstadium.com/knowledge-base/how-to-deploy-container-in-serverstadium-using-docker/" target="_blank" rel="noreferrer noopener">here</a>.</p>



<h4 class="wp-block-heading has-vivid-cyan-blue-color has-text-color"><strong>Step 2:</strong></h4>



<p class="wp-block-paragraph">Create a docker volume to ensure persistent data</p>



<pre class="wp-block-code"><code>docker volume create uptime-kuma</code></pre>



<h4 class="wp-block-heading has-vivid-cyan-blue-color has-text-color"><strong>Step 3:</strong></h4>



<p class="wp-block-paragraph">Run <strong>uptime-kuma</strong></p>



<pre class="wp-block-code"><code>docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1</code></pre>



<h4 class="wp-block-heading has-vivid-cyan-blue-color has-text-color"><strong>Step 4: </strong></h4>



<p class="wp-block-paragraph">Make sure uptime-kuma is running!</p>



<pre class="wp-block-code"><code>docker ps</code></pre>



<h4 class="wp-block-heading has-vivid-cyan-blue-color has-text-color"><strong>Step 5:</strong></h4>



<p class="wp-block-paragraph">Proceed to the <a href="#First-time-setup" rel="nofollow">First setup section</a>!</p>



<h3 class="wp-block-heading has-vivid-cyan-blue-color has-text-color">Non-docker deployment</h3>



<p class="wp-block-paragraph">Uptime Kuma requires nodejs version &gt;= 14, git and npm.</p>



<h4 class="wp-block-heading has-vivid-cyan-blue-color has-text-color">Step 1: Installing nodejs package</h4>



<h5 class="wp-block-heading">For RHEL/CentOS/Alma/Rocky 8</h5>



<p class="wp-block-paragraph">Check dnf module for nodejs</p>



<pre class="wp-block-code"><code>sudo dnf module list nodejs</code></pre>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img decoding="async" src="https://serverstadium.com/wp-content/uploads/2021/12/image-13.png" alt="" class="wp-image-1756"/><figcaption class="wp-element-caption">nodejs module list</figcaption></figure>
</div>


<p class="wp-block-paragraph">In this article, I will install version 16:</p>



<pre class="wp-block-code"><code>sudo dnf module install nodejs:16</code></pre>



<h5 class="wp-block-heading">For Ubuntu 20.04</h5>



<p class="wp-block-paragraph">Pull the NodeSource PPA. If you wish to install another version, replace the &#8220;16&#8221; below with any version you want to install:</p>



<pre class="wp-block-code"><code>curl -sL https://deb.nodesource.com/setup_16.x -o nodesource_setup.sh</code></pre>



<p class="wp-block-paragraph">Then, execute the script:</p>



<pre class="wp-block-code"><code>sudo bash nodesource_setup.sh</code></pre>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="799" height="432" src="https://serverstadium.com/wp-content/uploads/2022/02/image-3.png" alt="" class="wp-image-1861" style="width:599px;height:324px" srcset="https://serverstadium.com/wp-content/uploads/2022/02/image-3.png 799w, https://serverstadium.com/wp-content/uploads/2022/02/image-3-300x162.png 300w, https://serverstadium.com/wp-content/uploads/2022/02/image-3-768x415.png 768w" sizes="(max-width: 799px) 100vw, 799px" /><figcaption class="wp-element-caption">NodeSource PPA</figcaption></figure>
</div>


<p class="wp-block-paragraph">Lastly, install <strong>nodejs</strong></p>



<pre class="wp-block-code"><code>sudo apt install nodejs -y</code></pre>



<h4 class="wp-block-heading has-vivid-cyan-blue-color has-text-color">Step 2: Building Uptime Kuma</h4>



<p class="wp-block-paragraph">This part and beyond would work for whichever Linux distro you&#8217;re using.</p>



<p class="wp-block-paragraph">Pull Uptime Kuma repo and then enter the cloned directory:</p>



<pre class="wp-block-code"><code>git clone https://github.com/louislam/uptime-kuma.git
cd uptime-kuma</code></pre>



<p class="wp-block-paragraph">After that, run the following command to start building Uptime Kuma:</p>



<pre class="wp-block-code"><code>npm run setup</code></pre>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="567" height="407" src="https://serverstadium.com/wp-content/uploads/2021/12/image-14.png" alt="" class="wp-image-1757" srcset="https://serverstadium.com/wp-content/uploads/2021/12/image-14.png 567w, https://serverstadium.com/wp-content/uploads/2021/12/image-14-300x215.png 300w" sizes="(max-width: 567px) 100vw, 567px" /><figcaption class="wp-element-caption">Setting up Uptime Kuma</figcaption></figure>
</div>


<p class="wp-block-paragraph">Once it&#8217;s done, test it!</p>



<pre class="wp-block-code"><code>node server/server.js</code></pre>



<p class="wp-block-paragraph">If it outputs something like this, then the setup is good.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img decoding="async" src="https://serverstadium.com/wp-content/uploads/2021/12/image-15.png" alt="" class="wp-image-1758"/><figcaption class="wp-element-caption">Running Uptime Kuma</figcaption></figure>
</div>


<p class="wp-block-paragraph">Exit it by pressing CTRL+C. Next, we will run it with <code>pm2</code> so it would run in the background.</p>



<h4 class="wp-block-heading has-vivid-cyan-blue-color has-text-color">Step 3: Setup pm2</h4>



<p class="wp-block-paragraph">Install the PM2 module via npm</p>



<pre class="wp-block-code"><code>sudo npm install -g pm2</code></pre>



<p class="wp-block-paragraph">Then, run the following command. Make sure you run it in the uptime-kuma directory:</p>



<pre class="wp-block-code"><code>pm2 start server/server.js --name uptime-kuma</code></pre>



<p class="wp-block-paragraph">Check if it&#8217;s running well in the background by <code>pm2 status</code> command:</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="1014" height="100" src="https://serverstadium.com/wp-content/uploads/2021/12/image-16.png" alt="" class="wp-image-1760" style="width:761px;height:75px" srcset="https://serverstadium.com/wp-content/uploads/2021/12/image-16.png 1014w, https://serverstadium.com/wp-content/uploads/2021/12/image-16-300x30.png 300w, https://serverstadium.com/wp-content/uploads/2021/12/image-16-768x76.png 768w" sizes="(max-width: 1014px) 100vw, 1014px" /><figcaption class="wp-element-caption">Running Uptime Kuma using PM2</figcaption></figure>
</div>


<h2 class="wp-block-heading has-vivid-cyan-blue-color has-text-color" id="First-time-setup">First time setup</h2>



<p class="wp-block-paragraph">Yay, now it&#8217;s ready! Access your Uptime Kuma via http://YOUR-IP:3001</p>



<blockquote class="wp-block-quote is-style-default is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">The URL looks ugly, right? If you want to get rid of it and use SSL to make it more secure, use a reverse proxy. You can read <a href="https://serverstadium.com/knowledge-base/reverse-proxy-management-using-nginx-proxy-manager/">this article</a> on how to use Nginx Proxy Manager to manage this kind of hassle easily.</p>
</blockquote>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img decoding="async" src="https://serverstadium.com/wp-content/uploads/2021/12/image-17.png" alt="" class="wp-image-1761" style="width:676px;height:510px"/><figcaption class="wp-element-caption">First-time accessing Uptime Kuma</figcaption></figure>
</div>


<p class="wp-block-paragraph">Create your admin user with a strong and complicated password. Then you&#8217;ll be brought to this page:</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="1072" height="652" src="https://serverstadium.com/wp-content/uploads/2021/12/image-18.png" alt="" class="wp-image-1763" style="width:536px;height:326px" srcset="https://serverstadium.com/wp-content/uploads/2021/12/image-18.png 1072w, https://serverstadium.com/wp-content/uploads/2021/12/image-18-300x182.png 300w, https://serverstadium.com/wp-content/uploads/2021/12/image-18-1024x623.png 1024w, https://serverstadium.com/wp-content/uploads/2021/12/image-18-768x467.png 768w" sizes="(max-width: 1072px) 100vw, 1072px" /><figcaption class="wp-element-caption">Dashboard</figcaption></figure>
</div>


<p class="wp-block-paragraph">Proceed to the next section!</p>



<h2 class="wp-block-heading has-vivid-cyan-blue-color has-text-color">Adding monitor</h2>



<p class="wp-block-paragraph">Uptime Kuma supports various types of monitoring. Here, I will cover most of them.</p>



<h3 class="wp-block-heading has-vivid-cyan-blue-color has-text-color">Basic HTTP(s)</h3>



<p class="wp-block-paragraph">Basic HTTP/HTTPS monitoring, as the title describes it, monitors basic HTTP/HTTPS connection. Uptime Kuma simply tries to reach the designated website, and it will report if it&#8217;s reachable and the latency.</p>



<p class="wp-block-paragraph"><strong>Step 1.</strong> On the dashboard, click Add New Monitor</p>



<p class="wp-block-paragraph"><strong>Step 2. </strong>Select HTTP(s) for the monitor type.</p>



<p class="wp-block-paragraph"><strong>Step 3.</strong> Give it a friendly name, e.g. My Blog Website</p>



<p class="wp-block-paragraph"><strong>Step 4.</strong> Specify the URL</p>



<p class="wp-block-paragraph"><strong>Step 5.</strong> Set the checking interval.</p>



<p class="wp-block-paragraph"><strong>Step 6.</strong> Set the number of retries before Uptime Kuma sends a notification/alert.</p>



<p class="wp-block-paragraph"><strong>Step 7.</strong> Set the retry check interval. When a monitor is reported down, this interval will override the previous checking interval.</p>



<p class="wp-block-paragraph"><strong>Last step.</strong> Save!</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="606" height="632" src="https://serverstadium.com/wp-content/uploads/2022/01/image-24.png" alt="" class="wp-image-1831" style="width:455px;height:474px" srcset="https://serverstadium.com/wp-content/uploads/2022/01/image-24.png 606w, https://serverstadium.com/wp-content/uploads/2022/01/image-24-288x300.png 288w" sizes="(max-width: 606px) 100vw, 606px" /><figcaption class="wp-element-caption">Basic HTTP(s) monitor</figcaption></figure>
</div>


<p class="wp-block-paragraph">In the <strong>Advanced </strong>section, an option allows you to flip the status. So, when the website is reachable, then it&#8217;s considered DOWN and will be alerted. Also, you can set the maximum redirects. Lastly, specify the status code it should return and consider it UP.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img decoding="async" src="https://serverstadium.com/wp-content/uploads/2022/01/image-25.png" alt="" class="wp-image-1832" style="width:462px;height:237px"/><figcaption class="wp-element-caption">Monitor status</figcaption></figure>
</div>


<h3 class="wp-block-heading has-vivid-cyan-blue-color has-text-color">HTTP(s) keyword</h3>



<p class="wp-block-paragraph">Keyword monitoring will monitor a web page and find a specific keyword, not the HTTP service itself. When the keyword is not present, then the website is considered DOWN. This will allow you to quickly notice if your website is being defaced, hacked, or if something unexpected happens to the page.</p>



<p class="wp-block-paragraph">The steps are similar to the previous one, but you&#8217;ll need to specify which keyword should be present on the webpage/site.</p>



<p class="wp-block-paragraph">For example, on the ServerStadium KB page, the footer has a text which says &#8220;Wow Technologies, Inc. Company&#8221; and we want to monitor that.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img decoding="async" src="https://serverstadium.com/wp-content/uploads/2022/04/image-9.png" alt="" class="wp-image-1955" style="width:603px;height:363px"/><figcaption class="wp-element-caption">The Keyword!</figcaption></figure>
</div>


<p class="wp-block-paragraph">The configurations are as follows:</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="857" height="665" src="https://serverstadium.com/wp-content/uploads/2022/04/image-11.png" alt="" class="wp-image-1958" style="width:643px;height:499px" srcset="https://serverstadium.com/wp-content/uploads/2022/04/image-11.png 857w, https://serverstadium.com/wp-content/uploads/2022/04/image-11-300x233.png 300w, https://serverstadium.com/wp-content/uploads/2022/04/image-11-768x596.png 768w" sizes="(max-width: 857px) 100vw, 857px" /><figcaption class="wp-element-caption">Setting HTTP(s) Keyword Monitoring</figcaption></figure>
</div>


<p class="wp-block-paragraph">Then if you click Save, a green notification will pop up and says that the keyword is found! And the monitor states UP.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="857" height="665" src="https://serverstadium.com/wp-content/uploads/2022/04/image-10.png" alt="" class="wp-image-1956" srcset="https://serverstadium.com/wp-content/uploads/2022/04/image-10.png 857w, https://serverstadium.com/wp-content/uploads/2022/04/image-10-300x233.png 300w, https://serverstadium.com/wp-content/uploads/2022/04/image-10-768x596.png 768w" sizes="(max-width: 857px) 100vw, 857px" /><figcaption class="wp-element-caption">The Keyword is found!</figcaption></figure>
</div>


<h3 class="wp-block-heading has-vivid-cyan-blue-color has-text-color">TCP port</h3>



<p class="wp-block-paragraph">This will monitor a specific port from a given server. Good use of this will be to monitor if certain services are down. For example, you will know that your SMTP service is down when the designated port is no longer open to the public, or any management ports or anything, you name it.</p>



<p class="wp-block-paragraph">Follow the steps from the Basic HTTP monitoring part until step 3. Then fill in the Hostname field with the desired server and the port with the TCP port to be monitored.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img decoding="async" src="https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_22-19.jpg" alt="" class="wp-image-1998" style="width:311px;height:455px"/><figcaption class="wp-element-caption">TCP port monitoring</figcaption></figure>
</div>


<h3 class="wp-block-heading has-vivid-cyan-blue-color has-text-color">Ping</h3>



<p class="wp-block-paragraph">Self-explanatory, it will monitor the host by sending it ping probes. The simplest monitoring types. You&#8217;ll only need to fill in the server host/IP.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="1290" height="595" src="https://serverstadium.com/wp-content/uploads/2022/04/image-12.png" alt="" class="wp-image-1959" style="width:317px;height:401px" srcset="https://serverstadium.com/wp-content/uploads/2022/04/image-12.png 1290w, https://serverstadium.com/wp-content/uploads/2022/04/image-12-300x138.png 300w, https://serverstadium.com/wp-content/uploads/2022/04/image-12-1024x472.png 1024w, https://serverstadium.com/wp-content/uploads/2022/04/image-12-768x354.png 768w" sizes="(max-width: 1290px) 100vw, 1290px" /><figcaption class="wp-element-caption">Ping monitoring</figcaption></figure>
</div>


<h3 class="wp-block-heading has-vivid-cyan-blue-color has-text-color">DNS record</h3>



<p class="wp-block-paragraph">DNS monitoring allows you to monitor a given DNS record. Whether it&#8217;s A, MX, CNAME, TXT, or any record type, you can quickly take action if your DNS records are no longer propagated, somehow.</p>



<p class="wp-block-paragraph"><strong>Step 1. </strong>Set the monitoring type to DNS</p>



<p class="wp-block-paragraph"><strong>Step 2.</strong> Always specify a friendly name.</p>



<p class="wp-block-paragraph"><strong>Step 3.</strong> Specify the hostname. E.g. google.com</p>



<p class="wp-block-paragraph"><strong>Step 4.</strong> Specify the resolver address. You can choose any DNS server, e.g. Cloudflare&#8217;s 1.1.1.1 or Google&#8217;s 8.8.8.8</p>



<p class="wp-block-paragraph"><strong>Step 5.</strong> Specify which DNS record you want to monitor.</p>



<p class="wp-block-paragraph">And the rest would be the same as the other monitoring types.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img decoding="async" src="https://serverstadium.com/wp-content/uploads/2022/04/image-12.png" alt="" class="wp-image-1962" style="width:317px;height:401px"/><figcaption class="wp-element-caption">DNS record monitoring</figcaption></figure>
</div>


<h3 class="wp-block-heading has-vivid-cyan-blue-color has-text-color">Push monitoring</h3>



<p class="wp-block-paragraph">You can monitor any servers that aren&#8217;t reachable from the internet but can reach the internet. Servers behind NAT, or having outgoing internet access only using a proxy for instance.</p>



<p class="wp-block-paragraph">Simply put the Push URL in a cron job on a minute basis, and you&#8217;re all set.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="860" height="660" src="https://serverstadium.com/wp-content/uploads/2022/04/image-14.png" alt="" class="wp-image-1965" style="width:317px;height:428px" srcset="https://serverstadium.com/wp-content/uploads/2022/04/image-14.png 860w, https://serverstadium.com/wp-content/uploads/2022/04/image-14-300x230.png 300w, https://serverstadium.com/wp-content/uploads/2022/04/image-14-768x589.png 768w" sizes="(max-width: 860px) 100vw, 860px" /><figcaption class="wp-element-caption">Push monitoring</figcaption></figure>
</div>


<p class="wp-block-paragraph">Cronjob example:</p>



<pre class="wp-block-code"><code>* * * * * /usr/bin/curl -s 'http://HOSTNAME:3001/api/push/RGjeIGaV9p?msg=OK&amp;ping='</code></pre>



<h2 class="wp-block-heading has-vivid-cyan-blue-color has-text-color">Setting up notifications</h2>



<p class="wp-block-paragraph">Uptime Kuma supports a variety of notification types. But here, I will explain only email and telegram notifications.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="411" height="196" src="https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_22-08.jpg" alt="" class="wp-image-1992" srcset="https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_22-08.jpg 411w, https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_22-08-300x143.jpg 300w" sizes="(max-width: 411px) 100vw, 411px" /><figcaption class="wp-element-caption">Create a new notification</figcaption></figure>
</div>


<h3 class="wp-block-heading has-vivid-cyan-blue-color has-text-color">Email</h3>



<p class="wp-block-paragraph">Email notification setup is pretty straightforward. You&#8217;ll only need to set up SMTP credentials, like when connecting with a mail client.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="519" height="672" src="https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_21-04.jpg" alt="" class="wp-image-1974" style="width:389px;height:504px" srcset="https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_21-04.jpg 519w, https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_21-04-232x300.jpg 232w" sizes="(max-width: 519px) 100vw, 519px" /><figcaption class="wp-element-caption">SMTP settings</figcaption></figure>
</div>


<p class="wp-block-paragraph">After filling in the required information, press the test button to check if the credentials are correct:</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img decoding="async" src="https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_21-04_1.jpg" alt="" class="wp-image-1975" style="width:383px;height:512px"/><figcaption class="wp-element-caption">Email connection test</figcaption></figure>
</div>


<p class="wp-block-paragraph">It will show a green notification box in the corner if Uptime Kuma can connect</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="342" height="83" src="https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_21-04_2.jpg" alt="" class="wp-image-1976" srcset="https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_21-04_2.jpg 342w, https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_21-04_2-300x73.jpg 300w" sizes="(max-width: 342px) 100vw, 342px" /><figcaption class="wp-element-caption">Test email success</figcaption></figure>
</div>


<p class="wp-block-paragraph">Otherwise, it will throw an error and explain why it fails to connect. Next, check your mailbox for the test email.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="559" height="144" src="https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_21-09.jpg" alt="" class="wp-image-1977" srcset="https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_21-09.jpg 559w, https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_21-09-300x77.jpg 300w" sizes="(max-width: 559px) 100vw, 559px" /><figcaption class="wp-element-caption">Test email is received</figcaption></figure>
</div>


<p class="wp-block-paragraph">Then, try to make a fake downtime by setting an invalid hostname/port (or any parameter) so it will send an alert.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="860" height="660" src="https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_21-25.jpg" alt="" class="wp-image-1979" style="width:645px;height:495px" srcset="https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_21-25.jpg 860w, https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_21-25-300x230.jpg 300w, https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_21-25-768x589.jpg 768w" sizes="(max-width: 860px) 100vw, 860px" /><figcaption class="wp-element-caption">Faking a downtime</figcaption></figure>
</div>


<p class="wp-block-paragraph">Check your mailbox; you should receive an alert for it!</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="502" height="361" src="https://serverstadium.com/wp-content/uploads/2022/04/image-15.png" alt="" class="wp-image-1980" srcset="https://serverstadium.com/wp-content/uploads/2022/04/image-15.png 502w, https://serverstadium.com/wp-content/uploads/2022/04/image-15-300x216.png 300w" sizes="(max-width: 502px) 100vw, 502px" /><figcaption class="wp-element-caption">Down alert sent</figcaption></figure>
</div>


<p class="wp-block-paragraph">Tada!</p>



<h3 class="wp-block-heading has-vivid-cyan-blue-color has-text-color">Telegram</h3>



<p class="wp-block-paragraph">Telegram notification setup will require you to prepare the following elements:</p>



<ol class="wp-block-list">
<li>Creating a Telegram BOT</li>



<li>Direct Chat/Group/Channel Chat ID</li>
</ol>



<h4 class="wp-block-heading has-vivid-cyan-blue-color has-text-color">Creating a Telegram BOT</h4>



<p class="wp-block-paragraph">Open your Telegram app (Mobile or PC), and search for @botfather. Be careful of any fake botfather accounts; make sure it&#8217;s exactly @botfather and has a verified icon on the name.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="281" height="130" src="https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_21-37.jpg" alt="" class="wp-image-1983"/><figcaption class="wp-element-caption">The real botfather bot account.</figcaption></figure>
</div>


<p class="wp-block-paragraph">Then add the bot and start creating a bot.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="443" height="256" src="https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_21-42.jpg" alt="" class="wp-image-1985" srcset="https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_21-42.jpg 443w, https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_21-42-300x173.jpg 300w" sizes="(max-width: 443px) 100vw, 443px" /><figcaption class="wp-element-caption">Creating a telegram bot</figcaption></figure>
</div>


<p class="wp-block-paragraph">In the end, the BotFather will give you the API token you will use in Uptime Kuma. Keep it safe, and don&#8217;t share it with anybody.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="450" height="277" src="https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_21-44.jpg" alt="" class="wp-image-1987" srcset="https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_21-44.jpg 450w, https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_21-44-300x185.jpg 300w" sizes="(max-width: 450px) 100vw, 450px" /><figcaption class="wp-element-caption">BOT API token</figcaption></figure>
</div>


<p class="wp-block-paragraph">The first part is done; let&#8217;s go to the second one.</p>



<h4 class="wp-block-heading has-vivid-cyan-blue-color has-text-color">Obtaining the Chat ID</h4>



<p class="wp-block-paragraph">A chat ID is the ID of a direct chat or channel or group where you want Uptime Kuma to send the notification. To get this ID, you&#8217;ll need to determine whether you want a group, a private channel, or just a plain chat (the bot will send the notification directly to your telegram account, not via group/channel).</p>



<p class="wp-block-paragraph">If you create (or existing) a group or channel, you must invite the bot to the group/channel and assign writing permission to it. So, the bot will be able to post the notifications.</p>



<p class="wp-block-paragraph">Then, add another bot called @JsonDumpBot that allows you to retrieve metadata of a message, including the chat ID, by simply forwarding the message to this bot.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="371" height="313" src="https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_21-57.jpg" alt="" class="wp-image-1989" srcset="https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_21-57.jpg 371w, https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_21-57-300x253.jpg 300w" sizes="(max-width: 371px) 100vw, 371px" /><figcaption class="wp-element-caption">Telegram JsonDumpBot</figcaption></figure>
</div>


<p class="wp-block-paragraph">First, post a dummy text in the group/channel or your own bot, then forward the message to the JsonDumpBot. You&#8217;ll be replied with the metadata in JSON format.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="339" height="625" src="https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_22-04.jpg" alt="" class="wp-image-1991" srcset="https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_22-04.jpg 339w, https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_22-04-163x300.jpg 163w" sizes="(max-width: 339px) 100vw, 339px" /><figcaption class="wp-element-caption">Getting the Chat ID</figcaption></figure>
</div>


<p class="wp-block-paragraph">Find the part where it says &#8220;chat&#8221; and &#8220;id&#8221;. Then, you get the chat ID.</p>



<h4 class="wp-block-heading has-vivid-cyan-blue-color has-text-color">Notification setup</h4>



<p class="wp-block-paragraph">Back to Uptime Kuma, create a new notification setup and choose Telegram as the type. Fill in the required information.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="498" height="621" src="https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_22-10.jpg" alt="" class="wp-image-1993" style="width:374px;height:466px" srcset="https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_22-10.jpg 498w, https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_22-10-241x300.jpg 241w" sizes="(max-width: 498px) 100vw, 498px" /><figcaption class="wp-element-caption">Telegram notification settings</figcaption></figure>
</div>


<p class="wp-block-paragraph">Test the notification as always. If you set it up correctly, it will send you the test notification.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="265" height="51" src="https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_22-12.jpg" alt="" class="wp-image-1994" style="width:265px;height:51px"/><figcaption class="wp-element-caption">Test notification sent</figcaption></figure>
</div>


<p class="wp-block-paragraph">Done! The telegram notification is now ready! Yay! Now, do the real test just like the email one.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="493" height="108" src="https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_22-15.jpg" alt="" class="wp-image-1997" srcset="https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_22-15.jpg 493w, https://serverstadium.com/wp-content/uploads/2022/04/2022-04-04_22-15-300x66.jpg 300w" sizes="(max-width: 493px) 100vw, 493px" /><figcaption class="wp-element-caption">Down-Up alert sent</figcaption></figure>
</div>


<p class="wp-block-paragraph">It&#8217;s awesome! Isn&#8217;t it?</p>



<h2 class="wp-block-heading">Conclusion</h2>



<p class="wp-block-paragraph">To sum up, deploying Uptime Kuma is quick and easy. Also, adding monitors and configuring notifications are simple, thanks to its user-friendly interface.</p>



<p class="wp-block-paragraph">Find more tech insight and tutorial articles in our <strong><a href="https://serverstadium.com/knowledge-base/" target="_blank" rel="noreferrer noopener">Knowledge Base</a></strong>. Have you not tried ServerStadium&#8217;s panel yet? <strong><a href="https://cp.serverstadium.com/regist-user" target="_blank" rel="noreferrer noopener">sign up</a></strong> here, and experience ServerStadium&#8217;s simplicity.</p>
<p>The post <a href="https://serverstadium.com/knowledge-base/monitor-your-services-uptime-using-uptime-kuma/">Monitor Your Services Uptime Using Uptime Kuma</a> appeared first on <a href="https://serverstadium.com">ServerStadium</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
