Skip to content

Commit

Permalink
version 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
regilero committed Dec 23, 2016
1 parent 6da9f03 commit 43f7fe3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Support of http, https and fastgi direct mode.

You can use this script to draw some graphics (perfparse).

PHP-FPM Monitor for Nagios version 1.0
PHP-FPM Monitor for Nagios version 1.1

GPL licence, (c)2012 Leroy Regis

Expand Down
4 changes: 2 additions & 2 deletions check_phpfpm_status.pl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env perl
# check_phpfpm_status.pl
# Version : 1.0
# Version : 1.1
# Author : regis.leroy at makina-corpus.com
# based on previous apache status work by Dennis D. Spreen (dennis at spreendigital.de)
# Based on check_apachestatus.pl v1.4 by
Expand All @@ -26,7 +26,7 @@ package main;
binmode(STDOUT, ":utf8");

# Globals
my $Version='1.0';
my $Version='1.1';
my $Name=$0;

my $o_host = undef; # hostname
Expand Down
4 changes: 2 additions & 2 deletions tests/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,12 @@ run_test 3

echo " * Checking version option ----------------------------------------------"
TEST="./check_phpfpm_status.pl -V"
EXPECTED_TEXT="check_phpfpm_status.pl version : 1.0"
EXPECTED_TEXT="check_phpfpm_status.pl version : 1.1"
run_test 3

echo " * Checking version option ----------------------------------------------"
TEST="./check_phpfpm_status.pl --version"
EXPECTED_TEXT="check_phpfpm_status.pl version : 1.0"
EXPECTED_TEXT="check_phpfpm_status.pl version : 1.1"
run_test 3

#FIXME: TODO
Expand Down

0 comments on commit 43f7fe3

Please sign in to comment.