NagiosEnterprises / ncpa

Nagios Cross-Platform Agent
Other
177 stars 95 forks source link

combine swapin + swapout into one check #846

Open btrnka63 opened 2 years ago

btrnka63 commented 2 years ago

Hello, with a reference to https://github.com/NagiosEnterprises/ncpa/issues/674 would it be possible to combine these to metrics into one check-result?

I mean, next to having "api/memory/swap/swapped_out" and "api/memory/swap/swapped_in" to have also "api/memory/swap/swapped" which would return both values swapin + swapout in the result (similarly as "api/memory/swap" combines the "used", "free" and "total").

Thanks.

jomann09 commented 2 years ago

Yeah I think that this is probably a good idea, we can definitely mark it as an enhancement, might be able to do this in a version after 3.