Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Common interface of tons protocals, used for monitoring tools, like nagios/icinga...

Project Description


Arguspy is pure python code.

It’s a API packge for monitoring plugins, like Nagios, Icinga, Naemon, Shinken, Centreon, Opsview and Sensu.


How to install

Use pip to install:

$ pip install arguspy

How to use

Just import what protocol you need:

from arguspy.ftp_ftplib import Ftp
from arguspy.http_requests import Http
from arguspy.mssql_pymssql import Mssql
from arguspy.mysql_pymysql import Mysql
from arguspy.ssh_paramiko import Ssh
from arguspy.winrm_pywinrm import WinRM
from arguspy.wmi_sh import Wmi
from arguspy.wmi_subprocess import Wmi

Then write your own function monitoring class:

class YourClass(Ftp/Mssql/Ssh/WinRM/Wmi/Http/Snmp/...):
    def __init__(self):
        super(YourClass, self).__init__()
        self.logger.debug("Init YourClass.")

    def define_sub_options(self):
        super(YourClass, self).define_sub_options()
        self.your_parser = self.subparsers.add_parser(...)

    def your_handle(self):
        """Put your function monitoring code here."""
        # Default status is ok.
        status = self.ok

        # Call the API and get the monitoring data.
        # Read the document or check the API on python/ipython Interactive console.
        # help(Ftp/...)
        # dir(Ftp/...)

        #  Compare with the warning and critical value and change the status.

        self.shortoutput = "..."

        self.logger.debug("Return status and output.")

If you put more than one function monitoring class in one file(Not recommend):

class Register(YourClass1, YourClass2, ...):
    def __init__(self):
        super(Register, self).__init__()

Last step:

def main():
    plugin = Register()
    if plugin.args.option == 'action':
    elif ...:
        plugin.unknown("Unknown actions.")

if __name__ == "__main__":

How to extends

Check the TODO list, you can give test examples or documents.

Also you can pull request for your code.


  • Write unit tests in tests/
  • Write docs in docs/
  • Write examples in examples/
  • Compatible with Python3(2.0.0)
  • vSphere monitoring(1.6.0)
  • LDAP monitoring(1.5.0)
  • SNMP monitoring(1.4.0)
  • Fix all pylint errors(1.3.3)
  • Implement threshold(1.3.2)
  • Refactor argparse(1.3.1)
  • Threshold(1.3.0)







Release History

Release History

This version
History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
arguspy-1.3.1-py2.py3-none-any.whl (19.2 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Jul 27, 2017
arguspy-1.3.1.tar.gz (501.6 kB) Copy SHA256 Checksum SHA256 Source Jul 27, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting