Hello everyone,
I'm currently scanning my switches with SNMP to discover them and add them in zabbix
Everything is working fine but there is some statistics who are not available through snmp
My current solution is to use a Linux Server with the Zabbix agent. The agent execute a python script who connect to the switch, run the command, format the output and print a json.
I'm currently using system.run to launch the script :

It's working but there is a small issue : if I want to use system.run, I need to manually configure an agent interface with the IP of the remote server on each switch

Is there any way to automatise this process ? I will have 100-150 switches to monitor at some point, it would be great if Zabbix could to it automaticaly
If I'm not doing this correctly and there is a simpler solution, don't hesitate to correct me
Thanks everyone !
I'm currently scanning my switches with SNMP to discover them and add them in zabbix
Everything is working fine but there is some statistics who are not available through snmp

My current solution is to use a Linux Server with the Zabbix agent. The agent execute a python script who connect to the switch, run the command, format the output and print a json.
I'm currently using system.run to launch the script :
It's working but there is a small issue : if I want to use system.run, I need to manually configure an agent interface with the IP of the remote server on each switch
Is there any way to automatise this process ? I will have 100-150 switches to monitor at some point, it would be great if Zabbix could to it automaticaly

If I'm not doing this correctly and there is a simpler solution, don't hesitate to correct me

Thanks everyone !
Comment