Socket
Socket
Sign inDemoInstall

serverchecks

Package Overview
Dependencies
8
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    serverchecks


Maintainers
1

Readme

serverchecks

Python 3 module for fast, parallel execution of health checks on a broad range of popular Internet infrastructure protocols with multi-protocol alerting capabilities. Implemented in pure Python (no shell commands called) using asyncio library.

Install

The module comes in a number of flavours that provide additional features using third-party Python libraries.

FlavorFeaturesInstall
CoreChecks: TCP, DNS (basic), TLS, URL, POP3, SMTP, IMAP. Alerts: console ,SMTPpip3 install serverchecks
DNSChecks: DNS (full)pip3 install serverchecks[dns]
DNSSECChecks: DNSSEC, DNS (full)pip3 install serverchecks[dnssec]
XMPPAlerts: XMPPpip3 install serverchecks[xmpp]
TelegramAlerts: Telegrampip3 install serverchecks[telegram]
MatrixAlerts: Matrixpip3 install serverchecks[matrix]

Shortcut to install all flavors:

pip3 install serverchecks[dnssec,xmpp,telegram,matrix]

Usage

Create a basic configuration file checks.yaml:

verbose: yes
alert_mode: always

alerts:
  console:
  - dummy:

checks:
  basicdns:
  - fqdn: webcookies.org
  - fqdn: ipsec.pl

Run:

python -m serverchecks.main test.yaml

Sample output:

$ python -m serverchecks.main test.yaml

Initialized alert class <Console>
2 tests completed in 0.03 seconds, 2 successful, 0 failed
✓ webcookies.org 94.130.162.156
✓ ipsec.pl 98.143.148.71

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc