Ad Widget

Collapse

monitoring not ethernet devices

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jolypas
    Junior Member
    • Aug 2015
    • 15

    #1

    monitoring not ethernet devices

    Hello

    I would like to monitor some wireless devices which are not ethernet nor snmp ...

    These devices are providing data such as temperature, humidity, battery level , etc ... and I can format these data with an unique ID extracted from a database.

    I can create items one by one on a server using UserParameter and shell script but I would like to make theses devices independant from this server and trigger the datas.

    questions
    1) is it possible to create such devices (hosts) without ip adresses ? I tried to use zabbix_sender with a host name but it failed from server side

    2) if not, is it possible to use 2 arguments in a shell script (example : DeviceId and dataname) instead of only one in order to have a unique script for all devices ?

    Thanks
  • jamesNJ
    Senior Member
    • Jun 2015
    • 103

    #2
    You can create a new host and use 127.0.0.1 port 10050 (default zabbix agent on the zabbix server). Then you can use simple, zabbix agent, external checks, etc. to collect data. I didn't try this, but for each of this hosts you could probably set up trap types and then use zabbix_sender with -s to differentiate the host names to register the data under.

    Comment

    • jolypas
      Junior Member
      • Aug 2015
      • 15

      #3
      Hello
      It works fine using zabbix trapper on the server & zabbix_sender

      Now I would like to use it also from raspberry but I cannot find zabbix_sender for raspberry (I just found zabbix_agent)

      Do you know if we can get zabbix_sender for raspberry architecture ?

      Thanks

      Comment

      • jamesNJ
        Senior Member
        • Jun 2015
        • 103

        #4
        I do not know anything about that architecture, but the source to zabbix exists and likely if you have a development toolchain for the rpi you could build it yourself.

        Comment

        • jolypas
          Junior Member
          • Aug 2015
          • 15

          #5
          hello

          thanks for your help

          I tried this first but I did not success to compile zabbix on raspebrry despite some recommandations in forums

          Anyway, I transfered the file to process to a server with zabbix_sender available (using scp) and use it remotely (using ssh) with the rigth certificates.

          This is not the best way but it works for the moment

          Regards

          Comment

          Working...