Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Thu Apr 27, 2017 1:56 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: NETGEAR ReadyNAS Graph (Fans & Temperatures)
PostPosted: Thu Oct 30, 2008 11:37 am 
Offline

Joined: Thu Oct 30, 2008 11:23 am
Posts: 2
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:
File comment: ReadyNAS Cacti Template
ReadyNAS_Cacti_2.1.zip [236.9 KiB]
Downloaded 1530 times
File comment: Graph of Temperature
Cacti_ReadyNAS_Temperature.png
Cacti_ReadyNAS_Temperature.png [ 129 KiB | Viewed 10861 times ]
File comment: Graph of Speed Fans
Cacti_ReadyNAS_FANS.png
Cacti_ReadyNAS_FANS.png [ 77.83 KiB | Viewed 10861 times ]


Last edited by prolag on Tue Feb 02, 2010 8:59 am, edited 1 time in total.
Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 29, 2009 1:10 pm 
Offline

Joined: Sun Oct 05, 2008 11:17 am
Posts: 12
Thank you, it's working without any problems ! :D


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 02, 2010 9:04 am 
Offline

Joined: Thu Oct 30, 2008 11:23 am
Posts: 2
Big update :)

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

Quote:
-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+)


Top
 Profile  
 
 Post subject: Re: NETGEAR ReadyNAS Graph (Fans & Temperatures)
PostPosted: Tue Jun 11, 2013 3:16 pm 
Offline

Joined: Sun Oct 05, 2008 11:17 am
Posts: 12
Code:
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:
<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:
+ 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]


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Google [Bot] and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group