Page 1 of 1

SNMP Plugin

Posted: February 11th, 2016, 6:27 pm
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

Re: SNMP Plugin

Posted: February 24th, 2016, 2:24 am
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?

Re: SNMP Plugin

Posted: March 24th, 2016, 9:28 am
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?

Re: SNMP Plugin

Posted: March 26th, 2016, 9:13 pm
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.

Re: SNMP Plugin

Posted: January 8th, 2017, 9:51 pm
by jdk
I wish I could make this work.