Giter Site home page Giter Site logo

check_kubernetes's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

check_kubernetes's Issues

Error Cert/SSL

When I run this :
sudo -u root /lib64/nagios/plugins/check_kubernetes -kubeconfig /etc/icingatest/config -type deployment -namespace itsma1 -name *

I got this error message do you know why ? i run it in root but crt is blocked

Cannot configure kubernetes client: invalid configuration: [unable to read client-cert /opt/kubernetes/ssl/server.crt for kubelet due to open /opt/kubernetes/ssl/server.crt:

execvpe failed: Permission denied

Hey,

I'm wondering if I'm doing anything wrong here.

Kubernetes successfully created all the stuff in icinga, but when I have a look at the webinterface, all reported resources are marked as down because of this:

execvpe(/usr/lib64/nagios/plugins/check_kubernetes) failed: Permission denied

Executing it with the icinga user is just fine:

sudo -u icinga /usr/lib64/nagios/plugins/check_kubernetes -kubeconfig /etc/kubeconfig -type deployment -namespace kube-system -name kube-dns

OK: 2/2 replicas available, 2/2 replicas up to spec and running
ls -ahl check_kubernetes
-rwxr-xr-x. 1 root root 19M Jun 12 11:45 check_kubernetes

Any idea what that could be?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.