NETGEAR ReadyNAS Graph (Fans & Temperatures)

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

Moderators: Developers, Moderators

Post Reply
prolag
Posts: 2
Joined: Thu Oct 30, 2008 11:23 am

NETGEAR ReadyNAS Graph (Fans & Temperatures)

Post by prolag »

Hello

The script will display the fan speed and temperature (Box & Hard Disk) of NETGEAR ReadyNAS (NV+, NVx, Pro, 1100, 2100, 3200)

Test with cacti 0.8.7d and NVx
Attachments
Graph of Speed Fans
Graph of Speed Fans
Cacti_ReadyNAS_FANS.png (77.83 KiB) Viewed 12818 times
Graph of Temperature
Graph of Temperature
Cacti_ReadyNAS_Temperature.png (129 KiB) Viewed 12818 times
ReadyNAS_Cacti_2.1.zip
ReadyNAS Cacti Template
(236.9 KiB) Downloaded 1719 times
Last edited by prolag on Tue Feb 02, 2010 8:59 am, edited 1 time in total.
sharkys
Posts: 12
Joined: Sun Oct 05, 2008 11:17 am

Post by sharkys »

Thank you, it's working without any problems ! :D
prolag
Posts: 2
Joined: Thu Oct 30, 2008 11:23 am

Post by prolag »

Big update :)

Release 2.1 ! Work with new ReadyNAS x86 (Pro, NVx, 2100, 3200...)
:D :D
-Changelog-

2.1 - Fixed a problem when there is no hard drive (negative temperature)
- There a 1 fan and 1 internal probe into the NVx
2.0 - Use directly OID value (no php script)
- Add support of x86 ReadyNAS (NVx, Pro, 2100, 3200)

1.0 - Initial release (Support of ReadyNAS NV+)
sharkys
Posts: 12
Joined: Sun Oct 05, 2008 11:17 am

Re: NETGEAR ReadyNAS Graph (Fans & Temperatures)

Post by sharkys »

Code: Select all

SNMPv2-SMI::enterprises.4526.18.5.1.2.1 = STRING: "35.0C/95.0F"
...FAN works, but temperature unfortunately not, most probably some parse via OID/REGEXP will be required.
Wouldn't be able someone to update it please ?

I tried to modify one of the example, but this seems to be nonsense ;-(

Code: Select all

<query>.
   <name>Get NetGEAR NV PLUS Temperature</name>.
   <oid_index>.1.3.6.1.4.1.4526.18.5.1.2.1</oid_index>.
   <oid_index_parse>OID/REGEXP:^([0-9][0-9]\.[0-9])</oid_index_parse>
   <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.4526.18.5.1.2.1</oid>.
      </tempSample>.
      <temp>.
         <name>Temperature</name>.
         <method>walk</method>.
         <source>value</source>.
         <direction>output</direction>.
         <oid>.1.3.6.1.4.1.4526.18.5.1.2.1</oid>.
      </temp>.
   </fields>.
</query>

Code: Select all

+ Running data query [25].
+ Found type = '3' [SNMP Query].
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/netgear_cels_fahr_to_cels_only.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.4526.18.5.1.2.1' Index Count: 1
+ Index found at OID: 'enterprises.4526.18.5.1.2.1' value: '35.0C/95.0F'
+ index_parse at OID: 'enterprises.4526.18.5.1.2.1' results: 'enterprises.4526.18.5.1.2.1'
+ Inserting index data for field 'Index' [value='enterprises.4526.18.5.1.2.1']
+ Located input field 'tempSample' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.4526.18.5.1.2.1'
+ Found item [tempSample='35.0C/95.0F'] index: enterprises.4526.18.5.1.2.1 [from value]
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests