SpeedFan Script & Templates - [v2.0 - 2009-04-04]
Moderators: Developers, Moderators
-
- Posts: 1
- Joined: Sun May 29, 2011 10:04 am
Re: SpeedFan Script & Templates - [v2.0 - 2009-04-04]
For those, who does not see any data on graph - after starting speedfan, restart snmp service (net stop snmp, then net start snmp in cmd) - It helped for me.
-
- Posts: 2
- Joined: Thu Apr 11, 2013 8:52 pm
Re: SpeedFan Script & Templates - [v2.0 - 2009-04-04]
can you help my cacti,
i use this tutorial but my speedfan on cacti can not display graphics
why ?
i use this tutorial but my speedfan on cacti can not display graphics
why ?
Re: SpeedFan Script & Templates - [v2.0 - 2009-04-04]
Good day for everyone,
I have problem with correct spedfan_temp.xml file.
There are 2 PC: one is on Win XP SP3(full configuration consisted with snmp),where I use SpeedFan 4.49 and SpeedFan Extension. And another PC with Ubuntu Server 12.04.2 LTS. I installed on ubuntu cacti 0.8.7i
I tried to change OID in spedfan_temp.xml, but there is no template. What is wrong? I'm sitting third day with this problem. I only need 1 template with CPU_Temperature.
Tried change in cacti SNMP Version 1,2
my snmpwalk's are:
1) #snmpwalk -v 1 -c cacti 192.168.1.57 1.3.6.1.4.1.30503.1.1.1
iso.3.6.1.4.1.30503.1.1.1 = INTEGER: 4
2)#snmpwalk -v 1 -c cacti 192.168.1.57 1.3.6.1.4.1.30503.1.2
iso.3.6.1.4.1.30503.1.2.1 = INTEGER: 3600
iso.3.6.1.4.1.30503.1.2.2 = INTEGER: 4300
iso.3.6.1.4.1.30503.1.2.3 = INTEGER: -5500
iso.3.6.1.4.1.30503.1.2.4 = INTEGER: -200
3)snmpwalk -v 2c -c cacti 192.168.1.57 1.3.6.1.4.1.30503.1.2
iso.3.6.1.4.1.30503.1.2.1 = INTEGER: 3600
iso.3.6.1.4.1.30503.1.2.2 = INTEGER: 4300
iso.3.6.1.4.1.30503.1.2.3 = INTEGER: -5500
iso.3.6.1.4.1.30503.1.2.4 = INTEGER: -200
As I understand, I need this OID : iso.3.6.1.4.1.30503.1.2.1
Here is my spedfan_temp.xml:
Code:
<query>
<name>Get Speedfan Temperature</name>
<description>Gets temperature from Speed Fan on Windows XP</description>
<oid_index_parse>OID/REGEXP:.*\.([0-9]{1,2})$</oid_index_parse>
<oid_index>.1.3.6.1.4.1.30503.1.2</oid_index>
<index_order_type>numeric</index_order_type>
<index_title_format>|chosen_order_field|</index_title_format>
<fields>
<Index><name>Index</name>
<source>index</source>
<direction>input</direction>
</Index>
<tempSample>
<name>Temperature Sample</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.30503.1.2</oid>
</tempSample>
<temp>
<name>Temperature</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.30503.1.2</oid>
</temp>
</fields>
</query>
I make Verbose Query and that what he shows me:
+ Running data query [10].
+ Found type = '3' [SNMP Query].
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/speedfan_temp.xml'
+ XML file parsed ok.
+ <oid_num_indexes> missing in XML file, 'Index Count Changed' emulated by counting oid_index entries
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.30503.1.2' Index Count: 4
+ Index found at OID: '1.3.6.1.4.1.30503.1.2.1' value: '3600'
+ Index found at OID: '1.3.6.1.4.1.30503.1.2.2' value: '4300'
+ Index found at OID: '1.3.6.1.4.1.30503.1.2.3' value: '-5500'
+ Index found at OID: '1.3.6.1.4.1.30503.1.2.4' value: '-200'
+ index_parse at OID: '1.3.6.1.4.1.30503.1.2.1' results: '1'
+ index_parse at OID: '1.3.6.1.4.1.30503.1.2.2' results: '2'
+ index_parse at OID: '1.3.6.1.4.1.30503.1.2.3' results: '3'
+ index_parse at OID: '1.3.6.1.4.1.30503.1.2.4' results: '4'
+ Inserting index data for field 'Index' [value='1']
+ Inserting index data for field 'Index' [value='2']
+ Inserting index data for field 'Index' [value='3']
+ Inserting index data for field 'Index' [value='4']
+ Located input field 'tempSample' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.30503.1.2'
+ Found item [tempSample='3600'] index: 1 [from value]
+ Found item [tempSample='4300'] index: 2 [from value]
+ Found item [tempSample='-5500'] index: 3 [from value]
+ Found item [tempSample='-200'] index: 4 [from value]
I can't undertand, what I make wrong. Please help, to solve this problem
Best Reguards,
Leonid
I have problem with correct spedfan_temp.xml file.
There are 2 PC: one is on Win XP SP3(full configuration consisted with snmp),where I use SpeedFan 4.49 and SpeedFan Extension. And another PC with Ubuntu Server 12.04.2 LTS. I installed on ubuntu cacti 0.8.7i
I tried to change OID in spedfan_temp.xml, but there is no template. What is wrong? I'm sitting third day with this problem. I only need 1 template with CPU_Temperature.
Tried change in cacti SNMP Version 1,2
my snmpwalk's are:
1) #snmpwalk -v 1 -c cacti 192.168.1.57 1.3.6.1.4.1.30503.1.1.1
iso.3.6.1.4.1.30503.1.1.1 = INTEGER: 4
2)#snmpwalk -v 1 -c cacti 192.168.1.57 1.3.6.1.4.1.30503.1.2
iso.3.6.1.4.1.30503.1.2.1 = INTEGER: 3600
iso.3.6.1.4.1.30503.1.2.2 = INTEGER: 4300
iso.3.6.1.4.1.30503.1.2.3 = INTEGER: -5500
iso.3.6.1.4.1.30503.1.2.4 = INTEGER: -200
3)snmpwalk -v 2c -c cacti 192.168.1.57 1.3.6.1.4.1.30503.1.2
iso.3.6.1.4.1.30503.1.2.1 = INTEGER: 3600
iso.3.6.1.4.1.30503.1.2.2 = INTEGER: 4300
iso.3.6.1.4.1.30503.1.2.3 = INTEGER: -5500
iso.3.6.1.4.1.30503.1.2.4 = INTEGER: -200
As I understand, I need this OID : iso.3.6.1.4.1.30503.1.2.1
Here is my spedfan_temp.xml:
Code:
<query>
<name>Get Speedfan Temperature</name>
<description>Gets temperature from Speed Fan on Windows XP</description>
<oid_index_parse>OID/REGEXP:.*\.([0-9]{1,2})$</oid_index_parse>
<oid_index>.1.3.6.1.4.1.30503.1.2</oid_index>
<index_order_type>numeric</index_order_type>
<index_title_format>|chosen_order_field|</index_title_format>
<fields>
<Index><name>Index</name>
<source>index</source>
<direction>input</direction>
</Index>
<tempSample>
<name>Temperature Sample</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.30503.1.2</oid>
</tempSample>
<temp>
<name>Temperature</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.30503.1.2</oid>
</temp>
</fields>
</query>
I make Verbose Query and that what he shows me:
+ Running data query [10].
+ Found type = '3' [SNMP Query].
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/speedfan_temp.xml'
+ XML file parsed ok.
+ <oid_num_indexes> missing in XML file, 'Index Count Changed' emulated by counting oid_index entries
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.30503.1.2' Index Count: 4
+ Index found at OID: '1.3.6.1.4.1.30503.1.2.1' value: '3600'
+ Index found at OID: '1.3.6.1.4.1.30503.1.2.2' value: '4300'
+ Index found at OID: '1.3.6.1.4.1.30503.1.2.3' value: '-5500'
+ Index found at OID: '1.3.6.1.4.1.30503.1.2.4' value: '-200'
+ index_parse at OID: '1.3.6.1.4.1.30503.1.2.1' results: '1'
+ index_parse at OID: '1.3.6.1.4.1.30503.1.2.2' results: '2'
+ index_parse at OID: '1.3.6.1.4.1.30503.1.2.3' results: '3'
+ index_parse at OID: '1.3.6.1.4.1.30503.1.2.4' results: '4'
+ Inserting index data for field 'Index' [value='1']
+ Inserting index data for field 'Index' [value='2']
+ Inserting index data for field 'Index' [value='3']
+ Inserting index data for field 'Index' [value='4']
+ Located input field 'tempSample' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.30503.1.2'
+ Found item [tempSample='3600'] index: 1 [from value]
+ Found item [tempSample='4300'] index: 2 [from value]
+ Found item [tempSample='-5500'] index: 3 [from value]
+ Found item [tempSample='-200'] index: 4 [from value]
I can't undertand, what I make wrong. Please help, to solve this problem
Best Reguards,
Leonid
Re: SpeedFan Script & Templates - [v2.0 - 2009-04-04]
Why do you need to change the OIDs?
What exactly is your problem? It looks like Cacti is querying speedfan properly.
What exactly is your problem? It looks like Cacti is querying speedfan properly.
| 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]
I need to make Temperature Graphs of data that I receive from my win_xp. Then I'm trying to do it, RRDTools shows error
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='WinXP_Leonid - Temperature' \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=20 \
--vertical-label='Celsius' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="/var/lib/cacti/rra/winxp_leonid_temp_26.rrd":temp:AVERAGE \
CDEF:cdefa=a,100,/ \
AREA:cdefa#FF0000FF:"Tempereture CPU" \
GPRINT:cdefa:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Avg\:%8.2lf %s" \
GPRINT:cdefa:MIN:"Min\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Max\:%8.2lf %s\n" \
COMMENT:"SpeedFan-Temperature CPU"
RRDTool Says:
ERROR: opening '/var/lib/cacti/rra/winxp_leonid_temp_26.rrd': No such file or directory
I read in internet: try to change priority to the folder to 777 and it also doesn't help me
What i should do?
P.S.
In Data Source Debug I have such thing:
Data Source Debug
/usr/bin/rrdtool create \
/var/lib/cacti/rra/winxp_leonid_temp_26.rrd \
--step 300 \
DS:temp:GAUGE:600:0:12000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='WinXP_Leonid - Temperature' \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=20 \
--vertical-label='Celsius' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="/var/lib/cacti/rra/winxp_leonid_temp_26.rrd":temp:AVERAGE \
CDEF:cdefa=a,100,/ \
AREA:cdefa#FF0000FF:"Tempereture CPU" \
GPRINT:cdefa:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Avg\:%8.2lf %s" \
GPRINT:cdefa:MIN:"Min\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Max\:%8.2lf %s\n" \
COMMENT:"SpeedFan-Temperature CPU"
RRDTool Says:
ERROR: opening '/var/lib/cacti/rra/winxp_leonid_temp_26.rrd': No such file or directory
I read in internet: try to change priority to the folder to 777 and it also doesn't help me
What i should do?
P.S.
In Data Source Debug I have such thing:
Data Source Debug
/usr/bin/rrdtool create \
/var/lib/cacti/rra/winxp_leonid_temp_26.rrd \
--step 300 \
DS:temp:GAUGE:600:0:12000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
Re: SpeedFan Script & Templates - [v2.0 - 2009-04-04]
Refreshing topic.
Does anyone can snmp extension plugin to speedfun and could share?
A link to the author's site does not work, and you can not download the plugin.
I will be grateful for your help.
Does anyone can snmp extension plugin to speedfun and could share?
A link to the author's site does not work, and you can not download the plugin.
I will be grateful for your help.
Re: SpeedFan Script & Templates - [v2.0 - 2009-04-04]
bummer, yea it does seem to be down. hopefully just a temporary thing. However neither Speedfan or sfsnmp have been updated in well over a year, so looking more like dead programs...
| 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]
Anyway, this is probably the only opportunity to monotorować temperature of your CPU and disk on computers with Windows, unless there is another possibility (for forums cacti have not found anything that could be useful).
If there is no other possibility, is once again turn to be provided sfsnmp if possible.
Thank you.
If there is no other possibility, is once again turn to be provided sfsnmp if possible.
Thank you.
Re: SpeedFan Script & Templates - [v2.0 - 2009-04-04]
Contact the vendor and inquire how to pull the temp/data from the device.
| 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 |
Who is online
Users browsing this forum: No registered users and 1 guest