ReadyNAS - Supervise your USB connected UPS thru SNMP

dropcap readynas102

ReadyNAS devices are running an almost standard Debian and are providing :

  • Net-SNMP agent as a standard feature
  • USB UPS management with NUT (Network UPS Tool)

But, Out-Of-The-Box, there is no possibility to query the UPS state thru SNMP.

Hopefully, thanks to SSH access and Net-SNMP extension MIB capabilities, it is quite simple to add UPS supervision thru SNMP.

This article explains how to setup your ReadyNAS to supervise its locally connected UPS thru SNMP. It has been tested on a ReadyNAS 102, but it should work on other members of the ReadyNAS family.

Read more: ReadyNAS - Supervise your USB connected UPS thru SNMP

WNDR3700v3 - How to revert to stock firmware from DD-WRT

dropcap wndr3700Long time back, I had flashed DD-WRT on a netgear WNDR3700 v3.

For some project, I decided to revert it to stock firmware before flashing latest OpenWRT. But for this router, all instructions found on internet (web UI, tftp upload in recovery mode, …) have failed.

It was impossible to revert it to stock firmware. Hopefully, after lots of trials, I found a way.

This short article explains how to force a WNDR3700 v3 running DD-WRT to enter into recovery mode to allow a new firmware upload. It has been tested on WNDR3700 v3, but it may also be applicable to some other routers.

Flashing your router is always risky.
If you follow these instructions, you must know what you are doing.
You must accept to finally end-up with a router as useful as a paper holder.

Read more: WNDR3700v3 - How to revert to stock firmware from DD-WRT

RFXtrx433 - Access your Remote USB transceiver plugged to an OpenWRT device

dropcap rfxtrx433If you are involved in some domotic project, you must know RFXtrx433E. This fantastic USB 433.92MHz Transceiver enables your domotic server to talk to most of 433MHz device on the market. But it has a maximum range of 20-30 meters in a typical indoor configuration. So, like your WiFi router, it should be placed in the middle of your home. As there is a big chance that your server won't be located in the middle of your home and as this device is USB connected, you are in trouble.

An elegant and efficient option is to plug the RFXtrx433E to any network device properly located and to create a network bridge between this device and your domotic server. This network connected device could be a raspberry pi, but best would be to directly use any of your home WiFi device running OpenWRT.

This guide explains how to use any WiFi device (router, access point or repeater) with a free USB plug as a bridge between your RFXtrx433E USB plug and your domotic server. The only pre requisite is to run OpenWRT on that device so that it runs a full Linux kernel. Hopefully, a lot of wifi device can be flashed with openwrt.

This setup has been designed and tested on a TP-Link TL-WDR4900v1 router and a Debian 8 server. But it can be adapted to any other OpenWRT flashable device and a domotic server running any modern Linux distribution.

Read more: RFXtrx433 - Access your Remote USB transceiver plugged to an OpenWRT device

DNS 320L - Funplug 0.7 : Supervise Fan Speed and Case & HDD temperature with Munin

dropcap dns320 muninWhen you run a DNS-320L NAS, as it is holding your important data secure, it may of great interest to check its important health data, like :

  • fan rotation
  • case temperature
  • harddisk temperature

This article explains how to setup your DNS-320L to report its fan rotation speed and its internal temperatures (case & hard disks) as a Munin node.

All these sensor data will then be reported to your centralised Munin console.

A pre-requisite is to have fully prepared your DNS-320 to run as a Munin node. To do so, you need to follow these articles :

  1. DNS 320 & 325 - Extend your NAS possibilities with Funplug 0.7
  2. DNS 320 & 325 - Funplug 0.7 : Install Compilation Environment
  3. DNS 320, 323 & 325 - Funplug 0.7 : Install a Munin node with Muninlite

This procedure has been tested on a DNS-320 running firmware V1.00.

Read more: DNS 320L - Funplug 0.7 : Supervise Fan Speed and Case & HDD temperature with Munin

DNS 325 - Funplug 0.7 : Setup your NAS as a Permanent BTSync Peer

dropcap-dns325-btsync

BitTorrent Sync is a young p2p tool which opens some fantastic possibilities. It may revolutionize the way you'll handle your private file sharing as it allows you to share & synchronize your files across multiple devices (PC, tablet, smartphone, ...) on the net in almost real time.

Some examples of the possibilities opened by BTSync are described in the article BTSync - How peer-to-peer may Simplify your Life.

Like with any p2p network, BTSync needs to get some accessible peers to start synchronisation.

So, to allow synchronisation to be done at any time, you can setup a permanent BTSync peer on a NAS running 24/24. As your NAS is always connected, it will handle all your devices connexions whenever they need it.

This article explains how to install a BTSync client on a DNS-325. It will transform it as a permanent BTSync network peer. Any device (PC, smartphone, tablet, ...) will then be able to synchronize any time. You will have then created your self hosted Dropbox or Google Drive replacement.

It has been tested on a DNS-325 running firmware 1.04. As a pre-requisite, funplug 0.7 must be installed on your DNS-325.

Read more: DNS 325 - Funplug 0.7 : Setup your NAS as a Permanent BTSync Peer

DNS 320, 323 & 325 - Funplug 0.7 : Install a Munin node with Muninlite

dropcap-dns325-munin

If you are the owner of a DNS-323, DNS-320 or DNS-325 NAS device, you may have noticed that there is no simple way to supervise like any other network equipment.

In some previous articles, I explained how to install Net-SNMP on these devices to be able to supervise them. Main advantage of SNMP is that you'll be able to use any supervision tool like Nagios, Munin, ...

But, if you are using a Munin supervision console, a simple approach would be to install a munin node client on your NAS. But munin-node client compilation is quite tricky on devices like DNS-323 & DNS-325.

So, another approach to get a Munin node is to use Muninlite client, which has been especially designed to be installed on tiny devices with limited OS capabilities.

This article explains how to install and configure a Muninlite client on a DNS-323, DNS-320 or DNS-325 NAS running funplug. This will allow you to supervise your NAS device thru any Munin supervision console.

As a pre-requisite, funplug 0.7 must be installed on your NAS device and your compilation environment operational.

Installation guides are available for :

Read more: DNS 320, 323 & 325 - Funplug 0.7 : Install a Munin node with Muninlite

DNS 323 - Funplug 0.7 : Supervise Fan Speed and Case & HDD temperature with SNMP

dropcap-dns323-snmpWhen you run Net-SNMP on your DNS-323, you must have realised that standard SNMP MIBs are not providing a way to supervise your NAS temperature sensors (internal case & hard disk).

Thanks to the open nature of Net-SNMP project, it is possible to extend the Net-SNMP MIBs thru simple shell scripts.

The principle is quite simple :

  • Some new MIBs are declared to SNMP daemon with associated shell scripts
  • SNMP daemon publishes these new MIBs with the standard ones
  • When the MIB is called, SNMP daemon triggers the associated shell scripts to read the sensor values

With this approach, it becomes quite simple to publish DNS-323 fan speed and temperature sensors MIB.

This article explains how to setup your DNS-323 SNMP deamon so that it publishes some extended MIBs to read fan speed and internal case & disks temperature thru their respective sensors.

This will allow you to supervise your DNS-323 temperature levels thru SNMP with supervision softwares like Nagios, Munin, ... A Munin node example under Debian is also provided in this article.

A pre-requisite is to have have fully prepared your DNS-323 with fun_plug 0.7 and adds-on , with a complete compilation environment and Net-SNMP installation.

Read more: DNS 323 - Funplug 0.7 : Supervise Fan Speed and Case & HDD temperature with SNMP

DNS 323 - Funplug 0.7 : Supervise your NAS thru SNMP

dropcap-dns323-snmp

If you own a DNS-323, you may have noticed that there is no simple way to supervise it.

Hopefully, thanks to funplug it is possible to compile and install Net-SNMP on this NAS.

Once it is installed, your DNS-323 becomes a fully featured SNMP device. A lot of possibilities are then opened in term of management and supervision.

This article explains how to setup an operational net-SNMP agent on a DNS-323 NAS running funplug.

This will allow you to supervise your DNS-323 thru SNMP with supervision softwares like Nagios, Munin, ...

A pre-requisite is to have have fully prepared your DNS-323 with fun_plug 0.7 and adds-on and to have setup the DNS-323 compilation environment.

Read more: DNS 323 - Funplug 0.7 : Supervise your NAS thru SNMP

DNS 323 - Funplug 0.7 : Install Compilation Environment

dropcap-dns323-gnu

This article explains how to easily setup a complete GNU compilation environment on your DNS-325.

This will allow you to compile natively some very interesting applications to enhance your NAS possibilities.

Thanks to Fonz, all compilation tools (GNU compiler, GNU autotools, Subversion tools & GIT) can be installed easily thru slacker.

Read more: DNS 323 - Funplug 0.7 : Install Compilation Environment

DNS 325 - Funplug 0.7 : Supervise Fan Speed and Case & HDD temperature with SNMP

dropcap-dns325-snmpWhen you run Net-SNMP on your DNS-325, you must have realised that standard SNMP MIBs are not providing a way to supervise your NAS temperature sensors (internal case & hard disk).

Thanks to the open nature of Net-SNMP project, it is possible to extend the Net-SNMP MIBs thru simple shell scripts.

The principle is quite simple :

  • Some new MIBs are declared to SNMP daemon with associated shell scripts
  • SNMP daemon publishes these new MIBs with the standard ones
  • When the MIB is called, SNMP daemon triggers the associated shell scripts to read the sensor values

With this approach, it becomes quite simple to publish DNS-325 fan speed and temperature sensors MIB.

This article explains how to setup your DNS-325 SNMP deamon so that it publishes some extended MIBs to read fan speed and internal case & disks temperature thru their respective sensors.

This will allow you to supervise your DNS-325 temperature levels thru SNMP with supervision softwares like Nagios, Munin, ... A Munin node example under Debian is also provided in this article.

A pre-requisite is to have have fully prepared your DNS-325 with fun_plug 0.7 and adds-on and to have Net-SNMP installed.

Even if not tested, this procedure should also be compatible with DNS-320 devices.

Read more: DNS 325 - Funplug 0.7 : Supervise Fan Speed and Case & HDD temperature with SNMP

DNS 325 - Funplug 0.7 : Supervise your NAS thru SNMP

dropcap-dns325-snmp

If you own a DNS-325, you may have noticed that there is no simple way to supervise it.

Hopefully, thanks to funplug and to Mijzelf repository, it is possible to install Net-SNMP on this NAS.

Once it is installed, your DNS-325 becomes a fully featured SNMP device. A lot of possibilities are then opened in term of management and supervision.

This article explains how to setup an operational net-SNMP agent on a DNS-325 NAS running funplug.

This will allow you to supervise your DNS-325 thru SNMP with supervision softwares like Nagios, Munin, ...

A pre-requisite is to have have fully prepared your DNS-325 with fun_plug 0.7 and adds-on.

Even if not tested, this procedure should also be compatible with DNS-320 devices.

Read more: DNS 325 - Funplug 0.7 : Supervise your NAS thru SNMP

Page 1 of 3