Skip to content

Commit

Permalink
lower entry barrier ;-)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrottenberg committed Dec 22, 2011
1 parent cb9fb82 commit e777421
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions README.md
Expand Up @@ -17,12 +17,23 @@ Nagios also supports escalation which is a nice feature in term of process and S

### Usage

#### Command line

You can test it quickly with :
./check_jenkins_job.py -w 200 -c 300 -H builds.apache.org -S -j Hadoop-Common-trunk


Please don't hammer builds.apache.org

#### Nagios

Define a command

# check Jenkins job - Note : we have ssl ON by default
# check Jenkins job
# Note : we have ssl ON by default
define command{
command_name check_jenkins_job
command_line $USER2$/check_jenkins_job.py -H $HOSTNAME$ -j $ARG1$ -w $ARG2$ -c $ARG3$ -u $ARG4$ -p $ARG5$ -S
command_line $USER2$/check_jenkins_job.py -S -H $HOSTNAME$ -j $ARG1$ -w $ARG2$ -c $ARG3$ -u $ARG4$ -p $ARG5$
}

Then a service
Expand Down

0 comments on commit e777421

Please sign in to comment.