SpeedFan Script & Templates - [v2.0 - 2009-04-04]

Templates, scripts for templates, scripts and requests for templates.

Moderators: Moderators, Developers

Post Reply
Author
Message
User avatar
BSOD2600
Cacti Moderator
Posts: 12160
Joined: Sat May 08, 2004 12:44 pm
Location: USA

SpeedFan Script & Templates - [v2.0 - 2009-04-04]

#1 Post by BSOD2600 » Sun Sep 30, 2007 4:43 pm

Speedfan Script & Templates
By BSOD2600

--Changelog--
2.0: Re-wrote scripts. Ditched Script Server and now pure SNMP Data Queries. If upgrading, delete *ALL* existing Speedfan Data input methods, Data templates, and Graph templates as they all have changed. Keep any custom graph templates you've created for your systems for Speedfan. Exported with Cacti 0.8.7d.
1.1: Updated ss_* scripts to work with Cacti 0.8.7
1.0: Initial release. Exported w/Cacti 0.8.6j

--Requirements-- --Installation--
1. Copy the scripts to your cacti\resources\snmp_queries\ folder.
2. Import the templates.
3. Add the Speedfan Associated Data Queries to a device.
4. Click on the 'Create Graphs for this Host' screen.
5. Select the various SpeedFan sources you want to graph. Click create.


--Notes--
  • The 'Create Graphs for this Host' screen shows sample SNMP data from Speedfan to assist with adding only the correct indexes. Disregard the numbers are not what you see in Speedfan. This is due to the data needing most often needed to be divided by 100 (which the graph templates already handle).
  • Speedfan does not implement indexes. Thus, if you change your hardware around, Speedfan will shift device ordering around, possibly changing the order in which sfsnmp & Cacti are monitoring. This can adversely affect monitoring and graphs.
  • Speedfan does not expose the descriptions to sfsnmp. Thus, the Data Source & Graph Templates label things by the SNMP Index number. On each graph template, you can manually change the name to something more logical.
  • For more meaningful graphs, you should create custom graphs which include all of the related system enviroment types together (fan, voltage, and temperature). Another method is to use the Aggregate plugin to expedite this process.
  • These scripts are more efficient than the original ones which come with the Speedfan SNMP extension, since it uses intelligent Data Queries which are pure SNMP.
Attachments
speedfan_2.0.zip
SpeedFan v2.0
(43.8 KiB) Downloaded 2002 times
speedfan_sample.png
Sample graphs
speedfan_sample.png (34.85 KiB) Viewed 38460 times
speedfan 1.1.zip
scripts/templates
(51.05 KiB) Downloaded 1692 times
Last edited by BSOD2600 on Sun Apr 05, 2009 12:09 am, edited 1 time in total.

User avatar
BSOD2600
Cacti Moderator
Posts: 12160
Joined: Sat May 08, 2004 12:44 pm
Location: USA

#2 Post by BSOD2600 » Tue Dec 18, 2007 2:52 am

New version uploaded which works with cacti 0.8.7.

slech
Cacti User
Posts: 90
Joined: Tue Nov 06, 2007 7:51 am

#3 Post by slech » Wed Dec 19, 2007 3:24 am

Hi all.
Please upload the SpeedFan addon to file-sharer
rapisdhare or orher.
http://code.bastart.eu.org/projects/sfsnmp/ - not work.
Thanks.
[size=75]
[color=green]|Cacti 0.87|[/color][color=green]|PA 1.3|[/color][color=green]|Poller cmd.php|[/color][color=green]|IIS 6.0|[/color][color=green]|PHP Version 5.2.4|[/color][color=green]|MySQL 5.0.27|[/color][color=green]|RRDtool 1.2.15|[/color][/size]
[color=brown]|Thold 0.3.8 |[/color] [color=red]|Zond 0.34 |[/color]
[url=http://forums.cacti.net/viewtopic.php?t=15067][size=75]Complete List of Cacti Scripts and Templates[/size][/url]
[url=http://forums.cacti.net/viewtopic.php?t=14985][size=75]Currently Known Plugins[/size][/url]

User avatar
BSOD2600
Cacti Moderator
Posts: 12160
Joined: Sat May 08, 2004 12:44 pm
Location: USA

#4 Post by BSOD2600 » Wed Dec 19, 2007 5:15 am

I don't have it. It's a problem with the main hosting company.

slech
Cacti User
Posts: 90
Joined: Tue Nov 06, 2007 7:51 am

#5 Post by slech » Thu Dec 20, 2007 10:51 am

It found here

sfsnmp-0.0.4-12.msi
[size=75]
[color=green]|Cacti 0.87|[/color][color=green]|PA 1.3|[/color][color=green]|Poller cmd.php|[/color][color=green]|IIS 6.0|[/color][color=green]|PHP Version 5.2.4|[/color][color=green]|MySQL 5.0.27|[/color][color=green]|RRDtool 1.2.15|[/color][/size]
[color=brown]|Thold 0.3.8 |[/color] [color=red]|Zond 0.34 |[/color]
[url=http://forums.cacti.net/viewtopic.php?t=15067][size=75]Complete List of Cacti Scripts and Templates[/size][/url]
[url=http://forums.cacti.net/viewtopic.php?t=14985][size=75]Currently Known Plugins[/size][/url]

justinchudgar
Posts: 9
Joined: Thu Oct 19, 2006 7:59 pm
Location: Weed, Siskiyou County, CA, USA
Contact:

SpeedFan SNMP Link is Dead

#6 Post by justinchudgar » Sat Dec 22, 2007 8:35 pm

The link ( http://code.bastart.eu.org/projects/sfsnmp ) to the SNMP agent for SpeedFan is apparently dead. I have been unable to revive it with archive.org, nyud.net or google's cache.

Would someone who has the SNMP agent already downloaded please e-mail it to me. I will try to contact the author and get permission to mirror it for him.

Thanks.

[email protected]

slech
Cacti User
Posts: 90
Joined: Tue Nov 06, 2007 7:51 am

#7 Post by slech » Sun Dec 23, 2007 3:20 am

justinchudgar
read my last post
[size=75]
[color=green]|Cacti 0.87|[/color][color=green]|PA 1.3|[/color][color=green]|Poller cmd.php|[/color][color=green]|IIS 6.0|[/color][color=green]|PHP Version 5.2.4|[/color][color=green]|MySQL 5.0.27|[/color][color=green]|RRDtool 1.2.15|[/color][/size]
[color=brown]|Thold 0.3.8 |[/color] [color=red]|Zond 0.34 |[/color]
[url=http://forums.cacti.net/viewtopic.php?t=15067][size=75]Complete List of Cacti Scripts and Templates[/size][/url]
[url=http://forums.cacti.net/viewtopic.php?t=14985][size=75]Currently Known Plugins[/size][/url]

justinchudgar
Posts: 9
Joined: Thu Oct 19, 2006 7:59 pm
Location: Weed, Siskiyou County, CA, USA
Contact:

Doh!

#8 Post by justinchudgar » Sun Dec 23, 2007 2:52 pm

Thanks. For someone paid to be smart, I can be pretty damn dense. :)

User avatar
Ago
Posts: 22
Joined: Fri Jul 15, 2005 8:42 am
Location: Germany
Contact:

Re: Speedfan Script & Templates - [v1.1 - 2007-12-17]

#9 Post by Ago » Fri Feb 01, 2008 6:13 am

BSOD2600 wrote:Eventually once the SNMP extension author adds snmpwalk capabilities, I'll re-write the scripts so the queries are index and more dynamic (like the Interface/disk usage templates).
Done. Version 0.1.0 was just released. It supports SNMP-Walk and many other improvements (i.e. the counter values work now).
Please post any problems you might have with it in the forum

If you want, I'll include your templates in the next distribution.

BTW, the server was dead because I moved recently. I now have the Server hosted on a 100MBit dedicated server (with 249 days uptime ;), so it shouldn't be down as often anymore.

PS: There now is a subversion repository at https://code.bastart.eu.org/svn/sfsnmp

- Axel Gembe

User avatar
Ago
Posts: 22
Joined: Fri Jul 15, 2005 8:42 am
Location: Germany
Contact:

#10 Post by Ago » Fri Feb 01, 2008 9:11 am

Another question about this: Could you also provide a version of the templates with Celsius values ?

User avatar
BSOD2600
Cacti Moderator
Posts: 12160
Joined: Sat May 08, 2004 12:44 pm
Location: USA

#11 Post by BSOD2600 » Fri Feb 01, 2008 2:44 pm

Sweet! I'll start working on the new templates this weekend, to take advantage of the snmpwalk capability. Ya, I can release a set of graph templates which show Celsius instead.

One thing I did notice though is that your 0.1.0 installer requires the older version to be uninstalled. Problem is that it's not listed in the Add/Remote programs nor is there any shortcut in my Start menu! Luckly I was able to manually invoke it by running:

Code: Select all

MsiExec.exe /I{BD393DAA-8458-4DC2-8325-FC9AAFA67B34}
Last edited by BSOD2600 on Fri Feb 01, 2008 2:49 pm, edited 1 time in total.

User avatar
Ago
Posts: 22
Joined: Fri Jul 15, 2005 8:42 am
Location: Germany
Contact:

#12 Post by Ago » Fri Feb 01, 2008 2:49 pm

Cool, I wanted to have automated graph creation for quite a while now ;)

Regarding the installer, try the MSI Cleanup Utility from Microsoft. Seems to help with many installer problems:

http://download.microsoft.com/download/ ... sicuu2.exe

User avatar
BSOD2600
Cacti Moderator
Posts: 12160
Joined: Sat May 08, 2004 12:44 pm
Location: USA

#13 Post by BSOD2600 » Fri Feb 01, 2008 2:50 pm

Ago wrote:Regarding the installer, try the MSI Cleanup Utility from Microsoft. Seems to help with many installer problems:
Already tried. It wasn't listed (at least not that I could find).

User avatar
Ago
Posts: 22
Joined: Fri Jul 15, 2005 8:42 am
Location: Germany
Contact:

#14 Post by Ago » Fri Feb 01, 2008 2:51 pm

Hrmmm, I'll try to get real version increment of the MSI Version in the next version... this way the installer will automatically upgrade old installations. I was just too lazy to do it for this version :)

User avatar
BSOD2600
Cacti Moderator
Posts: 12160
Joined: Sat May 08, 2004 12:44 pm
Location: USA

#15 Post by BSOD2600 » Fri Feb 01, 2008 2:56 pm

Also, your installer defaults to D:\SFSNMP\. It'd be a good idea to install in a common directory like C:\Program Files\SFSNMP\

Post Reply