Code Monkey home page Code Monkey logo

check-syno's Introduction

CheckSyno - Synology monitoring plugin for Icinga (Nagios, et al)

This is a monitoring plugin following the Nagios Plugins specifications to monitor a Synology NAS. The plugin is written in Java but is already packed in a distributable format for you in case you do not have a JRE installed on your server. The plugin works with a Synology in which SNMP (v2) is enabled.

What is monitored

System

  • System partition status
  • System temperature
  • Power supply status
  • System fan status
  • CPU fan status

CPU

  • User time
  • System time
  • Idle time
  • Load 1 minute
  • Load 5 minutes
  • Load 15 minutes

Disks & Storage

⭐ Disks are automatically discovered - up to 64 disks supported

  • Status
  • Temperature
  • Bytes read (since NAS' boot)
  • Bytes written (since NAS' boot)
  • Read access (since NAS' boot)
  • Write access (since NAS' boot)
  • Load percentage
  • Load percentage 1 minutes
  • Load percentage 5 minutes
  • Load percentage 15 minutes

Filesystems

⭐ Filesystems are automatically discovered - up to 255 filesystems supported

  • Total size
  • Used size
  • Remaining
  • Used percentage
  • Bytes read (since NAS' boot)
  • Bytes written (since NAS' boot)

Memory

  • Total swap space
  • Swap space unused
  • Total physical memory
  • Total physical memory unused
  • Total memory free
  • Total memory allocated

Networking

⭐ NICs are automatically discovered - up to 16 NICs supported

  • Octets received (since NAS' boot)
  • Octets transmitted (since NAS' boot)

RAID

⭐ RAID volumes are automatically discovered - up to 64 RAID volumes supported

  • Status

Thresholds

The following thresholds are supported:

  • Temperature warning & critical threshold
  • Space usage warning & critical threshold

How to build

Go to dist folder and execute the dist.sh scirpt:

How to run

With Java

If you have a JRE available on your server (>= J2SE 1.7), you can use the check-syno-VERSION.jar file as, e.g.: java -jar check-syno-1.0.0.jar

Without Java

Extract the *.tar.gz file for your OS and execute directly the binary distribution (see also below).

Java? Java is slooooow

Not really...

check-syno's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

check-syno's Issues

Exception in thread "main" java.lang.NumberFormatException: For input string: "noSuchInstance"

Distribution: Ubuntu 16.04
Issue: Attempting to run the Bin file produces no output, but using Jar file does.

Using Command line: java -jar check-syno-1.0.0-SNAPSHOT.jar --community synology --hostname 172.16.0.2

Or any variations, causes:

Exception in thread "main" java.lang.NumberFormatException: For input string: "noSuchInstance"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Long.parseLong(Long.java:589)
at java.lang.Long.parseLong(Long.java:631)
at com.github.jitpack.synocheck.mib.FilesystemInfo.get(FilesystemInfo.java:29)
at com.github.jitpack.synocheck.CheckSyno.getMetrics(CheckSyno.java:97)
at com.github.jitpack.synocheck.CheckSyno.main(CheckSyno.java:182)

Honestly, I'm no expert at this, very inexperienced with Java. But your plugin is the best available I can find. So very keen to use! Hopefully I'm not an idiot and wasting your time.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.