NETGEAR ReadyNAS Graph (Fans & Temperatures)

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

Moderators: Moderators, Developers

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

NETGEAR ReadyNAS Graph (Fans & Temperatures)

#1 Post by prolag » Thu Oct 30, 2008 11:37 am

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
Cacti_ReadyNAS_FANS.png
Graph of Speed Fans
Cacti_ReadyNAS_FANS.png (77.83 KiB) Viewed 11958 times
Cacti_ReadyNAS_Temperature.png
Graph of Temperature
Cacti_ReadyNAS_Temperature.png (129 KiB) Viewed 11958 times
ReadyNAS_Cacti_2.1.zip
ReadyNAS Cacti Template
(236.9 KiB) Downloaded 1654 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

#2 Post by sharkys » Thu Oct 29, 2009 1:10 pm

Thank you, it's working without any problems ! :D

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

#3 Post by prolag » Tue Feb 02, 2010 9:04 am

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)

#4 Post by sharkys » Tue Jun 11, 2013 3:16 pm

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