Page 1 of 1

Docker Monitoring

Posted: Wed Jul 26, 2017 5:05 am
by abhi321jay
Hi,, i wnat to monitor Docker the Plugin [on nagios exchange] showing it"ll work with Python 3 only so how to update python?

or can i do with python 2.6 which is auto installed with nagios XI.

Re: Docker Monitoring

Posted: Wed Jul 26, 2017 8:56 am
by mcapra
Can you provide a direct link to the plugin?

I don't think the mainstream repositories available in CentOS and RHEL are distributing Python 3 as of right now. Here's a good guide for building Python 3 from scratch (it's not too tricky):
http://ask.xmodulo.com/install-python3-centos.html

Note that this will create python3 and pip3 commands. You should adjust the plugin's shebang if necessary.

Re: Docker Monitoring

Posted: Wed Jul 26, 2017 10:02 am
by dwhitfield
I suspect that Python 3 needs to be on the remote system, not XI. The direct link as @mcapra suggests would be useful.

Please note that most of the plugins on the exchange are contributed by third parties.

Re: Docker Monitoring

Posted: Wed Jul 26, 2017 11:27 pm
by abhi321jay
Let me try I"ll update you.

Re: Docker Monitoring

Posted: Thu Jul 27, 2017 9:09 am
by dwhitfield
Fantastic. Please post the link to the plugin or attach the plugin if you run into any difficulty.