Hello to all again. Please I need your help to do the following:
I need to make a template in Zabbix to do several SNMP queries to a specific device based on his MAC address. I have the OIDs that I need, but
the problem is that I need to specify an index that represents the particular device that I want to query: For example (I use an imaginary OID, as an example):
1.2.3.4.100.device_index
1.2.3.4.101.device_index
1.2.3.4.102.device_index
1.2.3.4.103.device_index
1.2.3.4.104.device_index
1.2.3.4.105.device_index
1.2.3.4.106.device_index
1.2.3.4.107.device_index
There are several devices and obiously one index per device. Note if that i do a "snmpwalk" to the OID (1.2.3.4 in this case) I obtain the value for all the devices, but I need it only for one specific device.
I have a PHP script that obtains the index of the particular device that I need based on his MAC. Then I need that Zabbix invokes this script using the MAC as a parameter, obtain the index and then execute the query. Is this possible?
Thanks a lot and best regards,
Mauro.
I need to make a template in Zabbix to do several SNMP queries to a specific device based on his MAC address. I have the OIDs that I need, but
the problem is that I need to specify an index that represents the particular device that I want to query: For example (I use an imaginary OID, as an example):
1.2.3.4.100.device_index
1.2.3.4.101.device_index
1.2.3.4.102.device_index
1.2.3.4.103.device_index
1.2.3.4.104.device_index
1.2.3.4.105.device_index
1.2.3.4.106.device_index
1.2.3.4.107.device_index
There are several devices and obiously one index per device. Note if that i do a "snmpwalk" to the OID (1.2.3.4 in this case) I obtain the value for all the devices, but I need it only for one specific device.
I have a PHP script that obtains the index of the particular device that I need based on his MAC. Then I need that Zabbix invokes this script using the MAC as a parameter, obtain the index and then execute the query. Is this possible?
Thanks a lot and best regards,
Mauro.
Comment