ssnsaini
(ssnsaini)
November 16, 2023, 4:48pm
1
CMK version: 2.1
OS version: RHEL8
Hi,
I want to make a change to the following python script
/omd/sites/global/lib/python3/cmk/base/plugins/agent_based/kube_node_count.py
How do I get the changes effective? I have restarted the omd site (omd restart) but it doesn’t produce the output I require.
Thanks
r.sander
(Robert Sander)
November 16, 2023, 5:07pm
2
Put a copy of that file in $OMD_ROOT/local/lib/python3/cmk/base/plugins/agent_based/kube_node_count.py and edit it there.
This way your changes survive an update. To activate the changes run cmk -R.
2 Likes
system
(system)
Closed
November 15, 2024, 5:08pm
3
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.