PDA

View Full Version : Search some feature in zabbix


Sami Kheder
10-09-2009, 15:49
Hello,

I'm using zabbix from few days, and I search some feature (present on CACTI) :

1/ Is possible to apply "CDEF" or function on a item value. (Ex: A snmp check return a value in bytes unit and I want convert it on kByte without use a script) ?

2/ Is possible to use snmp query with an index, without create a new item for each index (ex: check traffic port on a cisco switch, can I make one generic item for all port or must I create an item for each port) ?

3/ Can I personalize a graph (adding a legend, set a line and a stack on the same graph, personalize the default legend value) ?

tks

zabbix_zen
11-09-2009, 11:19
1) In 'Configuration' -> 'Items', click your item's name and you'll find
a Units field:
where Zabbix does a abs<1000 or abs<1024 check and will recognize the value's correct format
for bits:
K - 1024
M - 1024^2
G - 1024^3
T - 1024^4

for other units:
K - 10^3
M - 10^6
G - 10^9

2) don't have a clue, I'm not using it to check Switches Ports, but I recall you can configure the ports on Auto-Discovery as a Range or List( 38-45, 67-75, 80, 88-90) and you probably can connect that to a Trigger.

3)
The graph's legend will take the Trigger's name you specified, so yes, you can personalize the item's name -> legend name.
Zabbix either allows you to have a graph with stacks, or lines, but you kind ofn are allowed to simulate a stacked look in a 'Normal Graph Type' if you configure one Item as 'Draw Style: Line' and the other one as 'Draw Style: Filled'