It is currently February 19th, 2020, 11:47 am

SNMP Plugin

Share and get help with Plugins and Addons
erwan.l
Posts: 1
Joined: February 11th, 2016, 6:22 pm
Location: France

SNMP Plugin

Post by erwan.l »

snmpPlugin.zip
Hi,

I discovered Rainmeter a week ago and I fell in love :)

I looked for a snmp plugin (for my synology) but could not find one.
So I decided to code it myself (using freepascal).

Here it comes attached. (64 bits).
This is an early version : no error checking, no debug, and seems to freeze rainmeter for a sec if it cannot contact the host.

Example of a measure.

Code: Select all

[MeasureMemory]
Measure=Plugin
Plugin=snmpPlugin
host=192.168.1.248
OID=1.3.6.1.2.1.25.2.3.1.6.1
context=public
;every 30 secs
Updatedivider=30
debug=0
Any suggestion, feedback, criticism ... welcome.

Regards,
Erwan
You do not have the required permissions to view the files attached to this post.
jdk
Posts: 2
Joined: February 24th, 2016, 2:22 am

Re: SNMP Plugin

Post by jdk »

I've been looking for something like this for a while. I'm brand new at rainmeter. Can you give me some more insight on how to use this plugin?
mcpaton
Posts: 27
Joined: March 17th, 2016, 2:18 am

Re: SNMP Plugin

Post by mcpaton »

I have tried to use this, but my meter is always a 0. Can you offer any other information on how to use?
rainmeterzombie
Posts: 1
Joined: March 26th, 2016, 9:11 pm

Re: SNMP Plugin

Post by rainmeterzombie »

Looks like this plugin can currently only handle an Integer -- ie, if the SNMP OID returns a Counter, String or other non-Integer data type, the measure will only return a 0 or maybe 0.0.

This would be an AWESOME plugin if completed and stabilized. I would really like to see an update or open-sourcing of this code block for others to work on.
jdk
Posts: 2
Joined: February 24th, 2016, 2:22 am

Re: SNMP Plugin

Post by jdk »

I wish I could make this work.