Ad Widget

Collapse

Zabbix + python

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zumi_fi
    Junior Member
    • Sep 2018
    • 10

    #1

    Zabbix + python

    Hello friends!

    I've come to a dead end thinking how to implement this:

    I made with Python a scripts that reads content from several text files and gives a numeric value per file.
    The problem is that there is almost 50 of these files. It means that there is also almost 50 values to monitor.
    I made the script so that all the "monitoring" is been done in one python script.

    Now I can't figure out how to send these values to Zabbix.
    Yes it works if I do it like script per file but it would be stupid to have almos 50 scripts.
    I was thinking that I would send the data within one script to Zabbix via Zabbix sender and Zabbix server would take the via item trappers.

    Sadly I didn't find any examples by Googling this. Does someone know how I could make this?
  • max.ch.88
    Senior Member
    • Oct 2018
    • 206

    #2
    Yes, zabbix_sender will help you.
    https://www.zabbix.com/documentation.../zabbix_sender

    Comment

    Working...