<?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/"
	xmlns:media="http://search.yahoo.com/mrss/" >

<channel>
	<title>Setup &amp; Installation &#8211; Nagios Library</title>
	<atom:link href="https://library.nagios.com/tag/setup-installation/feed/" rel="self" type="application/rss+xml" />
	<link>https://library.nagios.com</link>
	<description>Complete Nagios monitoring resources and documentation</description>
	<lastBuildDate>Thu, 14 May 2026 19:31:18 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>

<image>
	<url>https://library.nagios.com/wp-content/uploads/2024/11/Nagios-Blue-N.svg</url>
	<title>Setup &amp; Installation &#8211; Nagios Library</title>
	<link>https://library.nagios.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Understanding Notification Settings in Nagios XI</title>
		<link>https://library.nagios.com/tutorials/understanding-notification-settings-in-nagios-xi/</link>
		
		<dc:creator><![CDATA[Shamas Demoret]]></dc:creator>
		<pubDate>Thu, 14 May 2026 19:31:17 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Setup & Installation]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?p=69354</guid>

					<description><![CDATA[Nagios XI is capable of notifying you when a wide variety of events occur in relation to your monitored hosts and services. Learn all about notification settings here!]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Nagios XI is capable of notifying you when a wide variety of events occur in relation to your monitored hosts and services. Hosts (aka nodes) in Nagios are primary objects with IP addresses or FQDNs. Services are metrics monitored on hosts such as CPU usage on a server or virtual machine, port throughput on a switch, or SSL certificate expiration on a website. </p>



<p class="wp-block-paragraph">This article provides an overview of key event types which can be used to generate notifications, along with links to related documentation. </p>



<h2 class="wp-block-heading">Host and Service Event Types</h2>



<p class="wp-block-paragraph">Nagios XI can send you notifications on the following occurrences and state changes:</p>



<h3 class="wp-block-heading">Host Settings </h3>



<ul class="wp-block-list">
<li><strong>Host Acknowledgement</strong> &#8211; this indicates that a user has acknowledged the current problem with the host, which will either suppress further notifications until the object changes state, or until the object recovers if &#8220;Sticky Acknowledgement&#8221; is chosen. </li>



<li><strong>Host Recovery</strong> &#8211; the host has returned to an OK state from a problem state.</li>



<li><strong>Host Down </strong>&#8211; the host is not responding. </li>



<li><strong>Host Unreachable</strong> &#8211; the host cannot be reached, because an intermediary parent host which must be routed through to check it is down. </li>



<li><strong>Host Flapping</strong> &#8211; this indicates that the state of the host object has fluctuated significantly over the last 21 checks run by Nagios. You can find additional details on the related logic <a href="https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/4/en/flapping.html" target="_blank" rel="noopener">here</a>.</li>



<li><strong>Host Downtime</strong> &#8211; the host has been placed in administrative downtime by a user, suppressing notifications. </li>
</ul>



<h3 class="wp-block-heading">Service Settings </h3>



<ul class="wp-block-list">
<li><strong>Service Acknowledgement</strong> &#8211; this indicates that a user has acknowledged the current problem with the service, which will either suppress further notifications until the object changes state, or until the object recovers if &#8220;Sticky Acknowledgement&#8221; is chosen. </li>



<li><strong>Service Recovery</strong> &#8211; the service has recovered back to an OK state. </li>



<li><strong>Service Warning</strong> &#8211; the service has exceeded your Warning threshold.</li>



<li><strong>Service</strong> <strong>Unknown</strong> &#8211; this typically indicates an issue with the check plugin being used to check the status.</li>



<li><strong>Service</strong> <strong>Critical</strong> &#8211; the service has exceeded your Critical alert thresholds.</li>



<li><strong>Service</strong> <strong>Flapping</strong> &#8211; this indicates that the state of the service object has fluctuated significantly over the last 21 checks run by Nagios. You can find additional details <a href="https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/4/en/flapping.html" target="_blank" rel="noopener">here</a>.</li>



<li><strong>Service</strong> <strong>Downtime</strong> &#8211; the service has been placed in administrative downtime by a user, suppressing notifications.</li>
</ul>



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



<p class="wp-block-paragraph">You can learn more about setting up notifications here: </p>



<ul class="wp-block-list">
<li><a href="https://library.nagios.com/documentation/nagios-xi-configuring-email-notifications/" target="_blank" rel="noreferrer noopener">Configuring Email and Text Notifications in Nagios XI </a></li>
</ul>



<p class="wp-block-paragraph">Full details on managing and configuring Nagios XI can be found in the Admin Guide: </p>



<ul class="wp-block-list">
<li><a href="https://assets.nagios.com/downloads/nagiosxi/guides/administrator/index.php#" target="_blank" rel="noreferrer noopener">Nagios XI Admin Guide</a> </li>
</ul>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to Use the Email Delivery Wizard in Nagios XI</title>
		<link>https://library.nagios.com/tutorials/how-to-monitor-email-delivery-in-nagios-xi/</link>
		
		<dc:creator><![CDATA[Matthew Martinson]]></dc:creator>
		<pubDate>Fri, 09 Jan 2026 18:46:42 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Email Delivery]]></category>
		<category><![CDATA[IMAP]]></category>
		<category><![CDATA[Setup & Installation]]></category>
		<category><![CDATA[SMTP]]></category>
		<category><![CDATA[Wizards]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?post_type=videos&#038;p=61733</guid>

					<description><![CDATA[Learn how to use the Email Delivery wizard in Nagios XI to test the sending and receipt of email messages on your mail server. ]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Nagios XI includes an Email Delivery Wizard that enables you to quickly configure a check that sends a test email message, verifies receipt, and then deletes the message.</p>



<p class="wp-block-paragraph">The test email is sent using SMTP, and the verification and deletion are done via IMAP. </p>



<p class="wp-block-paragraph">This document provides step-by-step instructions and usage notes: </p>


<div class="wp-block-pdfemb-pdf-embedder-viewer"><a href="https://library.nagios.com/wp-content/uploads/2025/10/Monitoring-Email-Delivery-with-Nagios-XI.pdf" class="pdfemb-viewer" style="" data-width="max" data-height="max" data-toolbar="bottom" data-toolbar-fixed="off">Monitoring-Email-Delivery-with-Nagios-XI</a></div>


<div style="height:45px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph">Here is a direct link to the PDF as well:</p>



<p class="wp-block-paragraph"><a href="https://assets.nagios.com/downloads/nagiosxi/docs/Monitoring-Email-Delivery-with-Nagios-XI.pdf" target="_blank" rel="noreferrer noopener">How to Use the Email Delivery Wizard in Nagios XI </a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>New to Nagios? Start Here: Your Guide to Nagios Docs, Resources, &#038; Support</title>
		<link>https://library.nagios.com/training/nagios-docs-and-support/</link>
		
		<dc:creator><![CDATA[Hannah Adamson]]></dc:creator>
		<pubDate>Fri, 11 Jul 2025 14:00:00 +0000</pubDate>
				<category><![CDATA[Training]]></category>
		<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Infrastructure Monitoring]]></category>
		<category><![CDATA[Setup & Installation]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?p=58525</guid>

					<description><![CDATA[Whether you&#8217;re just getting started with Nagios or are looking to find more resources and support, this guide walks you through the essential Nagios docs and resources available to you. From step-by-step documentation to webinars, here&#8217;s everything you need to get the most out of your Nagios setup. Nagios Documentation &#38; Guides ➤ We recently [&#8230;]]]></description>
										<content:encoded><![CDATA[
<div style="margin-top:0;margin-bottom:0;height:24px" aria-hidden="true" class="wp-block-spacer"></div>



<div class="wp-block-columns are-vertically-aligned-center is-layout-flex wp-container-core-columns-is-layout-7387b849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow">
<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph" style="font-size:16px">Whether you&#8217;re just getting started with Nagios or are looking to find more resources and support, this guide walks you through the essential Nagios docs and resources available to you. From step-by-step documentation to webinars, here&#8217;s everything you need to get the most out of your Nagios setup.</p>
</blockquote>
</div>



<div class="wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow">
<div class="wp-block-group is-nowrap is-layout-flex wp-container-core-group-is-layout-7387b849 wp-block-group-is-layout-flex">
<div style="height:47px;width:17px" aria-hidden="true" class="wp-block-spacer wp-container-content-fd0eeb70"></div>



<div class="wp-block-rank-math-toc-block" id="rank-math-toc"><h2>Guide Overview</h2><nav><ul><li class=""><a href="#nagios-docs-guides">Documentation &amp; Guides</a></li><li class=""><a href="#video-resources-1-1">Support Options</a></li><li class=""><a href="#video-resources-1">Video Resources</a></li><li class=""><a href="#video-resources-1-1-2">Community Resources</a></li></ul></nav></div>
</div>
</div>
</div>



<div style="height:47px" aria-hidden="true" class="wp-block-spacer"></div>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<div style="height:24px" aria-hidden="true" class="wp-block-spacer"></div>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<div style="height:47px" aria-hidden="true" class="wp-block-spacer"></div>



<div class="wp-block-media-text has-media-on-the-right is-stacked-on-mobile" style="grid-template-columns:auto 68%"><div class="wp-block-media-text__content">
<h2 class="wp-block-heading" id="nagios-docs-guides">Nagios Documentation &amp; Guides</h2>
</div><figure class="wp-block-media-text__media"><img fetchpriority="high" decoding="async" width="1024" height="556" src="https://library.nagios.com/wp-content/uploads/2025/06/noisy-gradients-16-1024x556.png" alt="Step-by-step tutorials and guides." class="wp-image-59076 size-full" title="New to Nagios? Start Here: Your Guide to Nagios Docs, Resources, &amp; Support 6" srcset="https://library.nagios.com/wp-content/uploads/2025/06/noisy-gradients-16-1024x556.png 1024w, https://library.nagios.com/wp-content/uploads/2025/06/noisy-gradients-16-300x163.png 300w, https://library.nagios.com/wp-content/uploads/2025/06/noisy-gradients-16-768x417.png 768w, https://library.nagios.com/wp-content/uploads/2025/06/noisy-gradients-16.png 1326w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure></div>



<div style="height:47px" aria-hidden="true" class="wp-block-spacer"></div>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<div style="height:47px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph">➤ We recently revamped all of our documentation, providing you with accurate, easy-to-understand instructions and helpful tips for using Nagios. These Nagios docs will guide you through the basics, help you get started, and support you in learning more about Nagios tools.</p>



<div style="height:27px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph" style="font-size:24px"><strong>Nagios Documentation</strong></p>



<p class="wp-block-paragraph">A new comprehensive documentation site replacing the legacy Support Knowledgebase. Here, you&#8217;ll find guides for commercial solutions and open-source projects with step-by-step tutorials, technical documentation, and best practices.</p>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://library.nagios.com/docs" target="_blank" rel="noreferrer noopener">Nagios Documentation</a></div>
</div>



<div style="height:47px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph" style="font-size:24px"><strong>Nagios Library</strong></p>



<p class="wp-block-paragraph">Library is a central place for detailed Nagios training docs, how-to guides, articles on the latest industry insights, and real-life stories about using Nagios:</p>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://library.nagios.com/" target="_blank" rel="noreferrer noopener">Nagios Library</a></div>
</div>



<div style="height:47px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph" style="font-size:24px"><strong>Admin Guides</strong></p>



<p class="wp-block-paragraph">Looking for step-by-step instructions? These guides walk you through installation, configuration, and advanced setup:</p>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://assets.nagios.com/downloads/nagiosxi/guides/administrator/" target="_blank" rel="noreferrer noopener">XI Admin Guide</a></div>



<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://assets.nagios.com/downloads/nagios-log-server/guides/administrator/" target="_blank" rel="noreferrer noopener">Log Server Admin Guide</a></div>



<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://assets.nagios.com/downloads/nagios-network-analyzer/guides/nna-ag/" target="_blank" rel="noreferrer noopener">Network Analyzer Admin Guide</a></div>



<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://assets.nagios.com/downloads/nagiosfusion/guides/administrator/" target="_blank" rel="noreferrer noopener">Fusion Admin Guide</a></div>



<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://assets.nagios.com/downloads/nagiosxi/guides/administrator/ccm.php" target="_blank" rel="noreferrer noopener">Core Admin Guide</a></div>
</div>



<div style="height:59px" aria-hidden="true" class="wp-block-spacer"></div>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<div style="height:24px" aria-hidden="true" class="wp-block-spacer"></div>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<div style="height:47px" aria-hidden="true" class="wp-block-spacer"></div>



<div class="wp-block-media-text has-media-on-the-right is-stacked-on-mobile is-vertically-aligned-center" style="grid-template-columns:auto 68%"><div class="wp-block-media-text__content">
<h2 class="wp-block-heading" id="video-resources-1-1">Nagios Support Options</h2>
</div><figure class="wp-block-media-text__media"><img decoding="async" width="1024" height="556" src="https://library.nagios.com/wp-content/uploads/2025/06/noisy-gradients-34-1024x556.png" alt="Nagios CSMs, support plans, and Answer Hub." class="wp-image-60650 size-full" title="New to Nagios? Start Here: Your Guide to Nagios Docs, Resources, &amp; Support 7" srcset="https://library.nagios.com/wp-content/uploads/2025/06/noisy-gradients-34-1024x556.png 1024w, https://library.nagios.com/wp-content/uploads/2025/06/noisy-gradients-34-300x163.png 300w, https://library.nagios.com/wp-content/uploads/2025/06/noisy-gradients-34-768x417.png 768w, https://library.nagios.com/wp-content/uploads/2025/06/noisy-gradients-34.png 1326w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure></div>



<div style="height:47px" aria-hidden="true" class="wp-block-spacer"></div>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<div style="height:47px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph">➤ Support options are designed to provide both quick answers and in-depth assistance. Nagios offers these resources with every license.</p>



<div style="height:39px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph" style="font-size:24px"><strong>Nagios Customer Success Managers</strong></p>



<p class="wp-block-paragraph">If you have a Nagios license, you can contact a Nagios Customer Success Manager (CSM). CSMs can help with a wide variety of Nagios-related information.&nbsp;They can help answer basic questions about Nagios, get you in contact with the right support, as well as help you renew or buy a new license.</p>



<p class="wp-block-paragraph">To contact a Nagios CSM, email <a href="mailto:csm@nagios.com" target="_blank" rel="noreferrer noopener">csm@nagios.com</a>.</p>



<div style="height:44px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph" style="font-size:24px"><strong>Nagios Support Plans</strong></p>



<p class="wp-block-paragraph">Guaranteed one-business-day response from Nagios Technicians for support tickets (up to 10 per year), with the option to purchase additional support plans as needed:</p>



<div class="wp-block-buttons is-layout-flex wp-container-core-buttons-is-layout-5b4bb713 wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://www.nagios.com/support-plans/" target="_blank" rel="noreferrer noopener">Nagios Support Plans</a></div>
</div>



<div style="height:55px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph" style="font-size:24px"><strong>Nagios Answer Hub</strong></p>



<p class="wp-block-paragraph">Find answers to frequently asked questions and product-specific help:</p>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://support.nagios.com/access-nagios-answer-hub/" target="_blank" rel="noreferrer noopener">Nagios Answer Hub</a></div>
</div>



<div style="height:55px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph" style="font-size:24px"><strong>Nagios Support Website</strong></p>



<p class="wp-block-paragraph">The Nagios Support makes it easy to find what you need, with quick access to the Knowledge Base, Library, Support Forum, and product-specific resource pages:</p>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://support.nagios.com/" target="_blank" rel="noreferrer noopener">Nagios Support</a></div>
</div>



<div style="height:54px" aria-hidden="true" class="wp-block-spacer"></div>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<div style="height:24px" aria-hidden="true" class="wp-block-spacer"></div>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<div style="height:47px" aria-hidden="true" class="wp-block-spacer"></div>



<div class="wp-block-media-text has-media-on-the-right is-stacked-on-mobile is-vertically-aligned-center" style="grid-template-columns:auto 68%"><div class="wp-block-media-text__content">
<h2 class="wp-block-heading" id="video-resources-1">Nagios Video Resources</h2>
</div><figure class="wp-block-media-text__media"><img decoding="async" width="1024" height="556" src="https://library.nagios.com/wp-content/uploads/2025/06/noisy-gradients-18-1024x556.png" alt="Video tutorials and webinars." class="wp-image-59080 size-full" title="New to Nagios? Start Here: Your Guide to Nagios Docs, Resources, &amp; Support 8" srcset="https://library.nagios.com/wp-content/uploads/2025/06/noisy-gradients-18-1024x556.png 1024w, https://library.nagios.com/wp-content/uploads/2025/06/noisy-gradients-18-300x163.png 300w, https://library.nagios.com/wp-content/uploads/2025/06/noisy-gradients-18-768x417.png 768w, https://library.nagios.com/wp-content/uploads/2025/06/noisy-gradients-18.png 1326w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure></div>



<div style="height:47px" aria-hidden="true" class="wp-block-spacer"></div>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<div style="height:47px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph">➤ Prefer to learn visually? Our video resources walk through installation, setup, Nagios training, and more.</p>



<div style="height:29px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph" style="font-size:24px"><strong>Nagios YouTube Channel</strong></p>



<p class="wp-block-paragraph">Explore our video tutorials, product demos, and best practices all in one place:</p>



<div class="wp-block-buttons is-layout-flex wp-container-core-buttons-is-layout-5b4bb713 wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://www.youtube.com/@nagiosvideo" target="_blank" rel="noreferrer noopener">Nagios YouTube Channel</a></div>
</div>



<div style="height:47px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph" style="font-size:24px"><strong>Nagios Webinars</strong></p>



<p class="wp-block-paragraph">Want deeper insights? Nagios Webinars offer regular sessions covering best practices, use cases, and expert tips:</p>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="http://nagios.com/webinars" target="_blank" rel="noreferrer noopener">Nagios Webinars</a></div>
</div>



<div style="height:51px" aria-hidden="true" class="wp-block-spacer"></div>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<div style="height:24px" aria-hidden="true" class="wp-block-spacer"></div>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<div style="height:47px" aria-hidden="true" class="wp-block-spacer"></div>



<div class="wp-block-media-text has-media-on-the-right is-stacked-on-mobile is-vertically-aligned-center" style="grid-template-columns:auto 68%"><div class="wp-block-media-text__content">
<h2 class="wp-block-heading" id="video-resources-1-1-2">Nagios Community Resources</h2>
</div><figure class="wp-block-media-text__media"><img loading="lazy" decoding="async" width="1024" height="556" src="https://library.nagios.com/wp-content/uploads/2025/06/noisy-gradients-19-1024x556.png" alt="Join the forums, share solutions." class="wp-image-59083 size-full" title="New to Nagios? Start Here: Your Guide to Nagios Docs, Resources, &amp; Support 9" srcset="https://library.nagios.com/wp-content/uploads/2025/06/noisy-gradients-19-1024x556.png 1024w, https://library.nagios.com/wp-content/uploads/2025/06/noisy-gradients-19-300x163.png 300w, https://library.nagios.com/wp-content/uploads/2025/06/noisy-gradients-19-768x417.png 768w, https://library.nagios.com/wp-content/uploads/2025/06/noisy-gradients-19.png 1326w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure></div>



<div style="height:47px" aria-hidden="true" class="wp-block-spacer"></div>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<div style="height:47px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="has-text-align-left wp-block-paragraph">➤ Access years of collective experience, along with support options and answers to common questions.</p>



<div style="height:19px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph" style="font-size:24px"><strong>Nagios Support Forum</strong></p>



<p class="wp-block-paragraph">The Nagios Support Forum is an ideal place to get quick answers to “how-to” questions.&nbsp;Ask questions, find answers, and contribute to active discussions:</p>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://support.nagios.com/forum/" target="_blank" rel="noreferrer noopener">Nagios Support Forum</a></div>
</div>



<div style="height:47px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph" style="font-size:24px"><strong>Nagios Exchange</strong></p>



<p class="wp-block-paragraph">Browse thousands of community-created plugins, add-ons, and integrations, or share your own projects with the Nagios Community.</p>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://exchange.nagios.org/" target="_blank" rel="noreferrer noopener">Nagios Exchange</a></div>
</div>



<div style="height:47px" aria-hidden="true" class="wp-block-spacer"></div>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<div style="height:24px" aria-hidden="true" class="wp-block-spacer"></div>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<div style="height:47px" aria-hidden="true" class="wp-block-spacer"></div>



<div class="wp-block-media-text has-media-on-the-right is-stacked-on-mobile is-vertically-aligned-center" style="grid-template-columns:auto 68%"><div class="wp-block-media-text__content">
<h2 class="wp-block-heading" id="video-resources-1-1-8">Where to Go Next</h2>
</div><figure class="wp-block-media-text__media"><img loading="lazy" decoding="async" width="1024" height="556" src="https://library.nagios.com/wp-content/uploads/2025/06/noisy-gradients-2-1024x556.png" alt="Personalized demo, free Nagios trial, and QuickStart session." class="wp-image-59058 size-full" title="New to Nagios? Start Here: Your Guide to Nagios Docs, Resources, &amp; Support 10" srcset="https://library.nagios.com/wp-content/uploads/2025/06/noisy-gradients-2-1024x556.png 1024w, https://library.nagios.com/wp-content/uploads/2025/06/noisy-gradients-2-300x163.png 300w, https://library.nagios.com/wp-content/uploads/2025/06/noisy-gradients-2-768x417.png 768w, https://library.nagios.com/wp-content/uploads/2025/06/noisy-gradients-2.png 1326w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure></div>



<div style="height:47px" aria-hidden="true" class="wp-block-spacer"></div>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<div style="height:47px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph">➤ If you&#8217;re still looking for more resources, Nagios offers free one-on-one sessions with a Nagios Technician—plus free trials to help you get started.</p>



<div style="height:31px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph" style="font-size:24px"><strong>Personalized Demo</strong></p>



<p class="wp-block-paragraph">See Nagios in action, explore key features, and discover how Nagios fits your infrastructure:</p>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://www.nagios.com/request-demo/?utm_source=library&amp;utm_medium=article&amp;utm_campaign=schedule-demo-page" target="_blank" rel="noreferrer noopener">Personalized Demo</a></div>
</div>



<div style="height:47px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph" style="font-size:24px"><strong>Download a Free Trial</strong></p>



<p class="wp-block-paragraph">Get a free, 30-day trial of any Nagios Enterprise Solution to try it out yourself:</p>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://www.nagios.com/products/?utm_source=library&amp;utm_medium=article&amp;utm_campaign=free-trial" target="_blank" rel="noreferrer noopener">Get a Free Trial</a></div>
</div>



<div style="height:47px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph" style="font-size:24px"><strong>Quickstart Session</strong></p>



<p class="wp-block-paragraph">Get your instance up and running, discuss your environment, and receive tailored configuration help:</p>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://www.nagios.com/quickstart/?utm_source=library&amp;utm_medium=article&amp;utm_campaign=quickstart-session" target="_blank" rel="noreferrer noopener">Quickstart Session</a></div>
</div>



<div style="height:47px" aria-hidden="true" class="wp-block-spacer"></div>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<div style="height:24px" aria-hidden="true" class="wp-block-spacer"></div>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<div style="height:59px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph">There’s no single way to get started with Nagios. Some like to dig into the documentation, while others prefer more hands-on Nagios training, such as a product walkthrough or demo. However you like to learn, there’s a resource to match your style.</p>



<div style="height:31px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph" style="font-size:18px"><strong>Have Questions? Reach Out to Us</strong></p>



<p class="wp-block-paragraph">Reach out anytime to <a class="" href="mailto:sales@nagios.com">sales@nagios.com</a> if you have questions or need support. We’re here to help you get the most out of Nagios.</p>



<div style="height:61px" aria-hidden="true" class="wp-block-spacer"></div>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<div style="height:22px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph" style="font-size:18px"><strong><em><strong>Helpful Extras to Check Out</strong></em></strong></p>



<div style="height:7px" aria-hidden="true" class="wp-block-spacer"></div>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-7387b849 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<p class="wp-block-paragraph" style="font-size:16px"><strong>Nagios Blog</strong></p>



<p class="wp-block-paragraph">Check out industry insights, helpful solutions, and the benefits of network monitoring:</p>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://www.nagios.com/articles/" target="_blank" rel="noreferrer noopener">Nagios Blog</a></div>
</div>
</div>
</div>



<div style="height:55px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph"><strong>Nagios&#8217; Social Media</strong></p>



<p class="wp-block-paragraph">Get the latest updates and stay in the loop:</p>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://www.facebook.com/NagiosInc/#" target="_blank" rel="noopener">Facebook</a></div>



<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgo.pardot.com%2Fe%2F975333%2Fprises-llc-posts--feedView-all%2F7t9nt%2F578396248%2Fh%2FL-YWa3uEBF4dZL_Q_6_7D5h--pnLOo-Mtao6OumezKw&amp;data=05%7C02%7Chadamson%40nagios.com%7C100413b7cb17430dfdad08ddae8a30ce%7Caeb3589cecf7477db308d9b16ad9dd45%7C0%7C0%7C638858630742052163%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;sdata=sgJ0ZSh%2FCxHSN%2B1mmzoNy7vc58GSP8pJ1drSgEcFSm8%3D&amp;reserved=0" target="_blank" rel="noopener">LinkedIn</a></div>



<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://www.instagram.com/nagiosinc/" target="_blank" rel="noopener">Instagram</a></div>



<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgo.pardot.com%2Fe%2F975333%2Fnagiosinc%2F7t9nm%2F578396248%2Fh%2FL-YWa3uEBF4dZL_Q_6_7D5h--pnLOo-Mtao6OumezKw&amp;data=05%7C02%7Chadamson%40nagios.com%7C100413b7cb17430dfdad08ddae8a30ce%7Caeb3589cecf7477db308d9b16ad9dd45%7C0%7C0%7C638858630741967834%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;sdata=pR0pnoc97Y18i1g0cAlD5VMu%2B4P%2B%2Bnzz3quOC1ISbEU%3D&amp;reserved=0" target="_blank" rel="noopener">X</a></div>



<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://bsky.app/profile/nagiosinc.bsky.social" target="_blank" rel="noopener">Bluesky</a></div>
</div>



<p class="wp-block-paragraph"></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How Do You Install Nagios XI From CSP?</title>
		<link>https://library.nagios.com/techtips/install-nagios-xi-from-csp/</link>
		
		<dc:creator><![CDATA[Vadim Moskovkin]]></dc:creator>
		<pubDate>Tue, 06 May 2025 16:00:00 +0000</pubDate>
				<category><![CDATA[Techtips]]></category>
		<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Setup & Installation]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?p=55730</guid>

					<description><![CDATA[Nagios Core Services Platform (CSP) is designed to help users trial Nagios XI or Nagios Core with plugins indefinitely, with the only limitation being the number of hosts one can have. If you prefer watching a video on the installation process, you can find that below. 1. Download the CSP Package Step 1.1: To find [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Nagios Core Services Platform (CSP) is designed to help users trial <a href="https://www.nagios.com/products/nagios-xi/" target="_blank" rel="noreferrer noopener">Nagios XI</a> or <a href="https://www.nagios.org/projects/nagios-core/" target="_blank" rel="noreferrer noopener">Nagios Core</a> with plugins indefinitely, with the only limitation being the number of hosts one can have.</p>



<p class="wp-block-paragraph">If you prefer watching a video on the installation process, you can find that below. </p>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe title="Nagios CSP | Installing Nagios XI from the CSP Package" width="800" height="450" src="https://www.youtube.com/embed/fgxT3niYnnE?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>



<h2 class="wp-block-heading"><strong>1. Download the CSP Package</strong></h2>



<p class="wp-block-paragraph"><strong>Step 1.1:</strong> To find the CSP package, go to any browser and enter <a href="https://www.nagios.org/" target="_blank" rel="noreferrer noopener">nagios.org</a>. </p>



<p class="wp-block-paragraph"><strong>Step 1.2:</strong> Down below, you can find a &#8220;Download&#8221; button that you can click.</p>



<h2 class="wp-block-heading"><strong>2. Unzip and Extract </strong></h2>



<p class="wp-block-paragraph"><strong>Step 2.1:</strong> Once downloaded, you will need to unzip and extract the folder by right-clicking the folder and extracting it into another folder. </p>



<p class="wp-block-paragraph"><strong>Step 2.2: </strong>In the folder, you can find the following:</p>



<ul class="wp-block-list">
<li>&#8220;README&#8221;, &#8220;CHANGES&#8221;, and &#8220;SLICENSE&#8221; text files, which answer some basic questions, show changelogs, and give you the promo code for Nagios XI.</li>



<li>An installation guide, the most recent CSP-XX.ova, which we will use to install XI.</li>



<li>A folder labeled &#8220;PARTS&#8221;, where you can find all parts for Nagios Core and all plugins, as well as XI tar files.</li>



<li>In the &#8220;EXTRAS&#8221; folder, you can find some more plugins and config files.</li>



<li>Finally, the &#8220;A-Team&#8221; folder is a look at some of the fun times our company had through the years.</li>
</ul>



<h2 class="wp-block-heading"><strong>3. Open the OVA File</strong> <strong>and Finish Installation</strong></h2>



<p class="wp-block-paragraph">There are many different ways to install XI. We will go over the easiest way: using the OVA file.</p>



<p class="wp-block-paragraph"><strong>Step 3.1:</strong> Open the OVA file using VMware, ESXi, or vSphere. </p>



<p class="wp-block-paragraph"><strong>Step 3.2:</strong> After opening, you can rename the virtual machine and select a storage path.</p>



<p class="wp-block-paragraph"><strong>Step 3.3:</strong> After you have imported, make sure the network adapter is &#8220;Bridged&#8221; and then start the virtual machine. </p>



<p class="wp-block-paragraph"><strong>Step 3.4:</strong> Once everything is set up, you will see an IP address listed under Nagios XI. You also have a username and password, which we recommend changing for the local host machine. After entering the IP address into a browser, there will be some settings that can be configured, such as language, time zone, etc. </p>



<p class="wp-block-paragraph"><strong>Step 3.5:</strong> Once you have completed that information, you will have the option to enter a license. Then you will create a password for Nagios XI.</p>



<p class="wp-block-paragraph"><strong>Step 3.6: </strong>When you finish, you will be able to log in with the credentials that you have made and dive into Nagios XI. </p>



<p class="wp-block-paragraph">If you encounter any issues, there are plenty of video tutorials that you can view on our <a href="https://www.youtube.com/@nagiosvideo" target="_blank" data-type="link" data-id="https://www.youtube.com/@nagiosvideo" rel="noreferrer noopener">YouTube Channel</a>.</p>
]]></content:encoded>
					
		
		
		<media:content url="https://www.youtube.com/embed/fgxT3niYnnE" medium="video">
			<media:player url="https://www.youtube.com/embed/fgxT3niYnnE" />
			<media:title type="plain">Setup &amp; Installation Archives - Nagios Library</media:title>
			<media:thumbnail url="https://library.nagios.com/wp-content/uploads/2025/04/ChatGPT-Image-Apr-28-2025-04_13_39-PM.png" />
			<media:rating scheme="urn:simple">nonadult</media:rating>
		</media:content>
	</item>
		<item>
		<title>How to Maximize Your Free Trial of Nagios XI</title>
		<link>https://library.nagios.com/techtips/maximize-your-free-trial-of-nagios-xi/</link>
		
		<dc:creator><![CDATA[Shamas Demoret]]></dc:creator>
		<pubDate>Wed, 09 Apr 2025 13:45:26 +0000</pubDate>
				<category><![CDATA[Techtips]]></category>
		<category><![CDATA[Setup & Installation]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?p=54427</guid>

					<description><![CDATA[In this article we'll discuss the most important things to test and explore during your free trial to help you confirm that Nagios XI is right solution for your infrastructure monitoring needs.]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Now that you&#8217;ve decided to take Nagios XI for a spin, you&#8217;re probably wondering &#8220;how do I get the most out of my free trial?&#8221; In this article we&#8217;ll discuss the most important things to test and explore to help you confirm that Nagios XI is right solution for your infrastructure monitoring, alerting, graphing, and reporting needs.</p>



<h2 class="wp-block-heading">Monitor (One of) All the Things</h2>



<p class="wp-block-paragraph">One key objective to focus on during your trial is to test monitoring of each type of device and application you&#8217;d like to keep tabs on. The goal isn&#8217;t to monitor everything, but to monitor at least <em>one </em>of everything. Odds are that you&#8217;ll be able to set up monitoring of most items quickly and easily with the built-in monitoring wizards, using standard protocols and agents. Head to the <strong>Configure &gt; Configuration Wizards</strong> menu to access the vast directory of default options:</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/04/wizard1.png"><img loading="lazy" decoding="async" width="1024" height="563" src="https://library.nagios.com/wp-content/uploads/2025/04/wizard1-1024x563.png" alt="A sceenshot of the Monitoring Wizards directory in Nagios XI." class="wp-image-54505" title="How to Maximize Your Free Trial of Nagios XI 11" srcset="https://library.nagios.com/wp-content/uploads/2025/04/wizard1-1024x563.png 1024w, https://library.nagios.com/wp-content/uploads/2025/04/wizard1-300x165.png 300w, https://library.nagios.com/wp-content/uploads/2025/04/wizard1-768x423.png 768w, https://library.nagios.com/wp-content/uploads/2025/04/wizard1.png 1263w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Nagios XI includes a comprehensive set of monitoring wizards. </figcaption></figure>



<p class="wp-block-paragraph">A great starting point to familiarize yourself with the monitoring wizard process is to monitor a website and test email notifications. This Jumpstart video will walk you through the process:</p>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe title="Nagios XI Jumpstart: Start Monitoring Your Network In Minutes" width="800" height="450" src="https://www.youtube.com/embed/0Kbax9Taz6c?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>



<p class="wp-block-paragraph">The <a href="https://assets.nagios.com/downloads/nagiosxi/guides/administrator/monitoringconfig.php" target="_blank" rel="noopener">Monitoring Configuration</a> section of the Admin Guide is another excellent resource. </p>



<p class="wp-block-paragraph">For less common requirements that you don&#8217;t see a wizard for, a good first step is to check the thousands of free plugins on the <a href="https://exchange.nagios.org/" target="_blank" rel="noopener">Nagios Exchange</a> community site, and the guide to <a href="https://assets.nagios.com/downloads/nagiosxi/docs/Managing-Plugins-in-Nagios-XI-2024.pdf" target="_blank" rel="noopener">Managing Plugins in Nagios XI</a>. Here&#8217;s a link to the <a href="https://nagios-plugins.org/doc/guidelines.html" target="_blank" rel="noopener">Plugin Development Guidelines</a> as well if you want to really dig in and write your own. </p>



<p class="wp-block-paragraph">On the <strong>notifications</strong> front, you can find documentation on topics such as setting up email notifications, SMS notifications, Gmail SMTP, Microsoft SMTP, and Slack integration <a href="https://assets.nagios.com/downloads/nagiosxi/guides/administrator/systemconfig.php#emailsettings" target="_blank" rel="noopener">here</a>.</p>



<h2 class="wp-block-heading">Take the UI for a Spin</h2>



<p class="wp-block-paragraph">Your free trial period is a great time to familiarize yourself with the web interface and the main features. A great first stop is the Home menu, which is filled with status and performance visualizations in the <strong>Quick View</strong>, <strong>Details</strong>, <strong>Graphs</strong>, and <strong>Maps</strong> sections. You&#8217;ll also notice quick links to key menu locations, and ways to reach us if you need a hand with anything: </p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/04/XI-Home1.png"><img loading="lazy" decoding="async" width="1024" height="482" src="https://library.nagios.com/wp-content/uploads/2025/04/XI-Home1-1024x482.png" alt="A screenshot of the Nagios XI Home page, showing the Static Dashboard seen by default at the start of the free trial." class="wp-image-54512" title="How to Maximize Your Free Trial of Nagios XI 12" srcset="https://library.nagios.com/wp-content/uploads/2025/04/XI-Home1-1024x482.png 1024w, https://library.nagios.com/wp-content/uploads/2025/04/XI-Home1-300x141.png 300w, https://library.nagios.com/wp-content/uploads/2025/04/XI-Home1-768x362.png 768w, https://library.nagios.com/wp-content/uploads/2025/04/XI-Home1-1536x723.png 1536w, https://library.nagios.com/wp-content/uploads/2025/04/XI-Home1.png 1882w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Home menu in Nagios XI.</figcaption></figure>



<p class="wp-block-paragraph">One often overlooked feature found here in the <strong>Maps</strong> section is NagVis, a powerful open source project that&#8217;s built into Nagios XI by default, which enables you to create custom maps and diagrams overlaid with active status icons. You can learn more about NagVis in <a href="https://library.nagios.com/solutions/nagvis-is-awesome/" target="_blank" rel="noreferrer noopener">this article</a>.</p>



<p class="wp-block-paragraph">Dashboards and Reports are two more popular features well worth taking the time to explore, enabling you to customize how you visualize current status data and quantify historical results. </p>



<p class="wp-block-paragraph">The <a href="https://assets.nagios.com/downloads/nagiosxi/guides/administrator/visualizations.php" target="_blank" rel="noopener">Visualizations</a> section of the Admin Guide will be a big help here. </p>



<h2 class="wp-block-heading">Experience Enterprise</h2>



<p class="wp-block-paragraph">The free trial includes full access to all of the Enterprise Edition features as well, so using the trial period to experience their value is a great idea. You can navigate to the <strong>Enterprise</strong> menu in XI to view the directory and check out <a href="https://library.nagios.com/solutions/nagios-xi-enterprise-edition-10-great-features" target="_blank" rel="noreferrer noopener">this article</a> for a detailed overview of the functions and value of each.</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/04/accessing-enterprise.png"><img loading="lazy" decoding="async" width="1024" height="528" src="https://library.nagios.com/wp-content/uploads/2025/04/accessing-enterprise-1024x528.png" alt="Screenshot showing the Enterprise feature directory in Nagios XI." class="wp-image-54372" title="How to Maximize Your Free Trial of Nagios XI 13" srcset="https://library.nagios.com/wp-content/uploads/2025/04/accessing-enterprise-1024x528.png 1024w, https://library.nagios.com/wp-content/uploads/2025/04/accessing-enterprise-300x155.png 300w, https://library.nagios.com/wp-content/uploads/2025/04/accessing-enterprise-768x396.png 768w, https://library.nagios.com/wp-content/uploads/2025/04/accessing-enterprise-1536x793.png 1536w, https://library.nagios.com/wp-content/uploads/2025/04/accessing-enterprise.png 1876w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">The Enterprise features directory. </figcaption></figure>



<h2 class="wp-block-heading">Architect for Success</h2>



<p class="wp-block-paragraph">Nagios XI can not only monitor just about anything using the built-in wizards and plugins, the thousands of plugins on the Nagios Exchange, or custom plugins you write following the development guidelines. XI can also monitor actively and passively, with both agent-based and agent-less methods. Beyond how you approach monitoring individual items, there are also broader architectural considerations to understand, especially in large or geographically dispersed environments where multiple monitoring servers and more complex network permissions come into play. Time spent reviewing the available options and determining the best approach for your needs during the free trial will pay dividends later on as you move toward fully configuring your monitoring.</p>



<p class="wp-block-paragraph">Here are some useful resources on related topics:</p>



<figure class="wp-block-embed is-type-wp-embed is-provider-nagios-library wp-block-embed-nagios-library"><div class="wp-block-embed__wrapper">
<blockquote class="wp-embedded-content" data-secret="X0czOSSND9"><a href="https://library.nagios.com/training/nagios-ecosystem-architecture/">Great Directions: Understand Architecture and Data Paths in Nagios Tools</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  title="&#8220;Great Directions: Understand Architecture and Data Paths in Nagios Tools&#8221; &#8212; Nagios Library" src="https://library.nagios.com/training/nagios-ecosystem-architecture/embed/#?secret=tI67qbJ1tW#?secret=X0czOSSND9" data-secret="X0czOSSND9" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
</div></figure>



<p class="wp-block-paragraph"><a href="https://assets.nagios.com/downloads/nagiosxi/guides/administrator/agents.php" target="_blank" rel="noopener">Nagios XI Agents</a></p>



<p class="wp-block-paragraph"><a href="https://assets.nagios.com/downloads/nagiosxi/guides/administrator/monitoringconfig.php#passivechecks" target="_blank" rel="noopener">Passive Monitoring with XI</a></p>



<p class="wp-block-paragraph"><a href="https://assets.nagios.com/downloads/nagiosxi/guides/administrator/advanced.php#distributed" target="_blank" rel="noopener">Distributed Monitoring Options</a></p>



<p class="wp-block-paragraph">Our team would be happy to offer expert guidance on architectural considerations, feel free to contact us at <strong>sales@nagios.com</strong> with any questions. </p>



<h2 class="wp-block-heading">Explore Best Practices</h2>



<p class="wp-block-paragraph">Learning about what impacts Nagios XI performance and how to optimize your deployment for success is another worthy endeavor during your trial period. Two documents that shed light on these topics are:</p>



<p class="wp-block-paragraph"><a href="https://assets.nagios.com/downloads/nagiosxi/docs/Nagios-XI-2024-Best-Practices.pdf" target="_blank" rel="noopener">Nagios XI Best Practices</a></p>



<p class="wp-block-paragraph"><a href="https://assets.nagios.com/downloads/nagiosxi/docs/Maximizing-Performance-in-XI-2024.pdf" target="_blank" rel="noopener">Maximizing Performance in Nagios XI</a></p>



<h2 class="wp-block-heading">GET some REST</h2>



<p class="wp-block-paragraph">Nagios XI has a robust REST API that can be used for a variety of purposes, including fetching object status and system data, managing monitoring configs and users, and controlling the monitoring engine programmatically. You can find full details in the <strong>Help </strong>menu:</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/04/API-Access.png"><img loading="lazy" decoding="async" width="1024" height="462" src="https://library.nagios.com/wp-content/uploads/2025/04/API-Access-1024x462.png" alt="A screenshot of the Nagios XI REST API in-interface guide, with a yellow arrow pointing to the question-mark icon used to access the Help menu." class="wp-image-54548" title="How to Maximize Your Free Trial of Nagios XI 14" srcset="https://library.nagios.com/wp-content/uploads/2025/04/API-Access-1024x462.png 1024w, https://library.nagios.com/wp-content/uploads/2025/04/API-Access-300x135.png 300w, https://library.nagios.com/wp-content/uploads/2025/04/API-Access-768x346.png 768w, https://library.nagios.com/wp-content/uploads/2025/04/API-Access-1536x692.png 1536w, https://library.nagios.com/wp-content/uploads/2025/04/API-Access.png 1877w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Access the Help menu for full REST API details. </figcaption></figure>



<p class="wp-block-paragraph"><a href="https://library.nagios.com/techtips/harness-the-nagios-xi-rest-api/" target="_blank" rel="noreferrer noopener">This article</a> is a great starting point to learn more the REST API, including use cases and API call examples.</p>



<h2 class="wp-block-heading">Demos and Quickstarts</h2>



<p class="wp-block-paragraph">If you&#8217;d like a guided personal tour of XI geared toward your unique requirements, or a hands-on remote session with one of our techs to help you get a few things set up, we&#8217;d love to offer you a free Demo or Quickstart.  To set this up, or for any other help you may need, feel free to email <strong>sales@nagios.com</strong> so we can give you a hand. Our sales and technical teams will do all they can to help you maximize your free trial! </p>
]]></content:encoded>
					
		
		
		<media:content url="https://www.youtube.com/embed/0Kbax9Taz6c" medium="video">
			<media:player url="https://www.youtube.com/embed/0Kbax9Taz6c" />
			<media:title type="plain">Setup &amp; Installation Archives - Nagios Library</media:title>
			<media:thumbnail url="https://library.nagios.com/wp-content/uploads/2025/04/previewimage-1-1-1-1-3-3-1-1.png" />
			<media:rating scheme="urn:simple">nonadult</media:rating>
		</media:content>
	</item>
		<item>
		<title>Set Up User Roles and Permissions in Nagios XI in 4 Easy Steps</title>
		<link>https://library.nagios.com/techtips/user-roles-and-permissions-nagios-xi/</link>
		
		<dc:creator><![CDATA[Joe Johnson]]></dc:creator>
		<pubDate>Mon, 17 Mar 2025 14:18:00 +0000</pubDate>
				<category><![CDATA[Techtips]]></category>
		<category><![CDATA[Support Tips]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Setup & Installation]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?p=52155</guid>

					<description><![CDATA[Introduction Managing user roles and permissions in Nagios XI is crucial for maintaining security, ensuring proper access control, and streamlining administrative tasks. By assigning appropriate roles, organizations can limit access to sensitive settings while providing users with the necessary permissions to monitor and manage their systems. This guide will walk you through the process of [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">Introduction</h2>



<p class="wp-block-paragraph">Managing user roles and permissions in <a href="https://www.nagios.com/products/nagios-xi/" target="_blank" rel="noreferrer noopener">Nagios XI</a> is crucial for maintaining security, ensuring proper access control, and streamlining administrative tasks. By assigning appropriate roles, organizations can limit access to sensitive settings while providing users with the necessary permissions to monitor and manage their systems.</p>



<p class="wp-block-paragraph">This guide will walk you through the process of creating and configuring user roles and permissions in Nagios XI.</p>



<h2 class="wp-block-heading">Understanding User Roles in Nagios XI</h2>



<p class="wp-block-paragraph">Nagios XI provides Role-Based Access Control (RBAC), which allows administrators to assign specific permissions to users based on their responsibilities. There are three key user types in Nagios XI:</p>



<ul class="wp-block-list">
<li><strong>Administrators</strong> – Have full control over Nagios XI, including system settings, user management, and monitoring configurations.</li>



<li><strong>Users</strong> – Can view and manage assigned hosts, services, and dashboards, depending on their permissions.</li>



<li><strong>Guests (Read-Only Users)</strong> – Can only view system status without making any changes.</li>
</ul>



<h2 class="wp-block-heading">Creating and Managing Users</h2>



<p class="wp-block-paragraph"><strong>Step 1: Access the User Management Section</strong></p>



<ol start="1" class="wp-block-list">
<li>Log in to your <strong>Nagios XI Web Interface</strong>.</li>



<li>Navigate to <strong>Admin &gt; Manage Users</strong>.</li>



<li>Click <strong>Add New User</strong> to create a new user account.</li>
</ol>



<p class="wp-block-paragraph"><strong>Step 2: Enter User Details</strong></p>



<ol start="1" class="wp-block-list">
<li>Provide the <strong>username</strong>, <strong>password</strong>, and <strong>email address</strong>.</li>



<li>Select the <strong>User Type</strong> (Admin, User, or Guest).</li>



<li>Click <strong>Submit</strong> to create the user.</li>
</ol>



<h2 class="wp-block-heading">Configuring User Permissions</h2>



<p class="wp-block-paragraph"><strong>Step 3: Assigning User Roles</strong></p>



<p class="wp-block-paragraph">Once a user is created, you can assign specific roles and permissions:</p>



<ol start="1" class="wp-block-list">
<li>Navigate to <strong>Admin &gt; Manage Users</strong>.</li>



<li>Click <strong>Edit</strong> next to the desired user.</li>



<li>Under the <strong>Security Settings</strong>, assign the appropriate role:
<ul class="wp-block-list">
<li><strong>Administrator</strong>: Grants full access.</li>



<li><strong>Regular User</strong>: Limited access based on specific permissions.</li>



<li><strong>Read-Only User</strong>: Only allows viewing of monitoring data.</li>
</ul>
</li>



<li>Click <strong>Update User</strong> to save changes.</li>
</ol>



<p class="wp-block-paragraph"><strong>Step 4: Defining Custom Permissions</strong></p>



<p class="wp-block-paragraph">For non-admin users, you can define more granular permissions:</p>



<ol start="1" class="wp-block-list">
<li>Under the user’s settings, go to the <strong>Account Information</strong> section.</li>



<li>Click <strong>Modify User Preferences</strong>.</li>



<li>Enable or disable specific access rights, such as:
<ul class="wp-block-list">
<li>Viewing or managing hosts and services.</li>



<li>Access to reports and dashboards.</li>



<li>Ability to acknowledge alerts and schedule downtime.</li>



<li>Permission to edit configurations.</li>
</ul>
</li>



<li>Save the changes.</li>
</ol>



<h2 class="wp-block-heading">Assigning Users to Monitoring Objects</h2>



<p class="wp-block-paragraph">To limit user access to specific hosts and services:</p>



<ol start="1" class="wp-block-list">
<li>Go to <strong>Configure &gt; CCM (Core Config Manager)</strong>.</li>



<li>Select <strong>Hosts</strong> or <strong>Services</strong>.</li>



<li>Edit the object and add the user to the <strong>Monitoring Contact</strong> list.</li>



<li>Click <strong>Save and Apply Configuration</strong>.</li>
</ol>



<p class="wp-block-paragraph">This ensures that users can only view or manage the assigned monitoring objects.</p>



<h2 class="wp-block-heading">Testing User Permissions</h2>



<p class="wp-block-paragraph">After configuring roles and permissions:</p>



<ol start="1" class="wp-block-list">
<li><strong>Log in as the user</strong> to verify their access.</li>



<li>Check if they can view or modify only the allowed objects.</li>



<li>Adjust settings if necessary to fine-tune access control.</li>
</ol>



<h2 class="wp-block-heading">Best Practices for User Role Management</h2>



<ul class="wp-block-list">
<li><strong>Use the Principle of Least Privilege (PoLP)</strong> – Only grant necessary permissions to users.</li>



<li><strong>Regularly Review User Roles</strong> – Ensure users have appropriate access as roles change.</li>



<li><strong>Enable Two-Factor Authentication (2FA)</strong> – Adds an extra layer of security for administrators.</li>



<li><strong>Audit User Activity</strong> – Use logs to monitor changes made by users.</li>
</ul>



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



<p class="wp-block-paragraph">Properly setting up user roles and permissions in Nagios XI ensures that users have access to the necessary tools while maintaining security and compliance. By following the steps outlined in this guide, you can effectively manage user access and safeguard your monitoring environment.</p>



<p class="wp-block-paragraph">To learn more about Nagios XI, visit our <a href="https://library.nagios.com/products/nagios-xi/" target="_blank" rel="noreferrer noopener">Nagios XI Resources</a> page.</p>



<p class="wp-block-paragraph">Happy monitoring!</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to Install Nagios Cross-Platform Agent (NCPA) on Intel macOS</title>
		<link>https://library.nagios.com/monitoring/how-to-install-nagios-cross-platform-agent-ncpa-on-macos/</link>
		
		<dc:creator><![CDATA[Jack Brisben]]></dc:creator>
		<pubDate>Thu, 20 Feb 2025 16:36:55 +0000</pubDate>
				<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Operating System Monitoring]]></category>
		<category><![CDATA[Setup & Installation]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?p=48077</guid>

					<description><![CDATA[Nagios Cross-Platform Agent (NCPA) is a flexible and modern monitoring agent designed for Nagios Core and Nagios XI. It enables administrators to monitor system metrics, processes, services, and custom plugins with ease. In this guide, we’ll walk through the steps to install and configure NCPA on macOS. Please note that a Nagios Core or Nagios [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Nagios Cross-Platform Agent (NCPA) is a flexible and modern monitoring agent designed for Nagios Core and Nagios XI. It enables administrators to monitor system metrics, processes, services, and custom plugins with ease.</p>



<p class="wp-block-paragraph">In this guide, we’ll walk through the steps to install and configure NCPA on macOS. Please note that a Nagios Core or Nagios XI server is required to receive monitoring data.</p>



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



<p class="wp-block-paragraph">Before proceeding with the installation, ensure that you meet the following requirements:</p>



<ul class="wp-block-list">
<li>A macOS system (macOS 10.13 or later).</li>



<li>Administrator privileges to perform installation and configuration.</li>



<li>An active Nagios Core or Nagios XI server to receive monitoring data.</li>
</ul>



<h3 class="wp-block-heading">Step 1: Install Homebrew (if not already installed)</h3>



<p class="wp-block-paragraph">Homebrew is a popular package manager for macOS. If you don&#8217;t already have it installed, you can install it by running the following command:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #DCDCAA">/bin/bash</span><span style="color: #D4D4D4"> </span><span style="color: #569CD6">-c</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">&quot;$(</span><span style="color: #DCDCAA">curl</span><span style="color: #CE9178"> </span><span style="color: #569CD6">-fsSL</span><span style="color: #CE9178"> https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)&quot;</span></span></code></pre></div>



<h3 class="wp-block-heading">Step 2: Download and Install the NCPA Package</h3>



<p class="wp-block-paragraph">As of now, Nagios doesn’t provide a direct macOS package for NCPA. However, you can use Homebrew to install it via the <code>ncpa</code> formula.</p>



<p class="wp-block-paragraph">To install the NCPA package on macOS, run the following commands:</p>



<ol class="wp-block-list">
<li><strong>Update Homebrew</strong> (if needed):</li>
</ol>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>brew update</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #DCDCAA">brew</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">update</span></span></code></pre></div>



<p class="wp-block-paragraph">2. <strong>Install NCPA</strong>:</p>



<ol class="wp-block-list">
<li></li>
</ol>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>brew install nagios/ncpa/ncpa</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #DCDCAA">brew</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">install</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">nagios/ncpa/ncpa</span></span></code></pre></div>



<h3 class="wp-block-heading">Step 3: Start and Enable the NCPA Agent</h3>



<p class="wp-block-paragraph">Once the installation is complete, you can start the NCPA listener and passive services:<code><br></code></p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>sudo /usr/local/ncpa/ncpa_listener -start
sudo /usr/local/ncpa/ncpa_passive -start</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #DCDCAA">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">/usr/local/ncpa/ncpa_listener</span><span style="color: #D4D4D4"> </span><span style="color: #569CD6">-start</span></span>
<span class="line"><span style="color: #DCDCAA">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">/usr/local/ncpa/ncpa_passive</span><span style="color: #D4D4D4"> </span><span style="color: #569CD6">-start</span></span></code></pre></div>



<p class="wp-block-paragraph">To ensure the services start automatically on boot, you can use the <code>launchctl</code> tool to manage the services:</p>



<ol class="wp-block-list">
<li><strong>Enable NCPA services</strong> to start on boot:</li>
</ol>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>sudo launchctl load /Library/LaunchDaemons/com.nagios.ncpa_listener.plist
sudo launchctl load /Library/LaunchDaemons/com.nagios.ncpa_passive.plist</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #DCDCAA">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">launchctl</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">load</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">/Library/LaunchDaemons/com.nagios.ncpa_listener.plist</span></span>
<span class="line"><span style="color: #DCDCAA">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">launchctl</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">load</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">/Library/LaunchDaemons/com.nagios.ncpa_passive.plist</span></span></code></pre></div>



<p class="wp-block-paragraph">2. <strong>Start the services immediately</strong>:</p>



<ol class="wp-block-list">
<li></li>
</ol>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>sudo launchctl start com.nagios.ncpa_listener
sudo launchctl start com.nagios.ncpa_passive</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #DCDCAA">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">launchctl</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">start</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">com.nagios.ncpa_listener</span></span>
<span class="line"><span style="color: #DCDCAA">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">launchctl</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">start</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">com.nagios.ncpa_passive</span></span></code></pre></div>



<ol class="wp-block-list">
<li><strong>Check the status</strong> of the services:bashCopy<code>sudo launchctl list | grep ncpa</code></li>
</ol>



<h3 class="wp-block-heading">Step 4: Configure NCPA</h3>



<h4 class="wp-block-heading">4.1 Edit the NCPA Configuration File</h4>



<p class="wp-block-paragraph">The NCPA configuration file is located at <code>/usr/local/ncpa/etc/ncpa.cfg</code>. To modify it:</p>



<ol class="wp-block-list">
<li>Open the configuration file in your preferred text editor</li>
</ol>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>sudo nano /usr/local/ncpa/etc/ncpa.cfg</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #DCDCAA">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">nano</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">/usr/local/ncpa/etc/ncpa.cfg</span></span></code></pre></div>



<p class="wp-block-paragraph">2. Modify the following settings:</p>



<ul class="wp-block-list">
<li><strong>API Token</strong>: This is required for secure communication with Nagios. Update the <code>community_string</code> field to something memorable:</li>
</ul>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>community_string = Str0ngT0k3n!</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #DCDCAA">community_string</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">=</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">Str0ngT0k3n!</span></span></code></pre></div>



<ul class="wp-block-list">
<li><strong>Allowed IPs</strong>: Restrict access to trusted Nagios servers by adding their IP addresses:</li>
</ul>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>allowed_hosts = &lt;Nagios IP address></textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #DCDCAA">allowed_hosts</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">=</span><span style="color: #D4D4D4"> &lt;</span><span style="color: #CE9178">Nagios</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">IP</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">addres</span><span style="color: #D4D4D4">s&gt;</span></span></code></pre></div>



<p class="wp-block-paragraph">3. Save the file and exit (CTRL+X, then Y, then Enter).</p>



<ol class="wp-block-list">
<li></li>
</ol>



<h4 class="wp-block-heading">4.2 Restart NCPA Services</h4>



<p class="wp-block-paragraph">After modifying the configuration file, restart the NCPA services for the changes to take effect:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>sudo /usr/local/ncpa/ncpa_listener -restart
sudo /usr/local/ncpa/ncpa_passive -restart</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #DCDCAA">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">/usr/local/ncpa/ncpa_listener</span><span style="color: #D4D4D4"> </span><span style="color: #569CD6">-restart</span></span>
<span class="line"><span style="color: #DCDCAA">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">/usr/local/ncpa/ncpa_passive</span><span style="color: #D4D4D4"> </span><span style="color: #569CD6">-restart</span></span></code></pre></div>



<h3 class="wp-block-heading">Step 5: Verify NCPA Installation</h3>



<h4 class="wp-block-heading">5.1 Check the NCPA Web Interface</h4>



<p class="wp-block-paragraph">By default, NCPA runs on port 5693. You can access the web interface by opening a web browser and navigating to:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>https://&lt;your_mac_system>:5693</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #DCDCAA">https://&lt;your_mac_system&gt;:5693</span></span></code></pre></div>



<p class="wp-block-paragraph">Log in using the API token you configured earlier.</p>



<h4 class="wp-block-heading">5.2 Test NCPA with Nagios</h4>



<p class="wp-block-paragraph">To verify that your Nagios server can communicate with the NCPA agent, run the following command from your Nagios monitoring server:<code><br></code></p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>curl -k https://&lt;your_mac_system>:5693/api</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #DCDCAA">curl</span><span style="color: #D4D4D4"> </span><span style="color: #569CD6">-k</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">https://</span><span style="color: #D4D4D4">&lt;</span><span style="color: #CE9178">your_mac_syste</span><span style="color: #D4D4D4">m&gt;</span><span style="color: #CE9178">:5693/api</span></span></code></pre></div>



<p class="wp-block-paragraph">You should receive a JSON response indicating the system&#8217;s status.</p>



<h3 class="wp-block-heading">Step 6: Add NCPA to Nagios</h3>



<p class="wp-block-paragraph">On your Nagios XI web GUI:</p>



<ul class="wp-block-list">
<li>Navigate to <strong>Run a Wizard</strong>.</li>



<li>Select <strong>Mac OS X</strong>.</li>
</ul>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-20-093742.png"><img loading="lazy" decoding="async" width="1024" height="532" src="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-20-093742-1024x532.png" alt="Screenshot 2025 02 20 093742" class="wp-image-48680" title="How to Install Nagios Cross-Platform Agent (NCPA) on Intel macOS 15" srcset="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-20-093742-1024x532.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-20-093742-300x156.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-20-093742-768x399.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-20-093742-1536x797.png 1536w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-20-093742-360x187.png 360w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-20-093742.png 1541w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption>How to Install Nagios Cross-Platform Agent (NCPA) on Intel macOS 17</figcaption></figure>



<ul class="wp-block-list">
<li>Enter the IP address of your macOS system and the token you created in the configuration file.</li>



<li>Click <strong>Next</strong> and choose the system metrics you want to monitor, or leave everything as default. Hit <strong>Finish</strong> to complete the setup.</li>
</ul>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-20-094438.png"><img loading="lazy" decoding="async" width="1024" height="565" src="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-20-094438-1024x565.png" alt="Screenshot 2025 02 20 094438" class="wp-image-48681" title="How to Install Nagios Cross-Platform Agent (NCPA) on Intel macOS 16" srcset="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-20-094438-1024x565.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-20-094438-300x166.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-20-094438-768x424.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-20-094438-360x199.png 360w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-20-094438.png 1471w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption>How to Install Nagios Cross-Platform Agent (NCPA) on Intel macOS 18</figcaption></figure>



<p class="wp-block-paragraph">By following these steps, you have successfully installed Nagios Cross-Platform Agent (NCPA) on macOS. Your Nagios monitoring server will now be able to collect system metrics and monitor your macOS system in real-time.</p>



<h2 class="wp-block-heading">Additional Resources</h2>



<ul class="wp-block-list">
<li><a href="https://assets.nagios.com/downloads/nagiosxi/docs/Installing_the_XI_Mac_OSX_Agent.pdf" target="_blank" rel="noopener">Nagios XI Documentation</a></li>



<li><a href="https://exchange.nagios.org/directory/Plugins/Operating-Systems/Mac-OS--2F-OSX" target="_blank" rel="noopener">Nagios Mac Exchange</a></li>



<li><a href="https://support.nagios.com/forum/viewtopic.php?t=63295" target="_blank" rel="noopener">NCPA on Mac Support Forum</a></li>
</ul>



<h3 class="wp-block-heading">Need Help?</h3>



<p class="wp-block-paragraph">For further assistance, visit our&nbsp;<a href="https://support.nagios.com/forum/" target="_blank" rel="noreferrer noopener">support page</a>&nbsp;or contact our team.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Configuring SNMP on Intel Mac and Monitor with Nagios XI</title>
		<link>https://library.nagios.com/documentation/configuring-snmp-on-mac-and-monitor-with-nagios-xi/</link>
		
		<dc:creator><![CDATA[Jack Brisben]]></dc:creator>
		<pubDate>Tue, 18 Feb 2025 21:28:28 +0000</pubDate>
				<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Operating System Monitoring]]></category>
		<category><![CDATA[Setup & Installation]]></category>
		<category><![CDATA[SNMP]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?p=47863</guid>

					<description><![CDATA[Simple Network Management Protocol (SNMP) is a protocol used to monitor network devices and servers. In this guide, we’ll show you how to install, configure, and test SNMP on macOS, and then integrate it with Nagios XI for monitoring. This guide walks you through setting up SNMP monitoring on a Mac, explaining how to install [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Simple Network Management Protocol (SNMP) is a protocol used to monitor network devices and servers. In this guide, we’ll show you how to install, configure, and test SNMP on macOS, and then integrate it with Nagios XI for monitoring. This guide walks you through setting up SNMP monitoring on a Mac, explaining how to install and configure the necessary components, set up Nagios XI, and define best practices for monitoring your macOS device.</p>



<p class="wp-block-paragraph">This guide will use <strong>SNMPv2c</strong> for communication.</p>



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



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



<ul class="wp-block-list">
<li>A running instance of <strong>Nagios XI</strong> (latest version recommended)</li>



<li><strong>macOS</strong> device with administrator privileges</li>



<li><strong>SNMP</strong> installed and configured on macOS</li>



<li>Internet connectivity for API communication between Nagios XI and the Mac</li>
</ul>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h3 class="wp-block-heading">Why Monitor Mac with SNMP?</h3>



<p class="wp-block-paragraph">Monitoring your Mac using SNMP helps you:</p>



<ul class="wp-block-list">
<li><strong>Detect Performance Issues Proactively</strong> – Identify CPU, memory, disk, or network bottlenecks before they disrupt operations.</li>



<li><strong>Ensure Security</strong> – Track unauthorized access or abnormal system behaviors.</li>



<li><strong>Monitor System Health</strong> – Keep an eye on the system’s health status, such as temperature, battery levels, and uptime.</li>



<li><strong>Track Resource Usage</strong> – Monitor resource consumption (CPU, memory, disk) to optimize performance.</li>
</ul>



<p class="wp-block-paragraph">Nagios XI provides an easy-to-use interface for these tasks, allowing you to keep your system under control.</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h3 class="wp-block-heading">Key Metrics to Monitor</h3>



<p class="wp-block-paragraph">Nagios XI offers a variety of monitoring capabilities for your macOS system using SNMP. Below are key metrics that should be tracked:</p>



<h4 class="wp-block-heading"><strong>System Metrics</strong></h4>



<ul class="wp-block-list">
<li><strong>CPU Usage</strong> – Monitor CPU usage to ensure processes are not overloading the system.</li>



<li><strong>Memory Usage</strong> – Track memory usage to avoid system slowdowns or crashes.</li>



<li><strong>Disk Space</strong> – Monitor available storage to avoid running out of space.</li>
</ul>



<h4 class="wp-block-heading"><strong>Network Metrics</strong></h4>



<ul class="wp-block-list">
<li><strong>Network Interfaces</strong> – Track the performance of Ethernet or Wi-Fi connections.</li>



<li><strong>Network Traffic</strong> – Measure data sent and received to monitor network bandwidth usage.</li>
</ul>



<h4 class="wp-block-heading"><strong>System Health Metrics</strong></h4>



<ul class="wp-block-list">
<li><strong>Battery Health</strong> (for laptops) – Monitor battery health and charge percentage.</li>



<li><strong>Temperature</strong> – Track system temperature to prevent overheating.</li>
</ul>



<h4 class="wp-block-heading"><strong>Error Tracking</strong></h4>



<ul class="wp-block-list">
<li><strong>High CPU or Memory Usage</strong> – Detect and alert on processes that may be consuming excessive resources.</li>



<li><strong>Disk Space Running Low</strong> – Get alerts when storage space is nearing full capacity.</li>
</ul>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h3 class="wp-block-heading">Installation and Setup</h3>



<h4 class="wp-block-heading"><strong>Install Homebrew (if not already installed)</strong></h4>



<p class="wp-block-paragraph">Homebrew is a popular package manager for macOS. If you don&#8217;t already have it installed, you can install it by running the following command:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #DCDCAA">/bin/bash</span><span style="color: #D4D4D4"> </span><span style="color: #569CD6">-c</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">&quot;$(</span><span style="color: #DCDCAA">curl</span><span style="color: #CE9178"> </span><span style="color: #569CD6">-fsSL</span><span style="color: #CE9178"> https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)&quot;</span></span></code></pre></div>



<h4 class="wp-block-heading"><strong>Step 1: Install SNMP on macOS</strong></h4>



<ol class="wp-block-list">
<li><strong>Open Terminal</strong> on your Mac.</li>



<li><strong>Install SNMP</strong> using Homebrew by running the following command:</li>
</ol>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>brew install net-snmp</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #DCDCAA">brew</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">install</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">net-snmp</span></span></code></pre></div>



<p class="wp-block-paragraph"><strong>Enable SNMP</strong>:</p>



<ul class="wp-block-list">
<li>Edit the SNMP configuration file:</li>
</ul>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>sudo nano /usr/local/etc/snmp/snmpd.conf</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #DCDCAA">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">nano</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">/usr/local/etc/snmp/snmpd.conf</span></span></code></pre></div>



<ul class="wp-block-list">
<li>Modify or add the following lines to configure SNMP (use a community string of your choice, e.g., <code>public</code>):</li>
</ul>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>com2sec readonly  default         public
group   MyROGroup v1              readonly
view    all    included   .1
access  MyROGroup ""      any       noauth    exact  all    none   none</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #DCDCAA">com2sec</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">readonly</span><span style="color: #D4D4D4">  </span><span style="color: #CE9178">default</span><span style="color: #D4D4D4">         </span><span style="color: #CE9178">public</span></span>
<span class="line"><span style="color: #DCDCAA">group</span><span style="color: #D4D4D4">   </span><span style="color: #CE9178">MyROGroup</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">v1</span><span style="color: #D4D4D4">              </span><span style="color: #CE9178">readonly</span></span>
<span class="line"><span style="color: #DCDCAA">view</span><span style="color: #D4D4D4">    </span><span style="color: #CE9178">all</span><span style="color: #D4D4D4">    </span><span style="color: #CE9178">included</span><span style="color: #D4D4D4">   </span><span style="color: #CE9178">.1</span></span>
<span class="line"><span style="color: #DCDCAA">access</span><span style="color: #D4D4D4">  </span><span style="color: #CE9178">MyROGroup</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">&quot;&quot;</span><span style="color: #D4D4D4">      </span><span style="color: #CE9178">any</span><span style="color: #D4D4D4">       </span><span style="color: #CE9178">noauth</span><span style="color: #D4D4D4">    </span><span style="color: #CE9178">exact</span><span style="color: #D4D4D4">  </span><span style="color: #CE9178">all</span><span style="color: #D4D4D4">    </span><span style="color: #CE9178">none</span><span style="color: #D4D4D4">   </span><span style="color: #CE9178">none</span></span></code></pre></div>



<p class="wp-block-paragraph"><strong>Start the SNMP service</strong>:</p>



<ul class="wp-block-list">
<li>Run the following command to start the SNMP service:</li>
</ul>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>sudo snmpd</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #DCDCAA">sudo</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">snmpd</span></span></code></pre></div>



<p class="wp-block-paragraph"><strong>Verify SNMP is running</strong>:<ul><li>To check if SNMP is working correctly, use the following command:</li></ul></p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>snmpwalk -v 2c -c public localhost</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #DCDCAA">snmpwalk</span><span style="color: #D4D4D4"> </span><span style="color: #569CD6">-v</span><span style="color: #D4D4D4"> </span><span style="color: #B5CEA8">2</span><span style="color: #CE9178">c</span><span style="color: #D4D4D4"> </span><span style="color: #569CD6">-c</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">public</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">localhost</span></span></code></pre></div>



<p class="wp-block-paragraph">This should display a list of SNMP data from your Mac.</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h4 class="wp-block-heading"><strong>Step 2: Configure Nagios XI</strong></h4>



<ol class="wp-block-list">
<li><strong>Log into Nagios XI</strong> and navigate to <strong>Configuration Wizards</strong>.</li>



<li><strong>Select SNMP Wizard</strong> from the available wizards.</li>



<li><strong>Enter SNMP Community String</strong>:
<ul class="wp-block-list">
<li>Enter the community string (e.g., <code>public</code>) that you set up in the SNMP configuration file.</li>
</ul>
</li>



<li><strong>Add your Mac’s IP address</strong>:
<ul class="wp-block-list">
<li>Provide the IP address of the Mac you want to monitor.</li>
</ul>
</li>



<li><strong>Choose SNMP Version</strong>:
<ul class="wp-block-list">
<li>Select <strong>SNMP v2c</strong> (or whichever version you&#8217;re using).</li>
</ul>
</li>



<li><strong>Select the metrics to monitor</strong>:
<ul class="wp-block-list">
<li>Choose metrics like CPU usage, disk space, memory usage, and network performance.</li>
</ul>
</li>



<li><strong>Set Alert Thresholds</strong>:
<ul class="wp-block-list">
<li>Define threshold limits for alerts, such as high CPU usage or low disk space.</li>
</ul>
</li>



<li><strong>Save and Apply the configuration</strong>.</li>
</ol>



<figure class="wp-block-image size-large is-resized"><a href="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-18-143028.png"><img loading="lazy" decoding="async" width="1024" height="871" src="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-18-143028-1024x871.png" alt="Screenshot 2025 02 18 143028" class="wp-image-48054" style="width:732px;height:auto" title="Configuring SNMP on Intel Mac and Monitor with Nagios XI 19" srcset="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-18-143028-1024x871.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-18-143028-300x255.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-18-143028-768x653.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-18-143028-360x306.png 360w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2025-02-18-143028.png 1031w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption>Configuring SNMP on Intel Mac and Monitor with Nagios XI 20</figcaption></figure>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h4 class="wp-block-heading"><strong>Step 3: Configure Alerts and Notifications</strong></h4>



<ol class="wp-block-list">
<li><strong>Navigate to Notifications in Nagios XI</strong>.</li>



<li><strong>Set threshold values</strong> for critical system metrics:
<ul class="wp-block-list">
<li>For instance, you can set alerts for high CPU or disk usage that exceeds the defined limits.</li>
</ul>
</li>



<li><strong>Configure notification settings</strong>:
<ul class="wp-block-list">
<li>Set up email, SMS, or webhook alerts to notify you about system performance or security issues.</li>
</ul>
</li>
</ol>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h4 class="wp-block-heading"><strong>Step 4: Analyze and Optimize</strong></h4>



<ul class="wp-block-list">
<li><strong>Use Nagios XI Reports</strong>: Review system performance trends, such as CPU and memory usage over time.</li>



<li><strong>Optimize system configurations</strong>: Based on the data collected, you can optimize processes to enhance performance.</li>
</ul>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h3 class="wp-block-heading">Best Practices for macOS SNMP Monitoring</h3>



<p class="wp-block-paragraph"><strong>Monitor Battery Health</strong>: If you are monitoring a MacBook, track battery health and charging cycles to extend the device’s longevity.</p>



<p class="wp-block-paragraph"><strong>Set Up Proactive Alerts</strong>: Configure immediate alerts for critical thresholds like high CPU or disk usage.</p>



<p class="wp-block-paragraph"><strong>Regularly Monitor Resources</strong>: Check memory, disk, and CPU usage to ensure optimal system performance.</p>



<p class="wp-block-paragraph"><strong>Ensure System Security</strong>: Track unauthorized access attempts or security misconfigurations.</p>



<p class="wp-block-paragraph"><strong>Automate Corrective Actions</strong>: Consider integrating with automation tools, like AppleScripts or custom scripts, to resolve common issues based on SNMP alerts.</p>



<h2 class="wp-block-heading">Additional Resources</h2>



<ul class="wp-block-list">
<li><a href="https://assets.nagios.com/downloads/nagiosxi/docs/Installing_the_XI_Mac_OSX_Agent.pdf" target="_blank" rel="noopener">Nagios XI Documentation</a></li>



<li><a href="https://exchange.nagios.org/directory/Plugins/Operating-Systems/Mac-OS--2F-OSX" target="_blank" rel="noopener">Nagios Mac Exchange</a></li>
</ul>



<h3 class="wp-block-heading">Need Help?</h3>



<p class="wp-block-paragraph">For further assistance, visit our&nbsp;<a href="https://support.nagios.com/forum/" target="_blank" rel="noreferrer noopener">support page</a>&nbsp;or contact our team.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Sending Windows Server Logs to Nagios Log Server</title>
		<link>https://library.nagios.com/monitoring/sending-windows-server-logs-to-nagios-log-server/</link>
		
		<dc:creator><![CDATA[Salamon Anzel]]></dc:creator>
		<pubDate>Tue, 11 Feb 2025 18:50:57 +0000</pubDate>
				<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Log Monitoring]]></category>
		<category><![CDATA[Setup & Installation]]></category>
		<category><![CDATA[Windows Monitoring]]></category>
		<category><![CDATA[Windows Server 2012]]></category>
		<category><![CDATA[Windows Server 2019]]></category>
		<category><![CDATA[Windows Server 2022]]></category>
		<category><![CDATA[Windows Server 2025]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?p=45483</guid>

					<description><![CDATA[Collecting logs from Windows Server is crucial for monitoring system health and security. Integrating these logs with Nagios Log Server allows for centralized analysis, real-time alerts, and efficient troubleshooting. This article covers the setup process, from configuring Windows Event Log forwarding to analyzing logs in Nagios Log Server. To see how this is done in [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Collecting logs from Windows Server is crucial for monitoring system health and security. Integrating these logs with <strong>Nagios Log Server</strong> allows for centralized analysis, real-time alerts, and efficient troubleshooting. This article covers the setup process, from configuring Windows Event Log forwarding to analyzing logs in Nagios Log Server.</p>



<p class="wp-block-paragraph">To see how this is done in Nagios Log Server, check out this tutorial: </p>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe title="How To Add Windows Hosts In Nagios Log Server" width="800" height="450" src="https://www.youtube.com/embed/aQou1pV5M9w?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading">Step 1: Add a Log Source in Nagios Log Server</h2>



<p class="wp-block-paragraph">1. <strong>Log in</strong> to your <strong>Nagios Log Server</strong> web interface.</p>



<p class="wp-block-paragraph">2. On the <strong>Home</strong> page, locate the section for adding log sources.</p>



<figure class="wp-block-image size-full"><a href="https://library.nagios.com/wp-content/uploads/2025/02/image-132.png"><img loading="lazy" decoding="async" width="429" height="59" src="https://library.nagios.com/wp-content/uploads/2025/02/image-132.png" alt="image 132" class="wp-image-45522" title="Sending Windows Server Logs to Nagios Log Server 21" srcset="https://library.nagios.com/wp-content/uploads/2025/02/image-132.png 429w, https://library.nagios.com/wp-content/uploads/2025/02/image-132-300x41.png 300w" sizes="(max-width: 429px) 100vw, 429px" /></a><figcaption class="wp-element-caption">add log source</figcaption></figure>



<p class="wp-block-paragraph">3. Click the <strong>+ Windows</strong> button to begin the configuration process. </p>



<figure class="wp-block-image size-full"><a href="https://library.nagios.com/wp-content/uploads/2025/02/image-133.png"><img loading="lazy" decoding="async" width="423" height="116" src="https://library.nagios.com/wp-content/uploads/2025/02/image-133.png" alt="image 133" class="wp-image-45525" title="Sending Windows Server Logs to Nagios Log Server 22" srcset="https://library.nagios.com/wp-content/uploads/2025/02/image-133.png 423w, https://library.nagios.com/wp-content/uploads/2025/02/image-133-300x82.png 300w" sizes="(max-width: 423px) 100vw, 423px" /></a><figcaption class="wp-element-caption">select windows</figcaption></figure>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading">Step 2: Install NXLog CE on Windows Server</h2>



<p class="wp-block-paragraph">1. On the <strong>Nagios Log Server Windows Source</strong> page, find the <strong>Getting Started</strong> section and download <strong>NXLog CE</strong> from the provided link.</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/02/image-135.png"><img loading="lazy" decoding="async" width="1024" height="198" src="https://library.nagios.com/wp-content/uploads/2025/02/image-135-1024x198.png" alt="image 135" class="wp-image-45531" title="Sending Windows Server Logs to Nagios Log Server 23" srcset="https://library.nagios.com/wp-content/uploads/2025/02/image-135-1024x198.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/image-135-300x58.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/image-135-768x148.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/image-135.png 1102w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">getting started</figcaption></figure>



<p class="wp-block-paragraph">2. Run the installer on your <strong>Windows Server</strong>.</p>



<figure class="wp-block-image size-full"><a href="https://library.nagios.com/wp-content/uploads/2025/02/image-137.png"><img loading="lazy" decoding="async" width="251" height="43" src="https://library.nagios.com/wp-content/uploads/2025/02/image-137.png" alt="image 137" class="wp-image-45536" title="Sending Windows Server Logs to Nagios Log Server 24"></a><figcaption class="wp-element-caption">nxlog-ce-latest.msi</figcaption></figure>



<p class="wp-block-paragraph">3. Click <strong>Next</strong> to the Welcome Screen.</p>



<figure class="wp-block-image size-full"><a href="https://library.nagios.com/wp-content/uploads/2025/02/image-138.png"><img loading="lazy" decoding="async" width="489" height="384" src="https://library.nagios.com/wp-content/uploads/2025/02/image-138.png" alt="image 138" class="wp-image-45550" title="Sending Windows Server Logs to Nagios Log Server 25" srcset="https://library.nagios.com/wp-content/uploads/2025/02/image-138.png 489w, https://library.nagios.com/wp-content/uploads/2025/02/image-138-300x236.png 300w" sizes="(max-width: 489px) 100vw, 489px" /></a><figcaption class="wp-element-caption">welcome screen</figcaption></figure>



<p class="wp-block-paragraph">3. Accept the <strong>License Agreement</strong> and click <strong>Next</strong></p>



<figure class="wp-block-image size-full"><a href="https://library.nagios.com/wp-content/uploads/2025/02/image-139.png"><img loading="lazy" decoding="async" width="488" height="379" src="https://library.nagios.com/wp-content/uploads/2025/02/image-139.png" alt="image 139" class="wp-image-45551" title="Sending Windows Server Logs to Nagios Log Server 26" srcset="https://library.nagios.com/wp-content/uploads/2025/02/image-139.png 488w, https://library.nagios.com/wp-content/uploads/2025/02/image-139-300x233.png 300w" sizes="(max-width: 488px) 100vw, 488px" /></a><figcaption class="wp-element-caption">license agreement</figcaption></figure>



<p class="wp-block-paragraph">4. Pick the destination folder to install Nagios Log Server (Default C:\Program Files\nxlog\)</p>



<figure class="wp-block-image size-full"><a href="https://library.nagios.com/wp-content/uploads/2025/02/image-140.png"><img loading="lazy" decoding="async" width="487" height="379" src="https://library.nagios.com/wp-content/uploads/2025/02/image-140.png" alt="image 140" class="wp-image-45552" title="Sending Windows Server Logs to Nagios Log Server 27" srcset="https://library.nagios.com/wp-content/uploads/2025/02/image-140.png 487w, https://library.nagios.com/wp-content/uploads/2025/02/image-140-300x233.png 300w" sizes="(max-width: 487px) 100vw, 487px" /></a><figcaption class="wp-element-caption">destination folder</figcaption></figure>



<p class="wp-block-paragraph">5. Click Install: </p>



<figure class="wp-block-image size-full"><a href="https://library.nagios.com/wp-content/uploads/2025/02/image-141.png"><img loading="lazy" decoding="async" width="489" height="381" src="https://library.nagios.com/wp-content/uploads/2025/02/image-141.png" alt="image 141" class="wp-image-45553" title="Sending Windows Server Logs to Nagios Log Server 28" srcset="https://library.nagios.com/wp-content/uploads/2025/02/image-141.png 489w, https://library.nagios.com/wp-content/uploads/2025/02/image-141-300x234.png 300w" sizes="(max-width: 489px) 100vw, 489px" /></a><figcaption class="wp-element-caption">read to install</figcaption></figure>



<p class="wp-block-paragraph">5. Click <strong>Finish</strong> after a successful installation.</p>



<figure class="wp-block-image size-full"><a href="https://library.nagios.com/wp-content/uploads/2025/02/image-142.png"><img loading="lazy" decoding="async" width="486" height="380" src="https://library.nagios.com/wp-content/uploads/2025/02/image-142.png" alt="image 142" class="wp-image-45554" title="Sending Windows Server Logs to Nagios Log Server 29" srcset="https://library.nagios.com/wp-content/uploads/2025/02/image-142.png 486w, https://library.nagios.com/wp-content/uploads/2025/02/image-142-300x235.png 300w" sizes="(max-width: 486px) 100vw, 486px" /></a><figcaption class="wp-element-caption">installation in progress</figcaption></figure>



<figure class="wp-block-image size-full"><a href="https://library.nagios.com/wp-content/uploads/2025/02/image-143.png"><img loading="lazy" decoding="async" width="487" height="380" src="https://library.nagios.com/wp-content/uploads/2025/02/image-143.png" alt="image 143" class="wp-image-45555" title="Sending Windows Server Logs to Nagios Log Server 30" srcset="https://library.nagios.com/wp-content/uploads/2025/02/image-143.png 487w, https://library.nagios.com/wp-content/uploads/2025/02/image-143-300x234.png 300w" sizes="(max-width: 487px) 100vw, 487px" /></a><figcaption class="wp-element-caption">installation complete</figcaption></figure>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading">Step 3: Configure NXLog CE</h2>



<p class="wp-block-paragraph">1. On the <strong>Nagios Log Server Windows Source</strong> page, locate the <strong>Configuration Setup</strong> section.</p>



<p class="wp-block-paragraph">2. Copy the <strong>provided configuration code</strong>:</p>



<p class="wp-block-paragraph">Right-click and select <strong>Copy</strong>.</p>



<p class="wp-block-paragraph">Click the <strong>Select All</strong> button in the top-right of the code block.</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/02/image-144.png"><img loading="lazy" decoding="async" width="1024" height="131" src="https://library.nagios.com/wp-content/uploads/2025/02/image-144-1024x131.png" alt="image 144" class="wp-image-45557" title="Sending Windows Server Logs to Nagios Log Server 31" srcset="https://library.nagios.com/wp-content/uploads/2025/02/image-144-1024x131.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/image-144-300x38.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/image-144-768x98.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/image-144.png 1111w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">configuration setup</figcaption></figure>



<p class="wp-block-paragraph">3. On your <strong>Windows Server</strong>, open <strong>Notepad</strong> as an administrator.</p>



<figure class="wp-block-image size-full"><a href="https://library.nagios.com/wp-content/uploads/2025/02/image-145.png"><img loading="lazy" decoding="async" width="144" height="55" src="https://library.nagios.com/wp-content/uploads/2025/02/image-145.png" alt="image 145" class="wp-image-45559" title="Sending Windows Server Logs to Nagios Log Server 32"></a><figcaption class="wp-element-caption">notepad</figcaption></figure>



<p class="wp-block-paragraph">4. Open the <strong>NXLog configuration file</strong>:</p>



<ul class="wp-block-list">
<li>Navigate to <code><strong>C:\Program Files\nxlog\conf\</strong></code></li>



<li>Select <strong>All Files (<em>.</em>)</strong> in the file type dropdown.</li>



<li>Open <code>nxlog.conf</code>.</li>
</ul>



<figure class="wp-block-image size-full"><a href="https://library.nagios.com/wp-content/uploads/2025/02/image-146.png"><img loading="lazy" decoding="async" width="490" height="182" src="https://library.nagios.com/wp-content/uploads/2025/02/image-146.png" alt="image 146" class="wp-image-45560" title="Sending Windows Server Logs to Nagios Log Server 33" srcset="https://library.nagios.com/wp-content/uploads/2025/02/image-146.png 490w, https://library.nagios.com/wp-content/uploads/2025/02/image-146-300x111.png 300w" sizes="(max-width: 490px) 100vw, 490px" /></a><figcaption class="wp-element-caption">nxlog.conf</figcaption></figure>



<p class="wp-block-paragraph">5. Paste the copied configuration into the file.</p>



<p class="wp-block-paragraph">6. Save and close <strong>Notepad</strong>.</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading">Step 4: Confirm the NXLog Service is running</h2>



<p class="wp-block-paragraph">1. In the Windows <strong>Services </strong>App. Locate the <strong>NXLog </strong>service and confirm it&#8217;s <strong>running</strong>.</p>



<figure class="wp-block-image size-full"><a href="https://library.nagios.com/wp-content/uploads/2025/02/image-147.png"><img loading="lazy" decoding="async" width="513" height="19" src="https://library.nagios.com/wp-content/uploads/2025/02/image-147.png" alt="image 147" class="wp-image-45566" title="Sending Windows Server Logs to Nagios Log Server 34" srcset="https://library.nagios.com/wp-content/uploads/2025/02/image-147.png 513w, https://library.nagios.com/wp-content/uploads/2025/02/image-147-300x11.png 300w" sizes="(max-width: 513px) 100vw, 513px" /></a><figcaption class="wp-element-caption">NCLog services running</figcaption></figure>



<p class="wp-block-paragraph">If not, you can manually start it by right-clicking on <strong>NXLog </strong>and select <strong>Start</strong>: <br></p>



<figure class="wp-block-image size-full"><a href="https://library.nagios.com/wp-content/uploads/2025/02/image-151.png"><img loading="lazy" decoding="async" width="189" height="31" src="https://library.nagios.com/wp-content/uploads/2025/02/image-151.png" alt="image 151" class="wp-image-45575" title="Sending Windows Server Logs to Nagios Log Server 35"></a><figcaption class="wp-element-caption">starting NXLog service</figcaption></figure>



<p class="wp-block-paragraph">2. You can also run <strong>sc query NXLog</strong>. Confirm the value of <strong>STATE</strong> is <strong>RUNNING</strong></p>



<figure class="wp-block-image size-full"><a href="https://library.nagios.com/wp-content/uploads/2025/02/image-149.png"><img loading="lazy" decoding="async" width="608" height="240" src="https://library.nagios.com/wp-content/uploads/2025/02/image-149.png" alt="image 149" class="wp-image-45569" title="Sending Windows Server Logs to Nagios Log Server 36" srcset="https://library.nagios.com/wp-content/uploads/2025/02/image-149.png 608w, https://library.nagios.com/wp-content/uploads/2025/02/image-149-300x118.png 300w" sizes="(max-width: 608px) 100vw, 608px" /></a><figcaption class="wp-element-caption">sc query NXLog output</figcaption></figure>



<p class="wp-block-paragraph">If needed, you can manually start the service by running <strong>net start NXLog</strong>.</p>



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



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading">Step 5: Verify Logs in Nagios Log Server</h2>



<p class="wp-block-paragraph">1. You can verify a successful connection by going back in the Nagios Log Server &gt; Add Log Source &gt; Windows. In the <strong>Verify Incoming Logs</strong> section. Add the IP Address of your Windows Server and click <strong>Verify</strong></p>



<figure class="wp-block-image size-full"><a href="https://library.nagios.com/wp-content/uploads/2025/02/image-152.png"><img loading="lazy" decoding="async" width="907" height="151" src="https://library.nagios.com/wp-content/uploads/2025/02/image-152.png" alt="image 152" class="wp-image-45578" title="Sending Windows Server Logs to Nagios Log Server 37" srcset="https://library.nagios.com/wp-content/uploads/2025/02/image-152.png 907w, https://library.nagios.com/wp-content/uploads/2025/02/image-152-300x50.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/image-152-768x128.png 768w" sizes="(max-width: 907px) 100vw, 907px" /></a><figcaption class="wp-element-caption">verify incoming logs</figcaption></figure>



<p class="wp-block-paragraph">2. Now navigate to Home. Under Unique Hosts &gt; select View</p>



<figure class="wp-block-image size-full"><a href="https://library.nagios.com/wp-content/uploads/2025/02/image-153.png"><img loading="lazy" decoding="async" width="323" height="214" src="https://library.nagios.com/wp-content/uploads/2025/02/image-153.png" alt="image 153" class="wp-image-45579" title="Sending Windows Server Logs to Nagios Log Server 38" srcset="https://library.nagios.com/wp-content/uploads/2025/02/image-153.png 323w, https://library.nagios.com/wp-content/uploads/2025/02/image-153-300x199.png 300w" sizes="(max-width: 323px) 100vw, 323px" /></a><figcaption class="wp-element-caption">unique hosts</figcaption></figure>



<p class="wp-block-paragraph">3. Select the IP Address/Hostname of your windows server.</p>



<p class="wp-block-paragraph">4. Confirm Event logs are being received: </p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/02/image-154.png"><img loading="lazy" decoding="async" width="1024" height="485" src="https://library.nagios.com/wp-content/uploads/2025/02/image-154-1024x485.png" alt="image 154" class="wp-image-45580" title="Sending Windows Server Logs to Nagios Log Server 39" srcset="https://library.nagios.com/wp-content/uploads/2025/02/image-154-1024x485.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/image-154-300x142.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/image-154-768x364.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/image-154-1536x728.png 1536w, https://library.nagios.com/wp-content/uploads/2025/02/image-154.png 1866w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">event logs in nagios log server</figcaption></figure>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



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



<h4 class="wp-block-heading"><strong>Check NXLog Configuration File</strong></h4>



<p class="wp-block-paragraph">1. Open <code>C:\Program Files\nxlog\conf\nxlog.conf</code> in Notepad.</p>



<p class="wp-block-paragraph">2. Ensure the configuration matches the one provided by <strong>Nagios Log Server</strong>.</p>



<p class="wp-block-paragraph">3. Look for <strong>syntax errors</strong>: Run NXLog manually to check for issues:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>"C:\Program Files (x86)\nxlog\nxlog.exe" -v</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #CE9178">&quot;C:</span><span style="color: #D7BA7D">\P</span><span style="color: #CE9178">rogram Files (x86)</span><span style="color: #D7BA7D">\n</span><span style="color: #CE9178">xlog</span><span style="color: #D7BA7D">\n</span><span style="color: #CE9178">xlog.exe&quot;</span><span style="color: #D4D4D4"> -</span><span style="color: #9CDCFE">v</span></span></code></pre></div>



<p class="wp-block-paragraph"><br>4. If any errors appear, correct them in <code>nxlog.conf</code> and restart the service.</p>



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



<h4 class="wp-block-heading"><strong>Verify Firewall</strong></h4>



<p class="wp-block-paragraph">If logs are not reaching <strong>Nagios Log Server</strong>, try:</p>



<p class="wp-block-paragraph">1. On your Windows Server, confirm outbound port 3515 is open by running: </p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>Get-NetFirewallRule -Direction Inbound, Outbound | Get-NetFirewallPortFilter | Where-Object { $_.LocalPort -eq 3515 }</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #9CDCFE">Get</span><span style="color: #D4D4D4">-</span><span style="color: #9CDCFE">NetFirewallRule</span><span style="color: #D4D4D4"> -</span><span style="color: #9CDCFE">Direction</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">Inbound</span><span style="color: #D4D4D4">, </span><span style="color: #9CDCFE">Outbound</span><span style="color: #D4D4D4"> | </span><span style="color: #9CDCFE">Get</span><span style="color: #D4D4D4">-</span><span style="color: #9CDCFE">NetFirewallPortFilter</span><span style="color: #D4D4D4"> | </span><span style="color: #9CDCFE">Where</span><span style="color: #D4D4D4">-</span><span style="color: #9CDCFE">Object</span><span style="color: #D4D4D4"> { </span><span style="color: #9CDCFE">$_</span><span style="color: #D4D4D4">.</span><span style="color: #9CDCFE">LocalPort</span><span style="color: #D4D4D4"> -</span><span style="color: #9CDCFE">eq</span><span style="color: #D4D4D4"> </span><span style="color: #B5CEA8">3515</span><span style="color: #D4D4D4"> }</span></span></code></pre></div>



<p class="wp-block-paragraph">2. To Allow traffic for NXLog on your windows server, which uses by default outbound port 3515:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>netsh advfirewall firewall add rule name="Allow NXLog" dir=out action=allow protocol=tcp localport=3515</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #9CDCFE">netsh</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">advfirewall</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">firewall</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">add</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">rule</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">name</span><span style="color: #D4D4D4">=</span><span style="color: #CE9178">&quot;Allow NXLog&quot;</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">dir</span><span style="color: #D4D4D4">=</span><span style="color: #9CDCFE">out</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">action</span><span style="color: #D4D4D4">=</span><span style="color: #9CDCFE">allow</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">protocol</span><span style="color: #D4D4D4">=</span><span style="color: #9CDCFE">tcp</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">localport</span><span style="color: #D4D4D4">=</span><span style="color: #B5CEA8">3515</span></span></code></pre></div>



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



<h4 class="wp-block-heading">Enable Debugging in NXLog</h4>



<p class="wp-block-paragraph">If issues persist, enable debugging in NXLog:</p>



<p class="wp-block-paragraph">1. Open <code><strong>C:\Program Files\nxlog\conf\nxlog.conf</strong></code></p>



<p class="wp-block-paragraph">2. Add:</p>



<p class="wp-block-paragraph"><code>LogLevel DEBUG</code></p>



<figure class="wp-block-image size-full"><a href="https://library.nagios.com/wp-content/uploads/2025/02/image-155.png"><img loading="lazy" decoding="async" width="377" height="81" src="https://library.nagios.com/wp-content/uploads/2025/02/image-155.png" alt="image 155" class="wp-image-45597" title="Sending Windows Server Logs to Nagios Log Server 40" srcset="https://library.nagios.com/wp-content/uploads/2025/02/image-155.png 377w, https://library.nagios.com/wp-content/uploads/2025/02/image-155-300x64.png 300w" sizes="(max-width: 377px) 100vw, 377px" /></a><figcaption>Sending Windows Server Logs to Nagios Log Server 42</figcaption></figure>



<p class="wp-block-paragraph">3. Restart NXLog:</p>



<figure class="wp-block-image size-full"><a href="https://library.nagios.com/wp-content/uploads/2025/02/image-156.png"><img loading="lazy" decoding="async" width="234" height="122" src="https://library.nagios.com/wp-content/uploads/2025/02/image-156.png" alt="image 156" class="wp-image-45600" title="Sending Windows Server Logs to Nagios Log Server 41"></a><figcaption class="wp-element-caption">restart nxlog</figcaption></figure>



<p class="wp-block-paragraph">4. Check logs in: <strong>C<code>:\Program Files\nxlog\data\nxlog.log</code></strong></p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<p class="wp-block-paragraph">If you have additional questions or other support-related questions, please visit Nagios <a href="https://support.nagios.com/" data-type="link" data-id="https://support.nagios.com/forum" target="_blank" rel="noopener">Support</a>. The <a href="https://support.nagios.com/kb" data-type="link" data-id="https://support.nagios.com/kb" target="_blank" rel="noopener">Nagios Support Knowledgebase</a> is also a great support resource.<br></p>
]]></content:encoded>
					
		
		
		<media:content url="https://www.youtube.com/embed/aQou1pV5M9w" medium="video">
			<media:player url="https://www.youtube.com/embed/aQou1pV5M9w" />
			<media:title type="plain">Setup &amp; Installation Archives - Nagios Library</media:title>
			<media:description type="html"><![CDATA[Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.]]></media:description>
			<media:thumbnail url="https://library.nagios.com/wp-content/uploads/2025/02/Gemini_Generated_Image_3bi6aq3bi6aq3bi6.jpg" />
			<media:rating scheme="urn:simple">nonadult</media:rating>
		</media:content>
	</item>
		<item>
		<title>Guide to Writing Custom Plugins in Nagios XI</title>
		<link>https://library.nagios.com/training/guide-to-writing-custom-plugins/</link>
		
		<dc:creator><![CDATA[Nicole Vagle]]></dc:creator>
		<pubDate>Thu, 06 Feb 2025 21:56:26 +0000</pubDate>
				<category><![CDATA[Training]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Setup & Installation]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?p=41154</guid>

					<description><![CDATA[Overview This guide walks you through the steps of building a custom Nagios XI plugin, using a simple script that monitors the last 1-minute load average of the host. This article will go over these following steps: Step 1: Create a Bash Script Plugin in Nagios XI In order to write a script in the [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">Overview</h2>



<p class="wp-block-paragraph">This guide walks you through the steps of building a custom Nagios XI plugin, using a simple script that monitors the last 1-minute load average of the host.</p>



<p class="wp-block-paragraph">This article will go over these following steps:</p>



<ul class="wp-block-list">
<li>Creating a bash script plugin in the Nagios XI host
<ul class="wp-block-list">
<li>Includes testing the script</li>
</ul>
</li>



<li>Adding the script as a Command in Nagios XI</li>



<li>Using the Command to make a monitoring Service</li>



<li>Where to find more options for the Service</li>
</ul>



<h2 class="wp-block-heading">Step 1: Create a Bash Script Plugin in Nagios XI</h2>



<p class="wp-block-paragraph">In order to write a script in the Nagios XI host, you must first log in using the <strong>root</strong> user.</p>



<p class="wp-block-paragraph">Use the following commands to get to the directory that holds all of the plugins for Nagios XI. <strong>Nano</strong> is a text editor that will be used to make the script.</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>cd /usr/local/nagios/libexec
nano check_load_average.sh</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #DCDCAA">cd</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">/usr/local/nagios/libexec</span></span>
<span class="line"><span style="color: #DCDCAA">nano</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">check_load_average.sh</span></span></code></pre></div>



<p class="wp-block-paragraph">Now that you are in nano, you can start writing your script. The script below takes in the threshold arguments passed in through the command and sets the variables to those values. Then it compares the load value with the threshold values (critical and warning) and returns a message based on how it compared to the thresholds.</p>



<p class="wp-block-paragraph">You can find the following code here: <a href="https://github.com/NagiosEnterprises/plugins-extra/tree/check_load_average" target="_blank" rel="noopener">https://github.com/NagiosEnterprises/plugins-extra/tree/check_load_average</a>.</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>#!/bin/bash

# Variables
LOAD_AVG=""
WARN=""
CRIT=""


# Parse arguments
while getopts "w:c:" arg; do
  case $arg in
    w) WARN=${OPTARG} ;;
    c) CRIT=${OPTARG} ;;
  esac
done


# Validate args
if [&#91;-z "$WARN" || -z "$CRIT" &#93;]; then
  echo "UNKNOWN - Invalid arguments. USAGE: $0 -w &lt;warning_threshold> -c &lt;critical_threshold>"
  echo "w: $WARN c: $CRIT"
  exit 3
fi


# Set load average variable
LOAD_AVG=$(uptime | awk -F 'load average: ' '{print $2}' | cut -d',' -f1)


# Compare with thresholds | give computer readable info for performance graphs
if (( $(echo "$LOAD_AVG > $CRIT" | bc -l) )); then
  echo "CRITICAL - Load Average is $LOAD_AVG in the last minute (threshold: $CRIT) | loadaverage=$LOAD_AVG"
  exit 2
elif (( $(echo "$LOAD_AVG > $WARN" | bc -l) )); then
  echo "WARNING - Load Average is $LOAD_AVG in the last minute (threshold: $WARN) | loadaverage=$LOAD_AVG"
  exit 1
else
  echo "OK - Load Average is $LOAD_AVG in the last minute | loadaverage=$LOAD_AVG"
  exit 0
fi
</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #6A9955">#!/bin/bash</span></span>
<span class="line"></span>
<span class="line"><span style="color: #6A9955"># Variables</span></span>
<span class="line"><span style="color: #9CDCFE">LOAD_AVG</span><span style="color: #D4D4D4">=</span><span style="color: #CE9178">&quot;&quot;</span></span>
<span class="line"><span style="color: #9CDCFE">WARN</span><span style="color: #D4D4D4">=</span><span style="color: #CE9178">&quot;&quot;</span></span>
<span class="line"><span style="color: #9CDCFE">CRIT</span><span style="color: #D4D4D4">=</span><span style="color: #CE9178">&quot;&quot;</span></span>
<span class="line"></span>
<span class="line"></span>
<span class="line"><span style="color: #6A9955"># Parse arguments</span></span>
<span class="line"><span style="color: #C586C0">while</span><span style="color: #D4D4D4"> </span><span style="color: #DCDCAA">getopts</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">&quot;w:c:&quot;</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">arg</span><span style="color: #D4D4D4">; </span><span style="color: #C586C0">do</span></span>
<span class="line"><span style="color: #D4D4D4">  </span><span style="color: #C586C0">case</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">$arg</span><span style="color: #D4D4D4"> </span><span style="color: #C586C0">in</span></span>
<span class="line"><span style="color: #D4D4D4">    w) WARN=${</span><span style="color: #9CDCFE">OPTARG</span><span style="color: #D4D4D4">} ;;</span></span>
<span class="line"><span style="color: #D4D4D4">    c) CRIT=${</span><span style="color: #9CDCFE">OPTARG</span><span style="color: #D4D4D4">} ;;</span></span>
<span class="line"><span style="color: #D4D4D4">  </span><span style="color: #C586C0">esac</span></span>
<span class="line"><span style="color: #C586C0">done</span></span>
<span class="line"></span>
<span class="line"></span>
<span class="line"><span style="color: #6A9955"># Validate args</span></span>
<span class="line"><span style="color: #C586C0">if</span><span style="color: #D4D4D4"> [&#91;-z </span><span style="color: #CE9178">&quot;</span><span style="color: #9CDCFE">$WARN</span><span style="color: #CE9178">&quot;</span><span style="color: #D4D4D4"> || -z </span><span style="color: #CE9178">&quot;</span><span style="color: #9CDCFE">$CRIT</span><span style="color: #CE9178">&quot;</span><span style="color: #D4D4D4"> &#93;]; </span><span style="color: #C586C0">then</span></span>
<span class="line"><span style="color: #D4D4D4">  </span><span style="color: #DCDCAA">echo</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">&quot;UNKNOWN - Invalid arguments. USAGE: </span><span style="color: #9CDCFE">$0</span><span style="color: #CE9178"> -w &lt;warning_threshold&gt; -c &lt;critical_threshold&gt;&quot;</span></span>
<span class="line"><span style="color: #D4D4D4">  </span><span style="color: #DCDCAA">echo</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">&quot;w: </span><span style="color: #9CDCFE">$WARN</span><span style="color: #CE9178"> c: </span><span style="color: #9CDCFE">$CRIT</span><span style="color: #CE9178">&quot;</span></span>
<span class="line"><span style="color: #D4D4D4">  </span><span style="color: #DCDCAA">exit</span><span style="color: #D4D4D4"> </span><span style="color: #B5CEA8">3</span></span>
<span class="line"><span style="color: #C586C0">fi</span></span>
<span class="line"></span>
<span class="line"></span>
<span class="line"><span style="color: #6A9955"># Set load average variable</span></span>
<span class="line"><span style="color: #9CDCFE">LOAD_AVG</span><span style="color: #D4D4D4">=</span><span style="color: #CE9178">$(</span><span style="color: #DCDCAA">uptime</span><span style="color: #CE9178"> </span><span style="color: #D4D4D4">|</span><span style="color: #CE9178"> </span><span style="color: #DCDCAA">awk</span><span style="color: #CE9178"> </span><span style="color: #569CD6">-F</span><span style="color: #CE9178"> &#39;load average: &#39; &#39;{print $2}&#39; </span><span style="color: #D4D4D4">|</span><span style="color: #CE9178"> </span><span style="color: #DCDCAA">cut</span><span style="color: #CE9178"> </span><span style="color: #569CD6">-d</span><span style="color: #CE9178">&#39;,&#39; </span><span style="color: #569CD6">-f1</span><span style="color: #CE9178">)</span></span>
<span class="line"></span>
<span class="line"></span>
<span class="line"><span style="color: #6A9955"># Compare with thresholds | give computer readable info for performance graphs</span></span>
<span class="line"><span style="color: #C586C0">if</span><span style="color: #D4D4D4"> (( $(echo &quot;</span><span style="color: #9CDCFE">$LOAD_AVG</span><span style="color: #D4D4D4"> &gt; </span><span style="color: #9CDCFE">$CRIT</span><span style="color: #D4D4D4">&quot; | bc -l) )); </span><span style="color: #C586C0">then</span></span>
<span class="line"><span style="color: #D4D4D4">  </span><span style="color: #DCDCAA">echo</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">&quot;CRITICAL - Load Average is </span><span style="color: #9CDCFE">$LOAD_AVG</span><span style="color: #CE9178"> in the last minute (threshold: </span><span style="color: #9CDCFE">$CRIT</span><span style="color: #CE9178">) | loadaverage=</span><span style="color: #9CDCFE">$LOAD_AVG</span><span style="color: #CE9178">&quot;</span></span>
<span class="line"><span style="color: #D4D4D4">  </span><span style="color: #DCDCAA">exit</span><span style="color: #D4D4D4"> </span><span style="color: #B5CEA8">2</span></span>
<span class="line"><span style="color: #C586C0">elif</span><span style="color: #D4D4D4"> (( $(echo &quot;</span><span style="color: #9CDCFE">$LOAD_AVG</span><span style="color: #D4D4D4"> &gt; </span><span style="color: #9CDCFE">$WARN</span><span style="color: #D4D4D4">&quot; | bc -l) )); </span><span style="color: #C586C0">then</span></span>
<span class="line"><span style="color: #D4D4D4">  </span><span style="color: #DCDCAA">echo</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">&quot;WARNING - Load Average is </span><span style="color: #9CDCFE">$LOAD_AVG</span><span style="color: #CE9178"> in the last minute (threshold: </span><span style="color: #9CDCFE">$WARN</span><span style="color: #CE9178">) | loadaverage=</span><span style="color: #9CDCFE">$LOAD_AVG</span><span style="color: #CE9178">&quot;</span></span>
<span class="line"><span style="color: #D4D4D4">  </span><span style="color: #DCDCAA">exit</span><span style="color: #D4D4D4"> </span><span style="color: #B5CEA8">1</span></span>
<span class="line"><span style="color: #C586C0">else</span></span>
<span class="line"><span style="color: #D4D4D4">  </span><span style="color: #DCDCAA">echo</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">&quot;OK - Load Average is </span><span style="color: #9CDCFE">$LOAD_AVG</span><span style="color: #CE9178"> in the last minute | loadaverage=</span><span style="color: #9CDCFE">$LOAD_AVG</span><span style="color: #CE9178">&quot;</span></span>
<span class="line"><span style="color: #D4D4D4">  </span><span style="color: #DCDCAA">exit</span><span style="color: #D4D4D4"> </span><span style="color: #B5CEA8">0</span></span>
<span class="line"><span style="color: #C586C0">fi</span></span>
<span class="line"></span></code></pre></div>



<p class="wp-block-paragraph">To close nano, use the keys <code>^X</code>, <code>y</code>, then <code>[Enter]</code></p>



<p class="wp-block-paragraph">When you first close the script, you will not have permission to execute it. To get permission use the following commands:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>chmod +x /usr/local/nagios/libexec/check_load_average.sh</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #DCDCAA">chmod</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">+x</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">/usr/local/nagios/libexec/check_load_average.sh</span></span></code></pre></div>



<p class="wp-block-paragraph">To make sure the script is working properly, type in this command and substitute the parameters:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>./check_load_average.sh -w &lt;warning_threshold> -c &lt;critical_threshold></textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #DCDCAA">./check_load_average.sh</span><span style="color: #D4D4D4"> </span><span style="color: #569CD6">-w</span><span style="color: #D4D4D4"> &lt;</span><span style="color: #CE9178">warning_threshol</span><span style="color: #D4D4D4">d&gt; </span><span style="color: #569CD6">-c</span><span style="color: #D4D4D4"> &lt;</span><span style="color: #CE9178">critical_threshol</span><span style="color: #D4D4D4">d&gt;</span></span></code></pre></div>



<p class="wp-block-paragraph">The output could be one of four options. It would appear like this:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly># An Unknown Response 
UNKNOWN - Invalid arguments. USAGE: $0 -w &lt;warning_threshold> -c &lt;critical_threshold>

# A Critical Response
CRITICAL - Load Average is 1.26 in the last minute (threshold: .04) | loadaverage=1.26

# A Warning Response
WARNING - Load Average is 0.83 in the last minute (threshold: .3) | loadaverage=0.83

# An OK Response
OK - Load Average is 2.21 in the last minute | loadaverage=2.21
</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #6A9955"># An Unknown Response </span></span>
<span class="line"><span style="color: #DCDCAA">UNKNOWN</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">-</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">Invalid</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">arguments.</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">USAGE:</span><span style="color: #D4D4D4"> </span><span style="color: #9CDCFE">$0</span><span style="color: #D4D4D4"> </span><span style="color: #569CD6">-w</span><span style="color: #D4D4D4"> &lt;</span><span style="color: #CE9178">warning_threshol</span><span style="color: #D4D4D4">d&gt; </span><span style="color: #569CD6">-c</span><span style="color: #D4D4D4"> &lt;</span><span style="color: #CE9178">critical_threshol</span><span style="color: #D4D4D4">d&gt;</span></span>
<span class="line"></span>
<span class="line"><span style="color: #6A9955"># A Critical Response</span></span>
<span class="line"><span style="color: #DCDCAA">CRITICAL</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">-</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">Load</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">Average</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">is</span><span style="color: #D4D4D4"> </span><span style="color: #B5CEA8">1.26</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">in</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">the</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">last</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">minute</span><span style="color: #D4D4D4"> (threshold: </span><span style="color: #CE9178">.04</span><span style="color: #D4D4D4">) | </span><span style="color: #9CDCFE">loadaverage</span><span style="color: #D4D4D4">=</span><span style="color: #B5CEA8">1.26</span></span>
<span class="line"></span>
<span class="line"><span style="color: #6A9955"># A Warning Response</span></span>
<span class="line"><span style="color: #DCDCAA">WARNING</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">-</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">Load</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">Average</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">is</span><span style="color: #D4D4D4"> </span><span style="color: #B5CEA8">0.83</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">in</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">the</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">last</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">minute</span><span style="color: #D4D4D4"> (threshold: </span><span style="color: #CE9178">.3</span><span style="color: #D4D4D4">) | </span><span style="color: #9CDCFE">loadaverage</span><span style="color: #D4D4D4">=</span><span style="color: #B5CEA8">0.83</span></span>
<span class="line"></span>
<span class="line"><span style="color: #6A9955"># An OK Response</span></span>
<span class="line"><span style="color: #DCDCAA">OK</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">-</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">Load</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">Average</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">is</span><span style="color: #D4D4D4"> </span><span style="color: #B5CEA8">2.21</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">in</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">the</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">last</span><span style="color: #D4D4D4"> </span><span style="color: #CE9178">minute</span><span style="color: #D4D4D4"> | </span><span style="color: #9CDCFE">loadaverage</span><span style="color: #D4D4D4">=</span><span style="color: #B5CEA8">2.21</span></span>
<span class="line"></span></code></pre></div>



<h2 class="wp-block-heading">Step 2: Setting up a Command in Nagios XI</h2>



<p class="wp-block-paragraph">Now that the script is running in the host, the next step is to add it as a command. To do that, go to <strong>Core Configuration Manager</strong> and go to <strong>Commands</strong>.</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/01/Screenshot-2025-01-16-162940-2.png"><img loading="lazy" decoding="async" width="1024" height="402" src="https://library.nagios.com/wp-content/uploads/2025/01/Screenshot-2025-01-16-162940-2-1024x402.png" alt="Navigating to Commands" class="wp-image-41250" title="Guide to Writing Custom Plugins in Nagios XI 43" srcset="https://library.nagios.com/wp-content/uploads/2025/01/Screenshot-2025-01-16-162940-2-1024x402.png 1024w, https://library.nagios.com/wp-content/uploads/2025/01/Screenshot-2025-01-16-162940-2-300x118.png 300w, https://library.nagios.com/wp-content/uploads/2025/01/Screenshot-2025-01-16-162940-2-768x301.png 768w, https://library.nagios.com/wp-content/uploads/2025/01/Screenshot-2025-01-16-162940-2-1536x603.png 1536w, https://library.nagios.com/wp-content/uploads/2025/01/Screenshot-2025-01-16-162940-2.png 1917w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Navigating to Commands</figcaption></figure>



<p class="wp-block-paragraph">At the top of the <strong>Commands</strong> page is button, select <strong>+ Add New</strong>.</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/01/image.png"><img loading="lazy" decoding="async" width="1024" height="665" src="https://library.nagios.com/wp-content/uploads/2025/01/image-1024x665.png" alt="Adding a new Command" class="wp-image-41254" title="Guide to Writing Custom Plugins in Nagios XI 44" srcset="https://library.nagios.com/wp-content/uploads/2025/01/image-1024x665.png 1024w, https://library.nagios.com/wp-content/uploads/2025/01/image-300x195.png 300w, https://library.nagios.com/wp-content/uploads/2025/01/image-768x499.png 768w, https://library.nagios.com/wp-content/uploads/2025/01/image.png 1371w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Adding a new Command</figcaption></figure>



<p class="wp-block-paragraph">Fill out the fields. It should look like this after.</p>



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2026-03-19-104424.png"><img loading="lazy" decoding="async" width="1024" height="523" data-id="68692" src="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2026-03-19-104424-1024x523.png" alt="Screenshot 2026 03 19 104424" class="wp-image-68692" title="Guide to Writing Custom Plugins in Nagios XI 45" srcset="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2026-03-19-104424-1024x523.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2026-03-19-104424-300x153.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2026-03-19-104424-768x393.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2026-03-19-104424.png 1203w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Nagios XI Command Settings</figcaption></figure>
</figure>



<p class="wp-block-paragraph">Select <strong>Save</strong>. At the top right of the Command page will be a message saying <strong>Apply Configuration</strong>. Go through the apply configuration process.</p>



<figure class="wp-block-image size-full"><a href="https://library.nagios.com/wp-content/uploads/2025/01/Screenshot-2025-01-16-164132.png"><img loading="lazy" decoding="async" width="823" height="328" src="https://library.nagios.com/wp-content/uploads/2025/01/Screenshot-2025-01-16-164132.png" alt="Apply Configuaration" class="wp-image-41263" title="Guide to Writing Custom Plugins in Nagios XI 46" srcset="https://library.nagios.com/wp-content/uploads/2025/01/Screenshot-2025-01-16-164132.png 823w, https://library.nagios.com/wp-content/uploads/2025/01/Screenshot-2025-01-16-164132-300x120.png 300w, https://library.nagios.com/wp-content/uploads/2025/01/Screenshot-2025-01-16-164132-768x306.png 768w" sizes="(max-width: 823px) 100vw, 823px" /></a><figcaption class="wp-element-caption">Apply Configuration</figcaption></figure>



<h2 class="wp-block-heading">Step 3: Setting Up a Service in Nagios XI</h2>



<p class="wp-block-paragraph">On the side bar, go under <strong>Monitoring</strong> and select <strong>Services</strong>. </p>



<p class="wp-block-paragraph">An easy way to get a new service up and running is to copy an existing service and edit it to fit your needs. To do that, go under actions and select copy on any of services. The copied service will be inactive and unapplied. Select the <strong>edit icon</strong> under actions to make the changes to fit the plugin.</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2026-03-17-165105.png"><img loading="lazy" decoding="async" width="1024" height="442" src="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2026-03-17-165105-1024x442.png" alt="Screenshot 2026 03 17 165105" class="wp-image-68662" title="Guide to Writing Custom Plugins in Nagios XI 47" srcset="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2026-03-17-165105-1024x442.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2026-03-17-165105-300x129.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2026-03-17-165105-768x331.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2026-03-17-165105-1536x663.png 1536w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2026-03-17-165105.png 1916w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Copying an existing service</figcaption></figure>



<p class="wp-block-paragraph">Change the <strong>Config Name</strong> and other fields to whatever values you want. Make sure to select <strong>Active</strong> on the bottom left. The other settings tabs can also be changed to fit specific needs.</p>



<p class="wp-block-paragraph">At the bottom right of the <strong>Common Settings</strong> tab, is a <strong>Run Check Command</strong> button. This can be used to test if the command works as expected before saving the changes.</p>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2026-03-19-104643.png"><img loading="lazy" decoding="async" width="1024" height="727" src="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2026-03-19-104643-1024x727.png" alt="Screenshot 2026 03 19 104643" class="wp-image-68694" title="Guide to Writing Custom Plugins in Nagios XI 48" srcset="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2026-03-19-104643-1024x727.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2026-03-19-104643-300x213.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2026-03-19-104643-768x546.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2026-03-19-104643.png 1160w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Service Management Settings</figcaption></figure>



<p class="wp-block-paragraph">When the settings are all complete, select <strong>Save</strong>. A message will appear on the top of the service page saying that changes were made, and you need to <strong>Apply Configuration</strong>. Follow that process the same as you did with Commands.</p>



<h2 class="wp-block-heading">Where to Find More Service Settings</h2>



<p class="wp-block-paragraph">On the Home page under <strong>Details</strong>, select <strong>Service Status</strong>. This will bring up all the services that are being used. </p>



<figure class="wp-block-image size-full"><a href="https://library.nagios.com/wp-content/uploads/2025/01/Screenshot-2025-01-21-140726.png"><img loading="lazy" decoding="async" width="582" height="480" src="https://library.nagios.com/wp-content/uploads/2025/01/Screenshot-2025-01-21-140726.png" alt="Navigation to More Service Options" class="wp-image-41332" title="Guide to Writing Custom Plugins in Nagios XI 49" srcset="https://library.nagios.com/wp-content/uploads/2025/01/Screenshot-2025-01-21-140726.png 582w, https://library.nagios.com/wp-content/uploads/2025/01/Screenshot-2025-01-21-140726-300x247.png 300w" sizes="(max-width: 582px) 100vw, 582px" /></a><figcaption class="wp-element-caption">Service Details Navigation</figcaption></figure>



<figure class="wp-block-image size-large"><a href="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2026-03-19-105629.png"><img loading="lazy" decoding="async" width="1024" height="594" src="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2026-03-19-105629-1024x594.png" alt="Screenshot 2026 03 19 105629" class="wp-image-68700" title="Guide to Writing Custom Plugins in Nagios XI 50" srcset="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2026-03-19-105629-1024x594.png 1024w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2026-03-19-105629-300x174.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2026-03-19-105629-768x445.png 768w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2026-03-19-105629.png 1193w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Service Status page with New Service</figcaption></figure>



<p class="wp-block-paragraph">Find the New Service you just created and select it. The <strong>Service Status Detail</strong> page will show up with multiple tabs of more settings.</p>



<figure class="wp-block-image size-full"><a href="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2026-03-19-105823.png"><img loading="lazy" decoding="async" width="824" height="538" src="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2026-03-19-105823.png" alt="Screenshot 2026 03 19 105823" class="wp-image-68701" title="Guide to Writing Custom Plugins in Nagios XI 51" srcset="https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2026-03-19-105823.png 824w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2026-03-19-105823-300x196.png 300w, https://library.nagios.com/wp-content/uploads/2025/02/Screenshot-2026-03-19-105823-768x501.png 768w" sizes="(max-width: 824px) 100vw, 824px" /></a><figcaption class="wp-element-caption">Service Status Details Page</figcaption></figure>



<p class="wp-block-paragraph">Now you have the steps to make your own Nagios Plugin.</p>



<h2 class="wp-block-heading">For More Help</h2>



<p class="wp-block-paragraph">For any support related questions please visit the&nbsp;<a href="http://support.nagios.com/forum/" target="_blank" rel="noreferrer noopener">Nagios Support Forums</a>&nbsp;at:</p>



<p class="wp-block-paragraph"><a href="http://support.nagios.com/forum/" target="_blank" rel="noreferrer noopener">http://support.nagios.com/forum/</a>,</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
