Skip to main content
Question

centreon_prometheus_kubernetes_api the allocated pods per nodes is not displaying the pods

  • September 8, 2025
  • 1 reply
  • 15 views

Forum|alt.badge.img

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

 

1 reply

omercier
Centreonian
Forum|alt.badge.img+13
  • Centreonian
  • 278 replies
  • October 3, 2025

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.