Skip to content

Commit

Permalink
Version 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
regilero committed Dec 23, 2016
1 parent 80b5398 commit 6da9f03
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
version 0.12 Beta (12-2016) - current moving version
version 1.1 Beta (12-2016) - current moving version

version 1.0 (23-12-2016)
* Add a direct fascgi mode (without using an http proxy), only for tcp/ip sockets, not file sockets.
* verifyhostname only available for LWP::UserAgent->VERSION >= 6.10 (fix #15)
* remove utils.pm dependency (so remove also nagios lib paths)
Expand Down
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 0.12
PHP-FPM Monitor for Nagios version 1.0

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 : 0.12
# Version : 1.0
# 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='0.12';
my $Version='1.0';
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 : 0.12"
EXPECTED_TEXT="check_phpfpm_status.pl version : 1.0"
run_test 3

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

#FIXME: TODO
Expand Down

0 comments on commit 6da9f03

Please sign in to comment.