Getting Kubernetes monitoring in Nagios
Posted: Tue Jan 29, 2019 12:34 pm
Admittedly this is not my strong suit. I have been trying to get kubernetes to report/monitor from within Nagios. I have not been successful. After running the command: juju deploy nrpe-external-master the following output shows with the sudo juju status command:
Model Controller Cloud/Region Version SLA Timestamp
controller test-juju localhost/localhost 2.5.0 unsupported 11:22:26-05:00
App Version Status Scale Charm Store Rev OS Notes
nrpe-external-master waiting 0 nrpe-external-master jujucharms 17 ubuntu
Machine State DNS Inst id Series AZ Message
0 started 10.181.20.35 juju-20b935-0 bionic Running
I can not get the nrpe app out of waiting status. When I tried running the command: juju configure nrpe-external-master nagios_master= [my external nagios XI install ip addy], I get an error that the command isnt valid. When I shorten configure ot config I get no output displayed but no error message.
Nothing changes with that current waiting status. The Kubernetes implementation I'm trying to monitor was already installed (not via juju) so any time I try to add a relation it basically says there is no kubernetes components to relate to? I have tried to figure out how to have juju see my separately installed kubes cluster and the furthest I got was getting the cloud to be seen.
All of this and I still dont see any kubes info in Nagios......I suspect until I figure out why the nrpe-external-master shows running it wont work.... I just dont know what do to to get past this point. I tried doing my googles but I have come up with nothing so far.
Model Controller Cloud/Region Version SLA Timestamp
controller test-juju localhost/localhost 2.5.0 unsupported 11:22:26-05:00
App Version Status Scale Charm Store Rev OS Notes
nrpe-external-master waiting 0 nrpe-external-master jujucharms 17 ubuntu
Machine State DNS Inst id Series AZ Message
0 started 10.181.20.35 juju-20b935-0 bionic Running
I can not get the nrpe app out of waiting status. When I tried running the command: juju configure nrpe-external-master nagios_master= [my external nagios XI install ip addy], I get an error that the command isnt valid. When I shorten configure ot config I get no output displayed but no error message.
Nothing changes with that current waiting status. The Kubernetes implementation I'm trying to monitor was already installed (not via juju) so any time I try to add a relation it basically says there is no kubernetes components to relate to? I have tried to figure out how to have juju see my separately installed kubes cluster and the furthest I got was getting the cloud to be seen.
All of this and I still dont see any kubes info in Nagios......I suspect until I figure out why the nrpe-external-master shows running it wont work.... I just dont know what do to to get past this point. I tried doing my googles but I have come up with nothing so far.