From: Roy S. K. <ro...@ka...> - 2022-05-31 09:33:29
|
I don't think zabbix can do this by itself, but again, it should be trivial to do it with an external script, using snmpwalk or even some library in perl/python/whateveryoufancy Vennlig hilsen roy -- Roy Sigurd Karlsbakk (+47) 98013356 http://blogg.karlsbakk.net/ GPG Public key: http://karlsbakk.net/roysigurdkarlsbakk.pubkey.txt -- Hið góða skaltu í stein höggva, hið illa í snjó rita. > From: "henri hemery" <hen...@gm...> > To: "zabbix-users" <zab...@li...> > Sent: Monday, 30 May, 2022 14:07:55 > Subject: [Zabbix-users] how to build an item to count items? > Hi! > I am a Network admin and I'm using zabbix since 4 years now in my comapny, and > it is a great tool, love it. I am running under 4.4 version, but we will soon > upgrade it to 6. > I monitor around 300 devices . > Now I would like to use zabbix for our switches capacity planning. > So from LLD, I got my switches interfaces operationnal status, key is > net.if.status[ifOperStatus.1] to net.if.status[ifOperStatus.243]. value can be > up (1) or down (2) > I would like to create a calculated item that will divide the total number of > interfaces by the number of up interfaces. > I am struggling to find a solution without success, could you guys help me to > find the solution. > Thanks for your help. > _______________________________________________ > Zabbix-users mailing list > Zab...@li... > https://lists.sourceforge.net/lists/listinfo/zabbix-users |