SpeedFan Script & Templates - [v2.0 - 2009-04-04]
Moderators: Developers, Moderators
Contact Ago, the author and/or try the SFSHMTest.exe he posted.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Re: SpeedFan Script & Templates - [v2.0 - 2009-04-04]
Ok, I have created a fix for the problem with Vista+ which you can download here:
http://deve.loping.net/svn/sfsnmp/trunk ... taller.msi
Note that this is a preview installer, so it might have other problems, but I hope to release it tonight or tomorrow.
This installs a HookLib.dll and Injector.exe into the SpeedFan directory. Use this to start SpeedFan and the shared memory section will be registered globally.
- Axel
http://deve.loping.net/svn/sfsnmp/trunk ... taller.msi
Note that this is a preview installer, so it might have other problems, but I hope to release it tonight or tomorrow.
This installs a HookLib.dll and Injector.exe into the SpeedFan directory. Use this to start SpeedFan and the shared memory section will be registered globally.
- Axel
Bastart Code Repository - http://deve.loping.net
Re: SpeedFan Script & Templates - [v2.0 - 2009-04-04]
1) why is vista (or newer) required?
2) Any idea if there will be a native fix in speedfan itself?
2) Any idea if there will be a native fix in speedfan itself?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Re: SpeedFan Script & Templates - [v2.0 - 2009-04-04]
Vista is not required. I actually compiled and tested this on Windows XP, but the problem fixed is only present from Vista upwards. In Vista service processes got more isolated from the user sessions which meant that shared memory sections created by a user session had to be registered in the global namespace to be visible by services. SpeedFans SHM is read only and does not contain sensitive data, so there is no problem with sharing it globally.BSOD2600 wrote:1) why is vista (or newer) required?
This bug is open in SpeedFans bugtracker for quite some time, and I honestly don't know why this isn't patched yet, it's a very small fix that has no drawbacks as far as I can tell.BSOD2600 wrote:2) Any idea if there will be a native fix in speedfan itself?
Bastart Code Repository - http://deve.loping.net
-
- Posts: 23
- Joined: Mon Jun 15, 2009 1:09 am
Re: SpeedFan Script & Templates - [v2.0 - 2009-04-04]
This template is not woking on my linux cacti machine.
I investigate and when i instal sfsnmp_installer on a windows machine, there is no OID = .1.3.6.1.4.1.16.0.2, .1.3.6.1.4.1.16.0.1, .1.3.6.1.4.1.16.0.3 :
This is from read me file sfsnmp_installer
3. EXPORTED OIDS
===================
OID Description
--------------------------------------------------------------------------------
iso.org.dod.internet.private.1.30503.1.1.1 Number of temperatures
iso.org.dod.internet.private.1.30503.1.1.2 Number of fan speeds
iso.org.dod.internet.private.1.30503.1.1.3 Number of voltages
iso.org.dod.internet.private.1.30503.1.2.x Temperatures (x is starting from 1)
iso.org.dod.internet.private.1.30503.1.3.x Fan Speeds (x is starting from 1)
iso.org.dod.internet.private.1.30503.1.4.x Voltages (x is starting from 1)
iso.org.dod.internet.private is equivalent to 1.3.6.1.4.1
I try to change your snmp_queries speedfan_fan.xml, speedfan_temp.xml, speedfan_volt.xml.
Instead of .1.3.6.1.4.1.16.0.2 OID i use iso.org.dod.internet.private.1.30503.1.1.2
Instead of .1.3.6.1.4.1.16.0.1 OID i use iso.org.dod.internet.private.1.30503.1.1.1
Instead of .1.3.6.1.4.1.16.0.3 OID i use iso.org.dod.internet.private.1.30503.1.1.3
but have no success.
Please help me with this template...
I investigate and when i instal sfsnmp_installer on a windows machine, there is no OID = .1.3.6.1.4.1.16.0.2, .1.3.6.1.4.1.16.0.1, .1.3.6.1.4.1.16.0.3 :
This is from read me file sfsnmp_installer
3. EXPORTED OIDS
===================
OID Description
--------------------------------------------------------------------------------
iso.org.dod.internet.private.1.30503.1.1.1 Number of temperatures
iso.org.dod.internet.private.1.30503.1.1.2 Number of fan speeds
iso.org.dod.internet.private.1.30503.1.1.3 Number of voltages
iso.org.dod.internet.private.1.30503.1.2.x Temperatures (x is starting from 1)
iso.org.dod.internet.private.1.30503.1.3.x Fan Speeds (x is starting from 1)
iso.org.dod.internet.private.1.30503.1.4.x Voltages (x is starting from 1)
iso.org.dod.internet.private is equivalent to 1.3.6.1.4.1
I try to change your snmp_queries speedfan_fan.xml, speedfan_temp.xml, speedfan_volt.xml.
Instead of .1.3.6.1.4.1.16.0.2 OID i use iso.org.dod.internet.private.1.30503.1.1.2
Instead of .1.3.6.1.4.1.16.0.1 OID i use iso.org.dod.internet.private.1.30503.1.1.1
Instead of .1.3.6.1.4.1.16.0.3 OID i use iso.org.dod.internet.private.1.30503.1.1.3
but have no success.
Please help me with this template...
Re: SpeedFan Script & Templates - [v2.0 - 2009-04-04]
First, if you are using Vista or later, you have to use the fix from SVN (sorry, I didn't create the official installer yet):ivan-impuls wrote:Please help me with this template...
http://deve.loping.net/svn/sfsnmp/trunk/installer/sfsnmp_installer.msi
With this installer, the correct OID is "1.3.6.1.4.1.30503". Please try to snmpwalk this before trying it in Cacti.
- Axel
Bastart Code Repository - http://deve.loping.net
Re: SpeedFan Script & Templates - [v2.0 - 2009-04-04]
I've just uploaded version 0.1.2 to the website:
http://deve.loping.net/projects/sfsnmp/
Also, I've linked to this topic from the site and updated the readme.
Enjoy!
http://deve.loping.net/projects/sfsnmp/
Also, I've linked to this topic from the site and updated the readme.
Enjoy!
Bastart Code Repository - http://deve.loping.net
-
- Posts: 23
- Joined: Mon Jun 15, 2009 1:09 am
Re: SpeedFan Script & Templates - [v2.0 - 2009-04-04]
Yes! I did it.
Instead of .1.3.6.1.4.1.16.0.2 OID i use .1.3.6.1.4.1.30503.1.6 in speedfan_fan.xml
Instead of .1.3.6.1.4.1.16.0.1 OID i use .1.3.6.1.4.1.30503.1.2 in speedfan_temp.xml
Instead of .1.3.6.1.4.1.16.0.3 OID i use .1.3.6.1.4.1.30503.1.4 in speedfan_volt.xml
Instead of .1.3.6.1.4.1.16.0.2 OID i use .1.3.6.1.4.1.30503.1.6 in speedfan_fan.xml
Instead of .1.3.6.1.4.1.16.0.1 OID i use .1.3.6.1.4.1.30503.1.2 in speedfan_temp.xml
Instead of .1.3.6.1.4.1.16.0.3 OID i use .1.3.6.1.4.1.30503.1.4 in speedfan_volt.xml
Re: SpeedFan Script & Templates - [v2.0 - 2009-04-04]
If you use Vista or newer, did you start SpeedFan using the injector.exe ?ivan-impuls wrote:Yes! I did it.
Bastart Code Repository - http://deve.loping.net
-
- Posts: 23
- Joined: Mon Jun 15, 2009 1:09 am
Re: SpeedFan Script & Templates - [v2.0 - 2009-04-04]
I use WinXP Sp3 and start speedfan using injector...
Re: SpeedFan Script & Templates - [v2.0 - 2009-04-04]
Ok, could you please try this:ivan-impuls wrote:I use WinXP Sp3 and start speedfan using injector...
Replace .1.3.6.1.4.1.16.0.1 with .1.3.6.1.4.1.30503.1.2 in speedfan_temp.xml
Replace .1.3.6.1.4.1.16.0.2 with .1.3.6.1.4.1.30503.1.3 in speedfan_fan.xml
Replace .1.3.6.1.4.1.16.0.3 with .1.3.6.1.4.1.30503.1.4 in speedfan_volt.xml
Also tell me what this command outputs:
Code: Select all
snmpwalk -v2c -cpublic 10.0.0.1 .1.3.6.1.4.1.30503.1
Bastart Code Repository - http://deve.loping.net
Re: SpeedFan Script & Templates - [v2.0 - 2009-04-04]
Here is some sample output:
Code: Select all
# snmpwalk -v2c -cpublic 10.0.0.1 .1.3.6.1.4.1.30503.1
SNMPv2-SMI::enterprises.30503.1.1.1 = INTEGER: 5
SNMPv2-SMI::enterprises.30503.1.1.2 = INTEGER: 3
SNMPv2-SMI::enterprises.30503.1.1.3 = INTEGER: 9
SNMPv2-SMI::enterprises.30503.1.2.1 = INTEGER: 4100
SNMPv2-SMI::enterprises.30503.1.2.2 = INTEGER: 5250
SNMPv2-SMI::enterprises.30503.1.2.3 = INTEGER: 4300
SNMPv2-SMI::enterprises.30503.1.2.4 = INTEGER: 4200
SNMPv2-SMI::enterprises.30503.1.2.5 = INTEGER: 3250
SNMPv2-SMI::enterprises.30503.1.3.1 = INTEGER: 0
SNMPv2-SMI::enterprises.30503.1.3.2 = INTEGER: 3375
SNMPv2-SMI::enterprises.30503.1.3.3 = INTEGER: 0
SNMPv2-SMI::enterprises.30503.1.4.1 = INTEGER: 166
SNMPv2-SMI::enterprises.30503.1.4.2 = INTEGER: 165
SNMPv2-SMI::enterprises.30503.1.4.3 = INTEGER: 331
SNMPv2-SMI::enterprises.30503.1.4.4 = INTEGER: 503
SNMPv2-SMI::enterprises.30503.1.4.5 = INTEGER: 1192
SNMPv2-SMI::enterprises.30503.1.4.6 = INTEGER: -1179
SNMPv2-SMI::enterprises.30503.1.4.7 = INTEGER: -500
SNMPv2-SMI::enterprises.30503.1.4.8 = INTEGER: 556
SNMPv2-SMI::enterprises.30503.1.4.9 = INTEGER: 293
SNMPv2-SMI::enterprises.30503.1.5.1 = STRING: "41.00"
SNMPv2-SMI::enterprises.30503.1.5.2 = STRING: "52.50"
SNMPv2-SMI::enterprises.30503.1.5.3 = STRING: "43.00"
SNMPv2-SMI::enterprises.30503.1.5.4 = STRING: "42.00"
SNMPv2-SMI::enterprises.30503.1.5.5 = STRING: "32.50"
SNMPv2-SMI::enterprises.30503.1.6.1 = STRING: "0.00"
SNMPv2-SMI::enterprises.30503.1.6.2 = STRING: "3375.00"
SNMPv2-SMI::enterprises.30503.1.6.3 = STRING: "0.00"
SNMPv2-SMI::enterprises.30503.1.7.1 = STRING: "1.66"
SNMPv2-SMI::enterprises.30503.1.7.2 = STRING: "1.65"
SNMPv2-SMI::enterprises.30503.1.7.3 = STRING: "3.31"
SNMPv2-SMI::enterprises.30503.1.7.4 = STRING: "5.03"
SNMPv2-SMI::enterprises.30503.1.7.5 = STRING: "11.92"
SNMPv2-SMI::enterprises.30503.1.7.6 = STRING: "-11.79"
SNMPv2-SMI::enterprises.30503.1.7.7 = STRING: "-5.00"
SNMPv2-SMI::enterprises.30503.1.7.8 = STRING: "5.56"
SNMPv2-SMI::enterprises.30503.1.7.9 = STRING: "2.93"
SNMPv2-SMI::enterprises.30503.1.7.9 = No more variables left in this MIB View (It is past the end of the MIB tree)
Bastart Code Repository - http://deve.loping.net
Re: SpeedFan Script & Templates - [v2.0 - 2009-04-04]
Damn, I wrote the wrong OIDs on the Website :\
Bastart Code Repository - http://deve.loping.net
-
- Posts: 23
- Joined: Mon Jun 15, 2009 1:09 am
Re: SpeedFan Script & Templates - [v2.0 - 2009-04-04]
I have the same output.
Who is online
Users browsing this forum: No registered users and 2 guests