Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Plug-In] SNMP

Featured Replies

15 minutes ago, sirgerritlad said:

did not want to restart the server

The reason I suggested this was that the error message said the /boot mount point can only be found. That's the USB drive that Unraid boots off of but does not actually operate off of. I suspect there was some issue where the boot device got disconnected or unplugged or something. The SNMP plugin uses the statistics from the /boot device to make sure everything is working OK.

 

Anyway, glad to hear it's working!

  • 1 month later...
  • Replies 391
  • Views 137.4k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • kubed_zero
    kubed_zero

    Created a pull request for the Coppit package on GitHub https://github.com/coppit/unraid-snmp/pull/6 but it doesn't seem like they've been active since August 2018 on here or on GitHub.   Wi

  • kubed_zero
    kubed_zero

    That is an Unraid-specific executable as far as I'm aware, so I think trying to get it showing up there would be a dead end. On the other hand, you don't actually need mdcmd to get disk temp. Tha

  • Thanks a bunch, kubed_zero! I ended up modifying that disk_temps.sh script to also include the drives that were missing before and pointed SNMP to that modified copy.    Man, if only there w

Posted Images

Hy

The plugin is incompatibile and can no longer be installed:

 

grafik.thumb.png.cbb7ff4dfa64d04d5eee07070e8725f1.png

 

Is there a new solution?

 

8 minutes ago, Toby-ch said:

incompatibile and can no longer be installed:

 

 

See my response from a while back. Alternatively, feel free to add a pull request that adds switching logic and support for both versions of Unraid. The open-vm-tools plugin could provide a template for how to do this. 

On 11/23/2024 at 3:01 PM, kubed_zero said:

Edited by kubed_zero
clarity

  • 2 weeks later...

Hello, I installed the plugin (version https://raw.githubusercontent.com/kubedzero/unraid-snmp/refs/heads/main/snmp.plg for Unraid 7), it runs for a while and then it is quiet. no more data is transferred and I have to go to the settings, save again and then it runs again for a while.
What could be the reason for this?

Sorry for my bad english :( 

Edited by Roddi

On 1/13/2025 at 4:17 AM, Roddi said:

Hello, I installed the plugin (version https://raw.githubusercontent.com/kubedzero/unraid-snmp/refs/heads/main/snmp.plg for Unraid 7), it runs for a while and then it is quiet. no more data is transferred and I have to go to the settings, save again and then it runs again for a while.
What could be the reason for this?

Sorry for my bad english :( 

I haven't seen this behavior before so I'm not sure what could be causing it. I suspect it's some other plugin/docker/script on your server but I can't say for sure.

To eliminate SNMP itself as the cause, you should uninstall the plugin, reboot, and reinstall it. Uninstalling removes all the files and should fully reset its configuration. 

Edited by kubed_zero

12 hours ago, kubed_zero said:

I haven't seen this behavior before so I'm not sure what could be causing it. I suspect it's some other plugin/docker/script on your server but I can't say for sure.

To eliminte SNMP itself as the cause, you should uninstall the plugin, reboot, and reinstall it. Uninstalling removes all the files and should fully reset its configuration. 

Hello, today it was like this again, the server makes a backup at 6 am and after that snmp doesn't work anymore. i have to do the mentioned steps again and then the data arrives again. I will test the suggestion and report if it happens again tomorrow morning.

4 hours ago, Roddi said:

the server makes a backup at 6 am and after that snmp doesn't work anymore

I mean, that sounds to me as if whatever your backup process is is impacting the SNMP plugin. Can you share more about the backup process? What's running, what's backing up, where is it backing up, how is it scheduled, what software, etc. 

Hello, I took a look at how long the snmp plugin has been running today. I installed the plugin this morning after the backup and it ran for exactly 10 hours then the monitoring reported an error and no more data came from the plugin. so I exclude the backups because they had already run through. now I have uninstalled the plugin again and wait a few versions to see if something stable results.
(yes, I had also restarted the unraid to exclude this source of error)

 

36 minutes ago, Roddi said:

Hello, I took a look at how long the snmp plugin has been running today. I installed the plugin this morning after the backup and it ran for exactly 10 hours then the monitoring reported an error and no more data came from the plugin. so I exclude the backups because they had already run through. now I have uninstalled the plugin again and wait a few versions to see if something stable results.
(yes, I had also restarted the unraid to exclude this source of error)

 

There must be something else causing your issue, I have been running 6.13/7 on my dev/test server for a long time SNMP has been running fine, this is the last 12 Months. This is observium which collects via SNMP.

 

17369792252726120769481825942695.png

12 hours ago, SimonF said:

There must be something else causing your issue, I have been running 6.13/7 on my dev/test server for a long time SNMP has been running fine, this is the last 12 Months. This is observium which collects via SNMP.

 

17369792252726120769481825942695.png

That may be that it works, but the statement that it has been working for a year and that it must be something else doesn't get me anywhere. Sorry but I don't even have a clue what the problem might be. Nothing unusual or exotic is running on the server. Only apps from the community store are installed.
The question is, where could you start to identify the error? 

3 hours ago, Roddi said:

That may be that it works, but the statement that it has been working for a year and that it must be something else doesn't get me anywhere. Sorry but I don't even have a clue what the problem might be. Nothing unusual or exotic is running on the server. Only apps from the community store are installed.
The question is, where could you start to identify the error? 

Run `ps -aux | grep snmp` to see if the service is still running. The output I saw was `root        3273  0.0  0.0  22748  7160 ?        S    Jan15   0:19 /usr/sbin/snmpd -A -p /var/run/snmpd -LF 0-5 /var/log/snmpd.log -c /etc/snmp/snmpd.conf`

That clues you in to the next place to look, /var/log/snmpd.log. My log file is empty but maybe yours has a clue

 

You could also check /var/log/syslog to see what's there. The last snmp line I see in mine is "rc.local: plugin: snmp.plg installed"

 

You could also share your Diagnostic file, found under Tools/Diagnostics

5 hours ago, kubed_zero said:

Run `ps -aux | grep snmp` to see if the service is still running. The output I saw was `root        3273  0.0  0.0  22748  7160 ?        S    Jan15   0:19 /usr/sbin/snmpd -A -p /var/run/snmpd -LF 0-5 /var/log/snmpd.log -c /etc/snmp/snmpd.conf`

That clues you in to the next place to look, /var/log/snmpd.log. My log file is empty but maybe yours has a clue

 

You could also check /var/log/syslog to see what's there. The last snmp line I see in mine is "rc.local: plugin: snmp.plg installed"

 

You could also share your Diagnostic file, found under Tools/Diagnostics

 

I will try it again tomorrow with the plugin and will report back.

hello, i tried it this weekend and i think i might have found the problem. i don't use “Observium” for monitoring but “PRTG” and i noticed that whenever i add a sensor through PRTG after a short time no more data comes from the snmp-plugin although it is probably still active. how this is related i can't judge or exactly the problom is because i'm not an expert in the matter, but maybe this is an approach for experts what the reason could be.

 

Edit 1: 

i noticed another thing. if you have a share on a share outside of unraid (in my case a synology ds that is not always on but only to backup the data of the unraid server) then the plugin is still active but does not send any data. only when i switch on the synology and make a change in the settings, it is active again. perhaps such a situation can be taken into account in future versions of the plugin.

 

Edit 2:

it is due to the share that is mounted. 20.00pm the synology is automatically shut down and all displays in the monitoring are red. restart the synology and the displays turn green again after a while. 

Edited by Roddi
Edit 2 added

  • 5 months later...

Has anyone found a method to collect network interface data via this SNMP plugin?? Seems to be the one thing missing, ie have CPU, Disk, Memory, but no network......

On 6/21/2025 at 9:57 PM, kubed_zero said:


You are welcome to write a Bash script that collects network data and submit a pull request if you want to share the work with others. That's how CPU, Memory, Disk data is currently collected https://github.com/kubedzero/unraid-snmp/blob/main/source/usr/local/emhttp/plugins/snmp/cpu_mhz.sh

I am not a programmer by any means, but here is something that I threw together. Feel free to merge this in if you can get it to work with the plugin.

networkinfo.sh

4 minutes ago, irishjd said:

I am not a programmer by any means, but here is something that I threw together. Feel free to merge this in if you can get it to work with the plugin.

networkinfo.sh

@griffinite you could use this without the plugin needing to change at all. Save it to /boot/ and then you can add a line in the SNMP settings on the Settings page such as

extend networking /boot/networkinfo.sh

Long time no see @irishjd thank you for the contribution!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.