Monitoring not snmp ( rs485 / Rtu / Modbus ) ( Thru Mikrotik snmp )

I have some not snmp or rs485 ( modbus ) devices i would ike to monitor.

I can reach the rs485 bus via Tcp/ip:port ( with Mikrotik routerboard usb/serial- usb-rs485converter )

so how to collect data and put in database / LibreNMS, i read a LOT , but am stuck.

i know of software, but don have knowledge how to use it with LibreNMS
http://www.freemodbus.org/
http://pes.free.fr/

some info about data thru Mikrotik serial/usb SNMP wich might be helpful
http://forum.mikrotik.com/viewtopic.php?f=8&t=41871&p=268766&hilit=snmp+serial#p268766

We don’t have support for non-snmp based devices.

You can fudge this by using check_mk with munin scripts which run on localhost and connect to what you need. However we have little to no documentation on this feature.

thanks Iaf,

i am checking it out and learning how to do it.

To add easy info here for other readers …and reference for my self

http://wiki.mikrotik.com/wiki/Munin_Monitoring#Introduction

You don’t need to go with a full munin install, it’s just a script in our agent repo.

I don’t use that side but someone else might be along to offer assistance.

i now know what you mean with “check_mk”

To clarify ( for other readers ) , you were probably referring to these “extensions”

http://docs.librenms.org/Extensions/Applications/#applications

maybe someone can assist further in building such a script for rs485 / serial communication.

I found an existing “extension” which could be modified for my purpose ?

e.g. sending an Hex command to an IP-address:port and receiving its Hex response to be parsed to and Human readable number.

can i use this plugin/script in LibeNMS ?

Just a thought here.

Why cant you use Nagios checks as Services and create your own scripts to accomplish this. /?

http://docs.librenms.org/Extensions/Services/

to continue my project, following the ideas here. i seems there is a solution out of the box.

i am having trouble compiling it from source , hoping someone with more skills can update the code, i had a look at it but a bridge too far for me to fix it.

seems there is activity on github. i do not have tthe right skills but may be able to continu.

My goal is to read RTU, Rs232 or other serial protocol over tcp/ip and present values in LibreNMS . probably with a Nagios plugin.

if its possible would be very strong tool to add as default option in NMS to add a Serial over tcp/ip device.

so it seems i have a plan for the weekend …