This is my second implementation of Zabbix in a large IT shop. The question that always comes from the Unix IT support folks is whether Zabbix can monitor and keep history of the top output on Unix servers. This would be a huge selling point for Zabbix.
Has anyone successfully implemented a way to monitor top?
Has anyone successfully implemented a way to monitor top?
And yes I am more specifically referring to people wanting Zabbix to look just like top, or have data that looks like that. If it's just a matter of the top N processes, have a look at the second code snippet I put up. It will also group all processes with the same name giving a cumulative total, including the grouping of processes with a name similar to process/1 (that's what the crazy sed statement takes care of).

Comment