This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description


Windows Azure Monitor includes utilities to monitor different aspects of Windows Azure. These utilities are designed to be used with Nagios and Zabbix, but could also be used in other creative ways.


Apache License, Version 2.0 See COPYING


Two ways to install:

  1. Download and extract the source package. Run ‘python install’ See for additional information
  2. Install using pip, ‘pip install azuremonitor’ Some distributions call pip pip-python.


  • Python 2.6 or 2.7
  • azure - Window Azure sdk for Python
  • argparse - For Python 2.6
  • OpenSSL - pyOpenSSL
  • pyodbc - Connect to SQL Azure
  • FreeTDS - Used by ODBC to connect to SQL Azure



  1. Create symlinks from your Nagios plugin directory to the Azure monitor utilities. Example:

    ln -s /usr/bin/ /usr/lib64/nagios/plugins
    ln -s /usr/bin/ /usr/lib64/nagios/plugins
    ln -s /usr/bin/ /usr/lib64/nagios/plugins
    ln -s /usr/bin/ /usr/lib64/nagios/plugins
    ln -s /usr/bin/ /usr/lib64/nagios/plugins
  2. Download your .publishsettings file for your Azure account. Something like:

  3. Move your .publishsetttings file to a safe place and protect it. Example:

    mv azure.publishsettings /etc/nagios/private
    chmod 640 /etc/nagios/private/azure.publishsettings
    chown root:nagios /etc/nagios/private/azure.publishsettings

    Here only root and the nagios group, which nagios runs under, is allowed to read the file

  4. Optionally set a variable in your resource.cfg (usually /etc/nagios/private/resource.cfg) To point to your publishsettings file

  5. Setup a command in a config file as usual for nagios:

    define command{
            command_name    check_azure_compute
            command_line    $USER1$/ $HOSTADDRESS$ -p $PSFILE$
    define command{
            command_name    check_azure_sql
            command_line    $USER1$/ $HOSTADDRESS$ $ARG1$
    define command{
            command_name    check_azure_ad
            command_line    $USER1$/ $HOSTADDRESS$ $ARG1$
    define command{
            command_name    check_azure_paas
            command_line    $USER1$/ $HOSTADDRESS$ $ARG1$
    define command{
            command_name    check_azure_storage
            command_line    $USER1$/ $HOSTADDRESS$ $ARG1$
  6. In the service file setup appropriate parameters. Examples:

    check_command       check_azure_sql!-d azuredb -u username -p pwd  -k dbsize -vv!
    check_command       check_azure_ad!-c clientid -s secret -k listusers -vv!
    check_command       check_azure_paas!-p psfile -s storageact -k availmemory -w 3000: -c 2000: -vv!
    check_command       check_azure_storage!-p psfile --table --tx  -k percentsuccess -w 99: -c 95:!


  1. Use these utilities as an external check:

  2. You may need to increase the timeout for external check in yor zabbix_server.conf:

  3. Also in zabbix_server.conf, uncomment the ExternalScripts location, if commented:

  4. Link the utilities to that location. Example:

    ln -s /usr/bin/ /etc/zabbix/externalscripts
  5. Download your .publishsettings file for your Azure account. Something like:

  6. Move you .publishsetttings file to a safe place and protect it. Example:

    mv azure.publishsettings /etc/zabbix
    chmod 640 /etc/zabbix/azure.publishsettings
    chown root:zabbix /etc/zabbix/azure.publishsettings

    Here only root and the zabbix group, which zabbix runs under, is allowed to read the file

  7. Use the zabbix interface to setup the external check. Example:

    External check
    Key:[-p /etc/zabbix/azure.publishsettings]
    Type:    Character
  8. Use the zabbix interface to setup the trigger. Example:

    {<host/template>[-p /etc/zabbix/azure.publishsettings].str(All cool)}=0



Initial Release.

Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
azuremonitor-0.1.tar.gz (22.6 kB) Copy SHA256 Checksum SHA256 Source Dec 28, 2013

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