<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>
	Comments on: How to Enable Raspberry PI SNMP Monitoring (Computer Boards)	</title>
	<atom:link href="https://peppe8o.com/how-to-enable-raspberry-pi-snmp-monitoring-computer-boards/feed/" rel="self" type="application/rss+xml" />
	<link>https://peppe8o.com/how-to-enable-raspberry-pi-snmp-monitoring-computer-boards/</link>
	<description>Raspberry PI, Arduino and Electronics made simple</description>
	<lastBuildDate>Tue, 17 Sep 2024 17:54:27 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>
		By: peppe8o		</title>
		<link>https://peppe8o.com/how-to-enable-raspberry-pi-snmp-monitoring-computer-boards/#comment-35179</link>

		<dc:creator><![CDATA[peppe8o]]></dc:creator>
		<pubDate>Tue, 17 Sep 2024 17:54:27 +0000</pubDate>
		<guid isPermaLink="false">https://peppe8o.com/?p=10262#comment-35179</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://peppe8o.com/how-to-enable-raspberry-pi-snmp-monitoring-computer-boards/#comment-34748&quot;&gt;HJ_SK&lt;/a&gt;.

Hi,
thank you for giving me this feedback. It seems that it is a new, common issue to many Linux distributions. Looking forward to find a solution.
Anyway, this problem seems to me to be only affecting thwarnings in your jornalctl but the snmp are answering correctly. Do you experience any problems?

If you discover anything about the issue, please notify me here.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://peppe8o.com/how-to-enable-raspberry-pi-snmp-monitoring-computer-boards/#comment-34748">HJ_SK</a>.</p>
<p>Hi,<br />
thank you for giving me this feedback. It seems that it is a new, common issue to many Linux distributions. Looking forward to find a solution.<br />
Anyway, this problem seems to me to be only affecting thwarnings in your jornalctl but the snmp are answering correctly. Do you experience any problems?</p>
<p>If you discover anything about the issue, please notify me here.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: HJ_SK		</title>
		<link>https://peppe8o.com/how-to-enable-raspberry-pi-snmp-monitoring-computer-boards/#comment-34748</link>

		<dc:creator><![CDATA[HJ_SK]]></dc:creator>
		<pubDate>Fri, 13 Sep 2024 09:47:36 +0000</pubDate>
		<guid isPermaLink="false">https://peppe8o.com/?p=10262#comment-34748</guid>

					<description><![CDATA[Thx for a helpfull guide!
I walk into a problem :
Sep 13 10:52:14 RPi4Bookworm snmpd[1390]: systemstats_linux: unexpected header length in /proc/net/snmp. 237 != 224
Sep 13 10:52:14 RPi4Bookworm snmpd[1390]: systemstats_linux: unexpected header length in /proc/net/snmp. 237 != 224
Sep 13 10:52:14 RPi4Bookworm snmpd[1390]: systemstats_linux: unexpected header length in /proc/net/snmp. 237 != 224
Sep 13 10:52:14 RPi4Bookworm systemd[1]: Started snmpd.service - Simple Network Management Protocol (SNMP) Daemon..
Sep 13 10:53:32 RPi4Bookworm snmpd[1390]: systemstats_linux: unexpected header length in /proc/net/snmp. 237 != 224
Sep 13 10:54:32 RPi4Bookworm snmpd[1390]: systemstats_linux: unexpected header length in /proc/net/snmp. 237 != 224
Sep 13 10:55:32 RPi4Bookworm snmpd[1390]: systemstats_linux: unexpected header length in /proc/net/snmp. 237 != 224
Sep 13 10:56:32 RPi4Bookworm snmpd[1390]: systemstats_linux: unexpected header length in /proc/net/snmp. 237 != 224
Sep 13 10:57:32 RPi4Bookworm snmpd[1390]: systemstats_linux: unexpected header length in /proc/net/snmp. 237 != 224
It seems to depends on newer versions of linux : &lt;code&gt;https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1069087&lt;/code&gt;
I have no idea how to resolve / use this link, can&#039;t find any info for that. 
I&#039;m using Raspberry pi 4/4Gb with bookworm.  
So I think it&#039;s also good to pick it up in your article.
Thx in advantage!]]></description>
			<content:encoded><![CDATA[<p>Thx for a helpfull guide!<br />
I walk into a problem :<br />
Sep 13 10:52:14 RPi4Bookworm snmpd[1390]: systemstats_linux: unexpected header length in /proc/net/snmp. 237 != 224<br />
Sep 13 10:52:14 RPi4Bookworm snmpd[1390]: systemstats_linux: unexpected header length in /proc/net/snmp. 237 != 224<br />
Sep 13 10:52:14 RPi4Bookworm snmpd[1390]: systemstats_linux: unexpected header length in /proc/net/snmp. 237 != 224<br />
Sep 13 10:52:14 RPi4Bookworm systemd[1]: Started snmpd.service &#8211; Simple Network Management Protocol (SNMP) Daemon..<br />
Sep 13 10:53:32 RPi4Bookworm snmpd[1390]: systemstats_linux: unexpected header length in /proc/net/snmp. 237 != 224<br />
Sep 13 10:54:32 RPi4Bookworm snmpd[1390]: systemstats_linux: unexpected header length in /proc/net/snmp. 237 != 224<br />
Sep 13 10:55:32 RPi4Bookworm snmpd[1390]: systemstats_linux: unexpected header length in /proc/net/snmp. 237 != 224<br />
Sep 13 10:56:32 RPi4Bookworm snmpd[1390]: systemstats_linux: unexpected header length in /proc/net/snmp. 237 != 224<br />
Sep 13 10:57:32 RPi4Bookworm snmpd[1390]: systemstats_linux: unexpected header length in /proc/net/snmp. 237 != 224<br />
It seems to depends on newer versions of linux : <code>https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1069087</code><br />
I have no idea how to resolve / use this link, can&#8217;t find any info for that.<br />
I&#8217;m using Raspberry pi 4/4Gb with bookworm.<br />
So I think it&#8217;s also good to pick it up in your article.<br />
Thx in advantage!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: peppe8o		</title>
		<link>https://peppe8o.com/how-to-enable-raspberry-pi-snmp-monitoring-computer-boards/#comment-27780</link>

		<dc:creator><![CDATA[peppe8o]]></dc:creator>
		<pubDate>Thu, 18 Apr 2024 18:31:12 +0000</pubDate>
		<guid isPermaLink="false">https://peppe8o.com/?p=10262#comment-27780</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://peppe8o.com/how-to-enable-raspberry-pi-snmp-monitoring-computer-boards/#comment-27773&quot;&gt;mprosto&lt;/a&gt;.

I&#039;ve not tested the pysnmp. Anyway, usually this kind of error raises in Python when you install the module with pip3 as a user (for example the &quot;pi&quot; user, without sudo) and try to run the python script from a different user 8for example the root.

Long story short, issuing a &quot;sudo pip3 install pysnmp&quot; will probably help to let your script finding the pysnmp module.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://peppe8o.com/how-to-enable-raspberry-pi-snmp-monitoring-computer-boards/#comment-27773">mprosto</a>.</p>
<p>I&#8217;ve not tested the pysnmp. Anyway, usually this kind of error raises in Python when you install the module with pip3 as a user (for example the &#8220;pi&#8221; user, without sudo) and try to run the python script from a different user 8for example the root.</p>
<p>Long story short, issuing a &#8220;sudo pip3 install pysnmp&#8221; will probably help to let your script finding the pysnmp module.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: mprosto		</title>
		<link>https://peppe8o.com/how-to-enable-raspberry-pi-snmp-monitoring-computer-boards/#comment-27773</link>

		<dc:creator><![CDATA[mprosto]]></dc:creator>
		<pubDate>Thu, 18 Apr 2024 15:04:26 +0000</pubDate>
		<guid isPermaLink="false">https://peppe8o.com/?p=10262#comment-27773</guid>

					<description><![CDATA[I am trying to run a python script to check the status of the GPIO pins on a Pi4. The script performs fine when I execute the script from from the terminal. However when I try and &quot;pass&quot; and &quot;extend&quot; the script from the snmpd.conf file and perform a walk command I get the following error. I also tried running the python command from a shell script. The shell script runs (with the -g option) but I get the same same result.. &quot;cannot find the pysnmp module&quot; (FYI the pysnmp module is called within the pyton script)
Any thoughts?

--------------------------------------------------

376: enterprises.2021.255.1.2.1.2.7.47.98.105.110.47.115.104 /usr/local/bin/alarms_new.sh
377: enterprises.2021.255.1.2.1.3.7.47.98.105.110.47.115.104 -g
378: enterprises.2021.255.1.2.1.4.7.47.98.105.110.47.115.104 
379: enterprises.2021.255.1.2.1.5.7.47.98.105.110.47.115.104 5
380: enterprises.2021.255.1.2.1.6.7.47.98.105.110.47.115.104 1
381: enterprises.2021.255.1.2.1.7.7.47.98.105.110.47.115.104 1
382: enterprises.2021.255.1.2.1.20.7.47.98.105.110.47.115.104 4
383: enterprises.2021.255.1.2.1.21.7.47.98.105.110.47.115.104 1
384: enterprises.2021.255.1.3.1.1.7.47.98.105.110.47.115.104 .1.3.6.1.4.1.2021.255.1
385: enterprises.2021.255.1.3.1.2.7.47.98.105.110.47.115.104 .1.3.6.1.4.1.2021.255.1 value Traceback (most recent call last): File &quot;/usr/local/bin/alarms_new.py&quot;, line 9, in from pysnmp.hlapi import * ModuleNotFoundError: No module named &#039;pysnmp&#039;
386: enterprises.2021.255.1.3.1.3.7.47.98.105.110.47.115.104 6
387: enterprises.2021.255.1.3.1.4.7.47.98.105.110.47.115.104 0
388: enterprises.2021.255.1.4.1.2.7.47.98.105.110.47.115.104.1 .1.3.6.1.4.1.2021.255.1
389: enterprises.2021.255.1.4.1.2.7.47.98.105.110.47.115.104.2 value
390: enterprises.2021.255.1.4.1.2.7.47.98.105.110.47.115.104.3 Traceback (most recent call last):
391: enterprises.2021.255.1.4.1.2.7.47.98.105.110.47.115.104.4 File &quot;/usr/local/bin/alarms_new.py&quot;, line 9, in 
392: enterprises.2021.255.1.4.1.2.7.47.98.105.110.47.115.104.5 from pysnmp.hlapi import *
393: enterprises.2021.255.1.4.1.2.7.47.98.105.110.47.115.104.6 ModuleNotFoundError: No module named &#039;pysnmp&#039;]]></description>
			<content:encoded><![CDATA[<p>I am trying to run a python script to check the status of the GPIO pins on a Pi4. The script performs fine when I execute the script from from the terminal. However when I try and &#8220;pass&#8221; and &#8220;extend&#8221; the script from the snmpd.conf file and perform a walk command I get the following error. I also tried running the python command from a shell script. The shell script runs (with the -g option) but I get the same same result.. &#8220;cannot find the pysnmp module&#8221; (FYI the pysnmp module is called within the pyton script)<br />
Any thoughts?</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>376: enterprises.2021.255.1.2.1.2.7.47.98.105.110.47.115.104 /usr/local/bin/alarms_new.sh<br />
377: enterprises.2021.255.1.2.1.3.7.47.98.105.110.47.115.104 -g<br />
378: enterprises.2021.255.1.2.1.4.7.47.98.105.110.47.115.104<br />
379: enterprises.2021.255.1.2.1.5.7.47.98.105.110.47.115.104 5<br />
380: enterprises.2021.255.1.2.1.6.7.47.98.105.110.47.115.104 1<br />
381: enterprises.2021.255.1.2.1.7.7.47.98.105.110.47.115.104 1<br />
382: enterprises.2021.255.1.2.1.20.7.47.98.105.110.47.115.104 4<br />
383: enterprises.2021.255.1.2.1.21.7.47.98.105.110.47.115.104 1<br />
384: enterprises.2021.255.1.3.1.1.7.47.98.105.110.47.115.104 .1.3.6.1.4.1.2021.255.1<br />
385: enterprises.2021.255.1.3.1.2.7.47.98.105.110.47.115.104 .1.3.6.1.4.1.2021.255.1 value Traceback (most recent call last): File &#8220;/usr/local/bin/alarms_new.py&#8221;, line 9, in from pysnmp.hlapi import * ModuleNotFoundError: No module named &#8216;pysnmp&#8217;<br />
386: enterprises.2021.255.1.3.1.3.7.47.98.105.110.47.115.104 6<br />
387: enterprises.2021.255.1.3.1.4.7.47.98.105.110.47.115.104 0<br />
388: enterprises.2021.255.1.4.1.2.7.47.98.105.110.47.115.104.1 .1.3.6.1.4.1.2021.255.1<br />
389: enterprises.2021.255.1.4.1.2.7.47.98.105.110.47.115.104.2 value<br />
390: enterprises.2021.255.1.4.1.2.7.47.98.105.110.47.115.104.3 Traceback (most recent call last):<br />
391: enterprises.2021.255.1.4.1.2.7.47.98.105.110.47.115.104.4 File &#8220;/usr/local/bin/alarms_new.py&#8221;, line 9, in<br />
392: enterprises.2021.255.1.4.1.2.7.47.98.105.110.47.115.104.5 from pysnmp.hlapi import *<br />
393: enterprises.2021.255.1.4.1.2.7.47.98.105.110.47.115.104.6 ModuleNotFoundError: No module named &#8216;pysnmp&#8217;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: peppe8o		</title>
		<link>https://peppe8o.com/how-to-enable-raspberry-pi-snmp-monitoring-computer-boards/#comment-26303</link>

		<dc:creator><![CDATA[peppe8o]]></dc:creator>
		<pubDate>Mon, 11 Mar 2024 06:50:43 +0000</pubDate>
		<guid isPermaLink="false">https://peppe8o.com/?p=10262#comment-26303</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://peppe8o.com/how-to-enable-raspberry-pi-snmp-monitoring-computer-boards/#comment-26301&quot;&gt;Theunis Mulder&lt;/a&gt;.

Hi Theunis,
I suppose you don&#039;t want just to show alarms based on internal Raspberry PI state, otherwise you can use my Python script and implement a custom function which enables a LED and activates a passive buzzer (&lt;a href=&quot;https://peppe8o.com/use-passive-buzzer-with-raspberry-pi-and-python/&quot; rel=&quot;ugc&quot;&gt;&lt;/a&gt;) or an active buzzer (&lt;a href=&quot;https://peppe8o.com/use-active-buzzer-with-raspberry-pi-and-python/&quot; rel=&quot;ugc&quot;&gt;&lt;/a&gt;) instead of simply printing the temperature.
If you need to activate the warnings based on external device states, your Raspberry PI must reach their state. If your NMS has APIs, you can try developing a Python code to read these APIs and activates the warnings based on that. Another option is running the SNMP walk to remote devices from your Python program and activate the warnings based on retrieved values. I hope this helps you in getting your project started]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://peppe8o.com/how-to-enable-raspberry-pi-snmp-monitoring-computer-boards/#comment-26301">Theunis Mulder</a>.</p>
<p>Hi Theunis,<br />
I suppose you don&#8217;t want just to show alarms based on internal Raspberry PI state, otherwise you can use my Python script and implement a custom function which enables a LED and activates a passive buzzer (<a href="https://peppe8o.com/use-passive-buzzer-with-raspberry-pi-and-python/" rel="ugc"></a>) or an active buzzer (<a href="https://peppe8o.com/use-active-buzzer-with-raspberry-pi-and-python/" rel="ugc"></a>) instead of simply printing the temperature.<br />
If you need to activate the warnings based on external device states, your Raspberry PI must reach their state. If your NMS has APIs, you can try developing a Python code to read these APIs and activates the warnings based on that. Another option is running the SNMP walk to remote devices from your Python program and activate the warnings based on retrieved values. I hope this helps you in getting your project started</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Theunis Mulder		</title>
		<link>https://peppe8o.com/how-to-enable-raspberry-pi-snmp-monitoring-computer-boards/#comment-26301</link>

		<dc:creator><![CDATA[Theunis Mulder]]></dc:creator>
		<pubDate>Mon, 11 Mar 2024 06:00:11 +0000</pubDate>
		<guid isPermaLink="false">https://peppe8o.com/?p=10262#comment-26301</guid>

					<description><![CDATA[Good day Thanks for sharing this project. We have a NMS system but i need a basic alarm system to warn staff of an alarm on NMS system via a buzzer and a security alarm light that there is an alarm and they have to attend to it. Is there a way that you can use a raspberry PI via GPIO and a relay board to provide this. That is when the raspberry PI receive the trigger to create an alarm. 
Can you possibly guide me on how to setup this project.]]></description>
			<content:encoded><![CDATA[<p>Good day Thanks for sharing this project. We have a NMS system but i need a basic alarm system to warn staff of an alarm on NMS system via a buzzer and a security alarm light that there is an alarm and they have to attend to it. Is there a way that you can use a raspberry PI via GPIO and a relay board to provide this. That is when the raspberry PI receive the trigger to create an alarm.<br />
Can you possibly guide me on how to setup this project.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
