Giter Site home page Giter Site logo

psztoch / check_modbus Goto Github PK

View Code? Open in Web Editor NEW

This project forked from andreysv/check_modbus

0.0 0.0 0.0 695 KB

Nagios plugin for Modbus TCP and Modbus RTU

License: GNU General Public License v3.0

Shell 12.02% C 65.35% Makefile 0.82% M4 12.97% Roff 8.85%

check_modbus's Introduction

This is Nagios plugin for Modbus TCP and RTU.
The first version of this plugin was taken from
http://exchange.nagios.org/directory/Plugins/Network-and-Systems-Management/Check_modbus_tcp/details

Added many useful features:
- support of IPv6 / IPv4 
- support of DNS names
- serial port connections (RS232 and RS485) with Modbus RTU (when compiled with libmodbus >= 3.0.0)
- support of many data formats  (unsigned/signed int16_t, int32_t, float, double)
- support of several data orders (LSB, MSB and some others)
- retries can be sent to get reliable answer
- supports performance data
- supports creation dump of the registers in different formats (binary, hexadecimal, decimal)
- support binary dump as an input source for data (useful for off-line data)
- separate lock files for input and output


In general, plugin can be build as usual

./autogen.sh
./configure
make
make install


When you are trying to build plugin under MinGW, then maybe you will need to define path for libmodbus explicitly.

libmodbus is installed by default in /usr/local/lib. In MinGW you will need to run 

./configure LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include

instead of just ./configure


For usage details see manual page or run ./check_modbus --help.

check_modbus's People

Contributors

andreysv avatar sq5gvm avatar phibos avatar k0ste avatar psztoch avatar jmontesinos2 avatar

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.