This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# example: ./check_gearman_workers.sh gearman-1 some:task 13 10 | |
HOST=$1 | |
JOB=$2 | |
WARN=$3 | |
CRIT=$4 | |
WORKERS_LEFT=$((echo status ; sleep 0.1) | netcat $HOST 4730 -q1 | grep $JOB | awk '{ print $4-$3-$2}') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import argparse | |
import urllib2 | |
import logging as log | |
import re | |
from multiprocessing import Process | |
import threading |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################################## | |
# OpenVAS Vulnerability Test | |
# | |
# Assess web security with arachni | |
# | |
# Authors: | |
# Michelangelo Sidagni <[email protected]> | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License version 2 |