Hi,
I'm trying to use the inventory functionnality of zabbix but I'm blocked by the html balise interpretation. I want to put this in the "hardware" textarea :
Description : eth0
Type : Ethernet
Vitesse :
Adresse MAC : AA:BB:CC
D:EE:FF
Statut : Up
Adresse IP : 1.2.3.4
Masque : 255.255.255.0
Gateway : 1.2.3.254
Sous reseau : 1.2.3.0
But then I want to see the result in Inventory -> Host, All is put on one line without the text disposition. So, to solve this, I have add the html tag <br/> at the end of each line but it's doesn't change anything. The text is return like this :
Description : eth0<br/>Type : Ethernet<br/>Vitesse : <br/>Adresse MAC : AA:BB:CC
D:EE:FF<br/>Statut : Up<br/>Adresse IP : 1.2.3.4<br/>Masque : 255.255.255.0<br/>Gateway : 1.2.3.254<br/>Sous reseau : 1.2.3.0<br/>
With Firebug I try to find what's happened. I find the text writen like this in the page code :
Description : eth0<br/>Type : Ethernet<br/>Vitesse : <br/>Adresse MAC : AA:BB:CC
D:EE:FF<br/>Statut : Up<br/>Adresse IP : 1.2.3.4<br/>Masque : 255.255.255.0<br/>Gateway : 1.2.3.254<br/>Sous reseau : 1.2.3.0<br/>
I'm block. I don't find how to have a good html tag interpretation. I try to modify the func.inc.php but I don't find the function or the code part to change.
If anyone have a suggestion.
It's for a OCS NG Zabbix inventory synchronisation addon.
Thx
Zabbix : 1.8.3
I'm trying to use the inventory functionnality of zabbix but I'm blocked by the html balise interpretation. I want to put this in the "hardware" textarea :
Description : eth0
Type : Ethernet
Vitesse :
Adresse MAC : AA:BB:CC
D:EE:FFStatut : Up
Adresse IP : 1.2.3.4
Masque : 255.255.255.0
Gateway : 1.2.3.254
Sous reseau : 1.2.3.0
But then I want to see the result in Inventory -> Host, All is put on one line without the text disposition. So, to solve this, I have add the html tag <br/> at the end of each line but it's doesn't change anything. The text is return like this :
Description : eth0<br/>Type : Ethernet<br/>Vitesse : <br/>Adresse MAC : AA:BB:CC
D:EE:FF<br/>Statut : Up<br/>Adresse IP : 1.2.3.4<br/>Masque : 255.255.255.0<br/>Gateway : 1.2.3.254<br/>Sous reseau : 1.2.3.0<br/>With Firebug I try to find what's happened. I find the text writen like this in the page code :
Description : eth0<br/>Type : Ethernet<br/>Vitesse : <br/>Adresse MAC : AA:BB:CC
D:EE:FF<br/>Statut : Up<br/>Adresse IP : 1.2.3.4<br/>Masque : 255.255.255.0<br/>Gateway : 1.2.3.254<br/>Sous reseau : 1.2.3.0<br/>I'm block. I don't find how to have a good html tag interpretation. I try to modify the func.inc.php but I don't find the function or the code part to change.
If anyone have a suggestion.
It's for a OCS NG Zabbix inventory synchronisation addon.
Thx
Zabbix : 1.8.3