SpeedFan Script & Templates - [v2.0 - 2009-04-04]
Moderators: Developers, Moderators
-
- Posts: 1
- Joined: Wed Feb 10, 2010 3:48 pm
What Version of SpeedFan is confirmed working with sfsnmp?
I a brand new user of Cacti and have spent quite some time trying to get SpeedFan and SFSNMP to work. I am having troubles geting past the testing step.. "SNMPWALK .1.3.6.1.4.1.16 to verify proper configuration of Speedfan and sfsnmp."
I just get "End Of MIB" or "snmpwalk: Timeout" so I am not sure if it SNMP configured incorrectly. Can any one help me with getting started with SNMP
I first tried this on a Windows Home Server box (which is really want i want to monitor the temps on), then a Windows7 x64, and now am trying it on my XP SP3 Laptop. no luck on any of the boxes so far!
I a brand new user of Cacti and have spent quite some time trying to get SpeedFan and SFSNMP to work. I am having troubles geting past the testing step.. "SNMPWALK .1.3.6.1.4.1.16 to verify proper configuration of Speedfan and sfsnmp."
I just get "End Of MIB" or "snmpwalk: Timeout" so I am not sure if it SNMP configured incorrectly. Can any one help me with getting started with SNMP
I first tried this on a Windows Home Server box (which is really want i want to monitor the temps on), then a Windows7 x64, and now am trying it on my XP SP3 Laptop. no luck on any of the boxes so far!
sfsnmp sadly seems like a dead project and is buggy/finicky to get working. I've only gotten speedfan (even the latest of 4.40) to work with sfsnmp when it's logged on with a real user account (not impersonating via srvany) too. I did the development on XP SP3 x86 and it still works.
I've contemplating writing a xAP script/template as a replacement for sfsnmp.... but thats a lot of work for my spare time
I've contemplating writing a xAP script/template as a replacement for sfsnmp.... but thats a lot of work for my spare time
| 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 |
Hello,
Thanks for this great addon. It is awesome. Could you help me with one problem though ?
When I run the query via Cacti it says "No SNMP data returned", while when I do it manualy using snmpwalk I get temperatures without a problem.
I am using XP SP3 machine with SNMP service installed + sfsnmp-0.1.0.msi. I've tried both Speedfan 4.30 and 4.40.
Data Query Debug Information
+ Running data query [22].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/html/resource/snmp_queries/speedfan_temp.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.16.0.1'
+ No SNMP data returned
+ Found data query XML file at '/var/www/html/resource/snmp_queries/speedfan_temp.xml'
+ Found data query XML file at '/var/www/html/resource/snmp_queries/speedfan_temp.xml'
+ Found data query XML file at '/var/www/html/resource/snmp_queries/speedfan_temp.xml'
[root@linux templates]# snmpwalk -c Pass -v 2c 10.150.0.13 .1.3.6.1.4.1.16.0.1
SNMPv2-SMI::enterprises.16.0.1.0 = INTEGER: 4000
SNMPv2-SMI::enterprises.16.0.1.1 = INTEGER: 2400
SNMPv2-SMI::enterprises.16.0.1.2 = INTEGER: 2300
Thanks for this great addon. It is awesome. Could you help me with one problem though ?
When I run the query via Cacti it says "No SNMP data returned", while when I do it manualy using snmpwalk I get temperatures without a problem.
I am using XP SP3 machine with SNMP service installed + sfsnmp-0.1.0.msi. I've tried both Speedfan 4.30 and 4.40.
Data Query Debug Information
+ Running data query [22].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/html/resource/snmp_queries/speedfan_temp.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.16.0.1'
+ No SNMP data returned
+ Found data query XML file at '/var/www/html/resource/snmp_queries/speedfan_temp.xml'
+ Found data query XML file at '/var/www/html/resource/snmp_queries/speedfan_temp.xml'
+ Found data query XML file at '/var/www/html/resource/snmp_queries/speedfan_temp.xml'
[root@linux templates]# snmpwalk -c Pass -v 2c 10.150.0.13 .1.3.6.1.4.1.16.0.1
SNMPv2-SMI::enterprises.16.0.1.0 = INTEGER: 4000
SNMPv2-SMI::enterprises.16.0.1.1 = INTEGER: 2400
SNMPv2-SMI::enterprises.16.0.1.2 = INTEGER: 2300
What cacti version?
Try increasing the snmp timeout to that device. since your snmpwalk returns data, speedfan + sfsnmp appear to be set up correctly.
Try increasing the snmp timeout to that device. since your snmpwalk returns data, speedfan + sfsnmp appear to be set up correctly.
| 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 |
Not sure, appears everything should be working out. Maybe try switching to snmp v1 instead.
| 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 |
WOW, it actually helped.. I didn't think of that. Thanks a lot !
If I may ask one more question - I also have 4 Windows 2003 Servers with SP1. Not even snmpwalk can read speedfan temps from them:
[root@linux init.d]# snmpwalk -c Pass -v 1 10.150.0.17 .1.3.6.1.4.1.16.0.1
Error in packet.
Reason: (genError) A general failure occured
Failed object: SNMPv2-SMI::enterprises.16.0.1
Does your script support Win2k3 ?
If I may ask one more question - I also have 4 Windows 2003 Servers with SP1. Not even snmpwalk can read speedfan temps from them:
[root@linux init.d]# snmpwalk -c Pass -v 1 10.150.0.17 .1.3.6.1.4.1.16.0.1
Error in packet.
Reason: (genError) A general failure occured
Failed object: SNMPv2-SMI::enterprises.16.0.1
Does your script support Win2k3 ?
The script works against any OS. The problem is with speedfan and sfsnmp working properly together. there really isn't much troubleshooting one can do for sfsnmp. Make sure that device responds to other snmp queries so its not a firewall issue. then make sure speedfan is running and cofigured. try reinstalling sfsnmp and then reboot. hopefully it'll work... otherwise it's up to the sfsnmp author to fix the bugs.
| 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 |
The proper installation of sfsnmp. I know of no way to troubleshoot it. Either it works or it doesn't. Sadly it looks like sfsnmp is a dead project.markit wrote:Other SNMP queries work ok, as for Speedfan configuration - what do you mean by that ?
| 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 |
Hi,
Everyone that has issues with SFSNMP, please try if this test application reports correct values:
http://static.loping.net/temp/SFSHMTest.exe
You can also check if this is an installer issue. The installer should create these registry keys:
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SNMP\Parameters\ExtensionAgents\23483"
or
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SNMP\Parameters\ExtensionAgents\23483"
which should contain "SOFTWARE\Bastart\SFSNMP\CurrentVersion". It should also create this registry key:
"HKEY_LOCAL_MACHINE\SOFTWARE\Bastart\SFSNMP\CurrentVersion\Pathname"
Which should contain the path to the sfsnmp.dll file. Check that the file exists, too.
Also check for the DLL using Process Explorer. Choose "Find | Find Handle or DLL...", enter sfsnmp and hit Search. There should be a SNMP.EXE in the list.
I will probably also add an OID that can be used to check if the SpeedFan SHM can be opened or not so that problems with the SHM are easier to diagnose.
I am currently preparing a new version which will have a more robust installer.
Everyone that has issues with SFSNMP, please try if this test application reports correct values:
http://static.loping.net/temp/SFSHMTest.exe
You can also check if this is an installer issue. The installer should create these registry keys:
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SNMP\Parameters\ExtensionAgents\23483"
or
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SNMP\Parameters\ExtensionAgents\23483"
which should contain "SOFTWARE\Bastart\SFSNMP\CurrentVersion". It should also create this registry key:
"HKEY_LOCAL_MACHINE\SOFTWARE\Bastart\SFSNMP\CurrentVersion\Pathname"
Which should contain the path to the sfsnmp.dll file. Check that the file exists, too.
Also check for the DLL using Process Explorer. Choose "Find | Find Handle or DLL...", enter sfsnmp and hit Search. There should be a SNMP.EXE in the list.
I will probably also add an OID that can be used to check if the SpeedFan SHM can be opened or not so that problems with the SHM are easier to diagnose.
I am currently preparing a new version which will have a more robust installer.
OK, I strongly suspect that the issue is that SpeedFan is not registering its SHM section globally. I already added a bugtracker comment about this here:
http://www.bugtrack.almico.com/bug_view ... ug_id=1275
If there is demand, I will release a patcher or api hook that fixes the problem, but this is something that should be fixed in SpeedFan and is actually a very trivial fix.
http://www.bugtrack.almico.com/bug_view ... ug_id=1275
If there is demand, I will release a patcher or api hook that fixes the problem, but this is something that should be fixed in SpeedFan and is actually a very trivial fix.
Thanks for looking into it. Now to just get Speedfan to release a fix...
| 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 |
Hello everyone!
I can't get the sfsnmp.dll working with the latest SpeedFan 4.4.1. Is there any actual fix for that?
Some background information: I have installed and started SpeedFan, Then Installed the sfsnmp.dll, turned on the debug option via the registry. Restarted the SNMP service. This is what I got in the debug.log:
INFO: DLL: Process attaching to the agent, reference count 1...
INFO: DLL: Process detaching from the agent, reference count 0...
INFO: DLL: Reference count is 0, destroying SHM vector...
Any ideas?
It would be really nice to have ths thing working...
Thanks!
I can't get the sfsnmp.dll working with the latest SpeedFan 4.4.1. Is there any actual fix for that?
Some background information: I have installed and started SpeedFan, Then Installed the sfsnmp.dll, turned on the debug option via the registry. Restarted the SNMP service. This is what I got in the debug.log:
INFO: DLL: Process attaching to the agent, reference count 1...
INFO: DLL: Process detaching from the agent, reference count 0...
INFO: DLL: Reference count is 0, destroying SHM vector...
Any ideas?
It would be really nice to have ths thing working...
Thanks!
Who is online
Users browsing this forum: No registered users and 0 guests