hengst
22 October 2016 13:12
1
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
laf
22 October 2016 16:05
2
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.
hengst
24 October 2016 16:37
3
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
laf
24 October 2016 19:41
4
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.
hengst
28 November 2016 15:33
5
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.
hengst
28 November 2016 18:10
6
I found an existing “extension” which could be modified for my purpose ?
When we moved into our new build home, I felt the urge to know what was going on inside the Ventilation System. The manual revealed some pretty interesting features, regarding home automation. The control of the system can be linked to superior...
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 …