Docker Monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
abhi321jay
Posts: 69
Joined: Mon May 01, 2017 1:23 am

Docker Monitoring

Post 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.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Docker Monitoring

Post 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.
Former Nagios employee
https://www.mcapra.com/
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Docker Monitoring

Post 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.
abhi321jay
Posts: 69
Joined: Mon May 01, 2017 1:23 am

Re: Docker Monitoring

Post by abhi321jay »

Let me try I"ll update you.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Docker Monitoring

Post by dwhitfield »

Fantastic. Please post the link to the plugin or attach the plugin if you run into any difficulty.
Locked