Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.rst

PyPi version

Supported Python versions

License

https://coveralls.io/repos/exonet/server-check/badge.svg?branch=master&service=github

server_check

The goal of this tool is to check a server to see if all components are still operating correctly. It will check the following:

  • PHP: sessions
  • PHP: mod_ruid2 (files created with PHP have proper ownership)
  • PHP: sending email
  • PHP: php -v does not generate errors (all modules could be loaded)
  • MySQL: able to login with the password in mysql.conf
  • MySQL: able to log in to phpMyAdmin.
  • Email: able to connect to dovecot (POP3/IMAP)
  • Email: able to connect to exim and deliver a message
  • Email: mail should be filtered by SpamAssassin
  • Email: able to access roundcube.
  • FTP: able to connect, upload and download a file

Requirements

Currently this tool is only supported on DirectAdmin servers. The tool requires the Python header files and MySQL-python.

Installation

To install this tool on a DirectAdmin server, make sure you have installed the Python development package and the Python package manager (pip) for your distribution. If MySQL-python isn't installed yet, make sure the mysql_config tool is in your $PATH.

To install the latest version:

pip install server_check

To install on Debian 6/7 based DirectAdmin servers:

apt-get install python-dev python-pip && PATH=$PATH:/usr/local/mysql/bin pip install server_check

Screenshot

https://www.exonet.nl/img/pictures/articles/52/server_check.gif

Conventions

Code style guide: PEP 8:

pycodestyle

Testing

Run unit tests and coverage:

py.test --cov=server_check --cov-report term-missing --cov-fail-under=95 tests/

Security

If you discover any security related issues please email support@exonet.nl instead of using the issue tracker.

About

No description, website, or topics provided.

Resources

License

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages

You can’t perform that action at this time.