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.

[UnRAID 6.3.5] How to get SNMP data from another device

Featured Replies

I'm working on getting monitoring setup with a nice Grafana dashboard.

 

I've been able to use Telegraf to moniter my server and gaming rig, which pushes it to Influxdb then to Grafana.  However, my firewall (PFSense SG-1000) has no telegraf plugin (yet, though the one they are working on isn't compatible with the SG-1000) so the only thing I can use is SNMP.

 

I can't figure out how to get my server to grab that data.  I believe I need to send it to Influxdb so I can pull it into Grafana, but I don't know how to send it there.  Every guide I can find either skips over that part or doesn't work with it since this is a docker and not directly installed.

 

Can anyone help me out with this?  I get the feeling from the guides that this should be easy, but obviously I'm missing something.

I have a shell script running on my router that runs each minute with a cron job writing to my influx DB.  You could look into doing this.  Here is the topic with some example scripts: 

 

 

 

  • Author
1 hour ago, RAINMAN said:

I have a shell script running on my router that runs each minute with a cron job writing to my influx DB.  You could look into doing this.  Here is the topic with some example scripts: 

 

 

I did see that and wanted to use some of those, but I don't see how to use those either.  He includes instructions that I'm guessing you run from the command line.  Is there no Cron GUI?

 

It sounds like I need to save the scripts on my server(?) somewhere and schedule cron to run them.  That's my guess at least, but I saw something else that said to run the script on the device you are monitoring.

Edited by lordbob75

12 minutes ago, lordbob75 said:

 

I did see that and wanted to use some of those, but I don't see how to use those either.  He includes instructions that I'm guessing you run from the command line.  Is there no Cron GUI?

 

It sounds like I need to save the scripts on my server(?) somewhere and schedule cron to run them.  That's my guess at least, but I saw something else that said to run the script on the device you are monitoring.

Use the user.scripts plugin.  (If the scripts are capable of being run on your server)

  • Author
2 minutes ago, Squid said:

Use the user.scripts plugin.  (If the scripts are capable of being run on your server)

Aha, that's handy!  Thanks much, I'll give that a shot.

  • Author

Well I got two of those scripts working and can monitor my UPS now.

 

I haven't found a script for SNMP though, is there one I missed?  I haven't really found anything about using scripts for that.

I'd prefer to get it into Influxdb anyways if possible.

a bit complicated but if you can SSH to the device you can setup and run the scripts directly from the device.  On my DDWRT router I am running them directly and pushing the data to influx.  You should be able to query SNMP data also I would think but I havent looked into this.

  • 3 years later...

Old thread, but maybe someone else will stumble across it in the future. I was looking at how to do this myself, and also struggled to find an exact guide. So, I put one together myself on my self-hosted blog. Hope it helps someone!

Archived

This topic is now archived and is closed to further replies.

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.