Update helps for check_centreon_dummy and check_centreon_ping.
git-svn-id: http://svn.centreon.com/trunk/plugins-2.x@10588 6bcd3966-0018-0410-8128-fd23d134de7e
This commit is contained in:
parent
17cd7bba95
commit
1caeea446f
|
@ -90,11 +90,14 @@ print $opt_o;
|
|||
exit $opt_s;
|
||||
|
||||
sub print_usage () {
|
||||
print "Usage:";
|
||||
print "$PROGNAME\n";
|
||||
print " -s (--status) status that must be returned [0-3]\n";
|
||||
print " -o (--output) output that must be returned\n";
|
||||
print " -h (--help) usage help\n";
|
||||
print "Usage: $PROGNAME -s 2 -o 'This service is CRITICAL'\n";
|
||||
print " -s (--status) Value between 0 and 3 to return the Nagios status (Required)\n";
|
||||
print " 0 returns OK status\n";
|
||||
print " 1 returns WARNING status\n";
|
||||
print " 2 returns CRITICAL status\n";
|
||||
print " 3 returns UNKNOWN status\n";
|
||||
print " -o (--output) Output message that must be returned (Default: 'OK')\n";
|
||||
print " -h (--help) Usage help\n";
|
||||
}
|
||||
|
||||
sub print_help () {
|
||||
|
|
|
@ -210,10 +210,10 @@ sub print_usage () {
|
|||
print " -H (--hostname) Hostname to query (Required)\n";
|
||||
print " -w (--warning) Threshold pair (Default: 200,20%)\n";
|
||||
print " -c (--critical) Threshold pair (Default: 500,40%)\n";
|
||||
print " -n (--number) number of ICMP ECHO packets to send (Default: 1)\n";
|
||||
print " -n (--number) Number of ICMP ECHO packets to send (Default: 1)\n";
|
||||
print " -i Interval between ping (Default: 1s)\n";
|
||||
print " -V (--version) Plugin version\n";
|
||||
print " -h (--help) usage help\n";
|
||||
print " -h (--help) Usage help\n";
|
||||
}
|
||||
|
||||
sub print_help () {
|
||||
|
|
Loading…
Reference in New Issue