Hello friends. Your help is needed. For the cluster-events mode of the plugin I mentioned, we need examples of the command.
Command :
/usr/lib/centreon/plugins//centreon_kubernetes_api.pl --plugin=cloud::kubernetes::plugin --mode=cluster-events --custommode='kubectl' --hostname= --port='' --proto='' --token='' --config-file='/var/lib/centreon-engine/.kube/config' --proxyurl='' --timeout='' --filter-type='' --filter-namespace='' --warning-status='' --critical-status='' --verbose
What should I do to make it appear when there are errors?
'%{type} =~ /warning/i'
'%{type} =~ /error/i'