Hi forum,
I wanted to share with you a Template I made up to use our Zabbix as Capacity Planning monitoring tool.
I not an expert so it took me a while, I even gave the idea for years until I proggressed to a point where I am abble to devellop my own template to do so.
So this template actually works only with HPE 5130 or 5140, 24 and 48 ports ,stacked or not (IRF), but could be easily tunable for Cisco, Huawei or others.
The template contain 2 discovery rules:
First one got an item prototype that extract From OID:
value '48' or '24' from index "HPE 5140 48G PoE+ 4SFP+ EI Sw JL824A Software Version 7.1.070" (example) for each board found with the help of a Javascript (Thanks ChatGPT!)-->board.net.if.nbr
Second one's item prototype collect all
indexes vith value 1 (UP) -->net.if.up
Then 3 calculated items do the work:
1 - sum up all boards ports number
-->sw.net.if.total
2 - sum up all up ports:
-->sw.net.up.total
3 - do the math to get the percentage:
-->sw.capa.pl.utilization
Cool thing to represent the datas: Top host widget
:
YAML file: https://jumpshare.com/s/BnlBc2fQDzd1cMnJ2kwH
Thanks for reading, any comment welcomed
I wanted to share with you a Template I made up to use our Zabbix as Capacity Planning monitoring tool.
I not an expert so it took me a while, I even gave the idea for years until I proggressed to a point where I am abble to devellop my own template to do so.
So this template actually works only with HPE 5130 or 5140, 24 and 48 ports ,stacked or not (IRF), but could be easily tunable for Cisco, Huawei or others.
The template contain 2 discovery rules:
First one got an item prototype that extract From OID:
PHP Code:
({#ENT_HW},1.3.6.1.2.1.47.1.1.1.1.2)
Second one's item prototype collect all
PHP Code:
(({#IFOPERSTATUS},1.3.6.1.2.1.2.2.1.8)
Then 3 calculated items do the work:
1 - sum up all boards ports number
PHP Code:
sum(last_foreach(//board.net.if.nbr[*]))
2 - sum up all up ports:
PHP Code:
sum(last_foreach(//net.if.up[*]))
3 - do the math to get the percentage:
PHP Code:
round(100*last(//sw.net.up.total)/last(//sw.net.if.total),0)
Cool thing to represent the datas: Top host widget
:
YAML file: https://jumpshare.com/s/BnlBc2fQDzd1cMnJ2kwH
Thanks for reading, any comment welcomed
sorry for the late answer, I was abroad...Here it is:
Comment