Skip to content

Commit

Permalink
add coveralls badges
Browse files Browse the repository at this point in the history
  • Loading branch information
crazy-canux committed Sep 20, 2016
1 parent c1f3951 commit 6242c47
Show file tree
Hide file tree
Showing 35 changed files with 75 additions and 38 deletions.
11 changes: 7 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@

[![Coverage Status](https://coveralls.io/repos/github/crazy-canux/pyMonitoringPlugins/badge.svg?branch=master)](https://coveralls.io/github/crazy-canux/pyMonitoringPlugins?branch=master)

===================
pyMonitoringPlugins
===================
Expand Down Expand Up @@ -50,10 +53,10 @@ Also you can pull request for your code.
TODO
-----

1. pyMonitoringPlugins/docs build with sphinx
2. snmp
3. http
4. vmware-vsphere
1. pyMonitoringPlugins/docs build with sphinx(2.0)
2. http(1.2)
3. snmp(1.3)
4. vmware-vsphere(1.4)

============
Contribution
Expand Down
2 changes: 1 addition & 1 deletion build/lib.linux-x86_64-2.7/pyMonitoringPlugins/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
Plugins for Nagios/Icinga and other monitoring tools.
Copyright (C) 2015 Faurecia (China) Holding Co.,Ltd.
Copyright (C) 2016 Canux CHENG.
All rights reserved.
Name: __init__.py
Author: Canux CHENG canuxcheng@gmail.com
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Copyright (C) 2015 Faurecia (China) Holding Co.,Ltd.
"""Copyright (C) 2016 Canux CHENG.
All rights reserved.
Name: ftp_ftplib.py
Expand Down
2 changes: 1 addition & 1 deletion build/lib.linux-x86_64-2.7/pyMonitoringPlugins/monitor.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Copyright (C) 2015 Faurecia (China) Holding Co.,Ltd.
"""Copyright (C) 2016 Canux CHENG.
All rights reserved.
Name: monitor.py
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Copyright (C) 2015 Faurecia (China) Holding Co.,Ltd.
"""Copyright (C) 2016 Canux CHENG.
All rights reserved.
Name: mssql_pymssql.py
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Copyright (C) 2015 Faurecia (China) Holding Co.,Ltd.
"""Copyright (C) 2016 Canux CHENG.
All rights reserved.
Name: mysql_pymysql.py
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Copyright (C) 2015 Faurecia (China) Holding Co.,Ltd.
"""Copyright (C) 2016 Canux CHENG.
All rights reserved.
Name: ssh_paramiko.py
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Copyright (C) 2015 Faurecia (China) Holding Co.,Ltd.
"""Copyright (C) 2016 Canux CHENG.
All rights reserved.
Name: winrm_pywinrm.py
Expand Down
2 changes: 1 addition & 1 deletion build/lib.linux-x86_64-2.7/pyMonitoringPlugins/wmi_sh.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Copyright (C) 2015 Faurecia (China) Holding Co.,Ltd.
"""Copyright (C) 2016 Canux CHENG.
All rights reserved.
Name: wmi_sh.py
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Copyright (C) 2015 Faurecia (China) Holding Co.,Ltd.
"""Copyright (C) 2016 Canux CHENG.
All rights reserved.
Name: wmi_subproces.py
Expand Down
2 changes: 1 addition & 1 deletion examples/Nagios/check_ftp.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Copyright (C) 2015 Faurecia (China) Holding Co.,Ltd.
"""Copyright (C) 2016 Canux CHENG.
All rights reserved.
Name: check_ftp.py
Expand Down
2 changes: 1 addition & 1 deletion examples/Nagios/check_mssql.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Copyright (C) 2015 Faurecia (China) Holding Co.,Ltd.
"""Copyright (C) 2016 Canux CHENG.
All rights reserved.
Name: check_mssql.py
Expand Down
2 changes: 1 addition & 1 deletion examples/Nagios/check_mysql.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Copyright (C) 2015 Faurecia (China) Holding Co.,Ltd.
"""Copyright (C) 2016 Canux CHENG.
All rights reserved.
Name: check_mysql.py
Expand Down
2 changes: 1 addition & 1 deletion examples/Nagios/check_ssh.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Copyright (C) 2015 Faurecia (China) Holding Co.,Ltd.
"""Copyright (C) 2016 Canux CHENG.
All rights reserved.
Name: check_ssh.py
Expand Down
2 changes: 1 addition & 1 deletion examples/Nagios/check_winrm.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Copyright (C) 2015 Faurecia (China) Holding Co.,Ltd.
"""Copyright (C) 2016 Canux CHENG.
All rights reserved.
Name: check_winrm.py
Expand Down
2 changes: 1 addition & 1 deletion examples/Nagios/check_wmi_sh.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Copyright (C) 2015 Faurecia (China) Holding Co.,Ltd.
"""Copyright (C) 2016 Canux CHENG.
All rights reserved.
Name: check_wmi_sh.py
Expand Down
2 changes: 1 addition & 1 deletion examples/Nagios/check_wmi_subprocess.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Copyright (C) 2015 Faurecia (China) Holding Co.,Ltd.
"""Copyright (C) 2016 Canux CHENG.
All rights reserved.
Name: check_wmi_subprocess.py
Expand Down
4 changes: 2 additions & 2 deletions pyMonitoringPlugins/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
Plugins for Nagios/Icinga and other monitoring tools.
Copyright (C) 2015 Faurecia (China) Holding Co.,Ltd.
Copyright (C) 2016 Canux CHENG.
All rights reserved.
Name: __init__.py
Author: Canux CHENG canuxcheng@gmail.com
Expand All @@ -14,5 +14,5 @@
import pyMonitoringPlugins
"""

__version__ = "1.1.1.0"
__version__ = "1.2.1.0"
__author__ = "Canux CHENG"
4 changes: 3 additions & 1 deletion pyMonitoringPlugins/ftp_ftplib.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Copyright (C) 2015 Faurecia (China) Holding Co.,Ltd.
"""
Basic function for ftp build with python standard library ftplib.
Copyright (C) 2016 Canux CHENG.
All rights reserved.
Name: ftp_ftplib.py
Author: Canux CHENG canuxcheng@gmail.com
Expand Down
18 changes: 18 additions & 0 deletions pyMonitoringPlugins/http_requests.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Basic function for http/https build with third party library requests and beautifuli soup 4.
Copyright (C) 2016 Canux CHENG.
All rights reserved.
Name: http_requests.py
Author: Canux CHENG canuxcheng@gmail.com
Version: V1.0.0.0
Time: Tue 13 Sep 2016 02:12:28 AM EDT
DETAILS:
"""
import sys

import requests
from bs4 import BeautifulSoup
4 changes: 3 additions & 1 deletion pyMonitoringPlugins/monitor.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Copyright (C) 2015 Faurecia (China) Holding Co.,Ltd.
"""
Basic functions for monitoring tools like nagios/icinga.
Copyright (C) 2016 Canux CHENG.
All rights reserved.
Name: monitor.py
Author: Canux CHENG canuxcheng@gmail.com
Expand Down
4 changes: 3 additions & 1 deletion pyMonitoringPlugins/mssql_pymssql.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Copyright (C) 2015 Faurecia (China) Holding Co.,Ltd.
"""
Basic function for MicroSoft Sql Server Database build with third party library pymssql.
Copyright (C) 2016 Canux CHENG.
All rights reserved.
Name: mssql_pymssql.py
Author: Canux CHENG canuxcheng@gmail.com
Expand Down
4 changes: 3 additions & 1 deletion pyMonitoringPlugins/mysql_pymysql.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Copyright (C) 2015 Faurecia (China) Holding Co.,Ltd.
"""
Basic function for Mysql database build with third party library pymysql.
Copyright (C) 2016 Canux CHENG.
All rights reserved.
Name: mysql_pymysql.py
Author: Canux CHENG canuxcheng@gmail.com
Expand Down
4 changes: 3 additions & 1 deletion pyMonitoringPlugins/ssh_paramiko.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Copyright (C) 2015 Faurecia (China) Holding Co.,Ltd.
"""
Basic function for http/https build with third party library paramiko.
Copyright (C) 2016 Canux CHENG.
All rights reserved.
Name: ssh_paramiko.py
Author: Canux CHENG canuxcheng@gmail.com
Expand Down
2 changes: 1 addition & 1 deletion pyMonitoringPlugins/test/test_ftp.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Copyright (C) 2015 Faurecia (China) Holding Co.,Ltd.
"""Copyright (C) 2016 Canux CHENG.
All rights reserved.
Name: test_ftp.py
Expand Down
2 changes: 1 addition & 1 deletion pyMonitoringPlugins/test/test_mssql.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Copyright (C) 2015 Faurecia (China) Holding Co.,Ltd.
"""Copyright (C) 2016 Canux CHENG.
All rights reserved.
Name: test_mssql.py
Expand Down
2 changes: 1 addition & 1 deletion pyMonitoringPlugins/test/test_mysql.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Copyright (C) 2015 Faurecia (China) Holding Co.,Ltd.
"""Copyright (C) 2016 Canux CHENG.
All rights reserved.
Name: test_mysql.py
Expand Down
2 changes: 1 addition & 1 deletion pyMonitoringPlugins/test/test_ssh.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Copyright (C) 2015 Faurecia (China) Holding Co.,Ltd.
"""Copyright (C) 2016 Canux CHENG.
All rights reserved.
Name: test_ssh.py
Expand Down
2 changes: 1 addition & 1 deletion pyMonitoringPlugins/test/test_winrm.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Copyright (C) 2015 Faurecia (China) Holding Co.,Ltd.
"""Copyright (C) 2016 Canux CHENG.
All rights reserved.
Name: test_winrm.py
Expand Down
2 changes: 1 addition & 1 deletion pyMonitoringPlugins/test/test_wmi_sh.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
r"""Copyright (C) 2015 Faurecia (China) Holding Co.,Ltd.
r"""Copyright (C) 2016 Canux CHENG.
All rights reserved.
Name: test_wmi_sh.py
Expand Down
2 changes: 1 addition & 1 deletion pyMonitoringPlugins/test/test_wmi_subprocess.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
r"""Copyright (C) 2015 Faurecia (China) Holding Co.,Ltd.
r"""Copyright (C) 2016 Canux CHENG.
All rights reserved.
Name: test_wmi_subprocess.py
Expand Down
4 changes: 3 additions & 1 deletion pyMonitoringPlugins/winrm_pywinrm.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Copyright (C) 2015 Faurecia (China) Holding Co.,Ltd.
"""
Basic function for Windows Remote Management build with third party library pywinrm.
Copyright (C) 2016 Canux CHENG.
All rights reserved.
Name: winrm_pywinrm.py
Author: Canux CHENG canuxcheng@gmail.com
Expand Down
4 changes: 3 additions & 1 deletion pyMonitoringPlugins/wmi_sh.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Copyright (C) 2015 Faurecia (China) Holding Co.,Ltd.
"""
Basic function for Windows Management Instrumentation build with third party library sh.
Copyright (C) 2016 Canux CHENG.
All rights reserved.
Name: wmi_sh.py
Author: Canux CHENG canuxcheng@gmail.com
Expand Down
4 changes: 3 additions & 1 deletion pyMonitoringPlugins/wmi_subprocess.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Copyright (C) 2015 Faurecia (China) Holding Co.,Ltd.
"""
Basic function for Windows Management Instrumentation build with python standard library sub_process.
Copyright (C) 2016 Canux CHENG.
All rights reserved.
Name: wmi_subproces.py
Author: Canux CHENG canuxcheng@gmail.com
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
Setup file used for install this package.
Copyright (C) 2015 Faurecia (China) Holding Co.,Ltd.
Copyright (C) 2016 Canux CHENG.
All rights reserved.
Name: setup.py
Author: Canux CHENG canuxcheng@gmail.com
Expand Down

0 comments on commit 6242c47

Please sign in to comment.