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?
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?
Comment