Skip to main content

Do someone managed to make it worked, the allocated-pods metric return me the following :

 

OK: All nodes status are ok
Node 'cpklp001.ad.curia.europa.eu' Status is 'Ready', New Pods Schedulable : true - allocated-pods : skipped (no value(s))

i have the folowing command :

/usr/lib/centreon/plugins/centreon_prometheus_kubernetes_api.pl --plugin=cloud::prometheus::direct::kubernetes::plugin --mode=node-status --hostname=example  --url-path='/api/v1'  --port='443' --proto='https' --node='node=~".*"' --warning-status='' --critical-status='%\{status\} !~ /Ready/ || %\{schedulable\} =~ /false/' --warning-allocated-pods='' --critical-allocated-pods='' --units='' --verbose

 

Hi ​@demiral can you re-run this command with the --debug option?

Please note that one of the lines in the displayed output will contain your credentials: a header in your authentication request containg Authorization: Basic. Please remove it before sending us the result.