The file you need to modify is
~/lib/check_mk/base/plugins/agent_based/utils/ups.py
But pay attention if you modify this file you need to make the modification again after the next CMK update.
The file you need to modify is
~/lib/check_mk/base/plugins/agent_based/utils/ups.py
But pay attention if you modify this file you need to make the modification again after the next CMK update.