<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Snmp on Puppeteers Oy</title>
		<link>https://www.puppeteers.net/tags/snmp/</link>
		<description>Recent content in Snmp on Puppeteers Oy</description>
		<generator>Hugo</generator>
		<language>en-US</language>
		
		
		
		
			<lastBuildDate>Fri, 06 Aug 2021 00:00:00 +0000</lastBuildDate>
		
			<atom:link href="https://www.puppeteers.net/tags/snmp/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Software release: net-snmp-systemd-services-status</title>
				<link>https://www.puppeteers.net/blog/software-release-net-snmp-systemd-services-status/</link>
				<pubDate>Fri, 06 Aug 2021 00:00:00 +0000</pubDate>
				<guid>https://www.puppeteers.net/blog/software-release-net-snmp-systemd-services-status/</guid>
				<description>&lt;p&gt;Puppeteers is proud to release the first version of &lt;a href=&#34;https://github.com/Puppet-Finland/net-snmp-systemd-service-status&#34;&gt;net-snmp-systemd-services-status&lt;/a&gt;. It is a &lt;a href=&#34;https://net-snmp.sourceforge.io/&#34;&gt;net-snmp&lt;/a&gt; pass_persist script written in Python that queries the status of all systemd services on a system, dynamically generating OIDs based on the systemd service names. This gives the services a predictable name. Querying all services on a typical Linux VM takes less than 0.2 seconds. The information is presented to snmpd in a way that both get (snmpget) and getnext (snmpwalk) work.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Extending snmpd with custom scripts</title>
				<link>https://www.puppeteers.net/blog/extending-snmpd-with-custom-scripts/</link>
				<pubDate>Fri, 16 Jul 2021 00:00:00 +0000</pubDate>
				<guid>https://www.puppeteers.net/blog/extending-snmpd-with-custom-scripts/</guid>
				<description>&lt;p&gt;Traditional network monitoring systems tend to get their monitoring data via SNMP. In case of Linux snmpd is usually the system application that&amp;rsquo;s responsible for providing that data. The data consists mostly, but not entirely, of metrics. For example, the data contains strings such as operating system version, administrative contacts and network interface names.&lt;/p&gt;&#xA;&lt;p&gt;It is possible to make snmpd run custom scripts and programs to gather more data from the system. The options are described in &lt;a href=&#34;http://www.net-snmp.org/docs/man/snmpd.conf.html&#34;&gt;snmpd.conf man page&lt;/a&gt;, but here are the most important ones for this use-case:&lt;/p&gt;</description>
			</item>
			<item>
				<title>Using snmpwalk to debug SNMPv3 issues</title>
				<link>https://www.puppeteers.net/blog/using-snmpwalk-to-debug-snmpv3-issues/</link>
				<pubDate>Thu, 14 May 2020 00:00:00 +0000</pubDate>
				<guid>https://www.puppeteers.net/blog/using-snmpwalk-to-debug-snmpv3-issues/</guid>
				<description>&lt;p&gt;Our &lt;a href=&#34;https://github.com/Puppet-Finland/puppet-snmpd&#34;&gt;puppet-snmpd module&lt;/a&gt; support SNMPv3 very well across a wide range of operating systems. Because o that SNMPv3 is what we use across the board in multiple environments. However, in the rare cases when I have to debug SNMP problems I can never remember the exact snmpwalk command-lines to use. So, here is the usual way to run snmpwalk to figure out if SNMP is providing data:&lt;/p&gt;&#xA;&lt;div class=&#34;code-block&#34;&gt;&#xA;    &lt;button class=&#34;code-copy&#34; type=&#34;button&#34; hidden aria-label=&#34;Copy code to clipboard&#34;&gt;&#xA;      &lt;span class=&#34;code-copy-label&#34; aria-hidden=&#34;true&#34;&gt;Copy&lt;/span&gt;&#xA;    &lt;/button&gt;&#xA;    &lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ snmpwalk -Os -v 3 -u monitor -l authPriv -a sha -A &amp;lt;auth-pass&amp;gt; -x AES -X &amp;lt;encryption-pass&amp;gt; hostname&lt;/code&gt;&lt;/pre&gt;&#xA;  &lt;/div&gt;&lt;p&gt;Run from the monitoring server (e.g. &lt;a href=&#34;https://www.librenms.org/&#34;&gt;LibreNMS&lt;/a&gt; configured with &lt;a href=&#34;https://github.com/Puppet-Finland/puppet-librenms/&#34;&gt;puppet-librenms&lt;/a&gt;) to make sure basic connectivity and access controls are correct as well. Or against localhost if you&amp;rsquo;re interested in the data and not connectivity.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
