Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
check number of pods in openshift or kubernetes node
Current Version
1
Last Release Date
2016-03-23
Owner
Shtrih
Website
https://github.com/mrGrab/pods_on_node.py
Download URL
https://github.com/mrGrab/pods_on_node.py.git
License
Other
Compatible With
This is simple python script which sends api request to openshift (or kubernetes) master server: /api/v1/pods and parse json response.
usage: pods_on_node.py --ulr openshift_master --node node_name --token bearer_token --warn int_of_pods --crit int_of_pods
Nagios plugin to get number of pods in node
optional arguments: -h, --help show this help message and exit -u URL, --url URL url:[port] of openshfit or kubernetes master server -n NODE, --node NODE node name for which you need info -t TOKEN,--token TOKEN token for connection to openshift master -w WARN, --warn WARN warning level of quantity pods -c CRIT, --crit CRIT critical level of quantity pods to use it you have to get token from secret for service account with cluster-reader permissions. If you have configured origin-metrics you can use heapster token
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!