2017 © Pedro Peláez
 

library icinga-check-minecraft

Provides Icinga check commands for Minecraft.

image

randomhost/icinga-check-minecraft

Provides Icinga check commands for Minecraft.

  • Monday, May 21, 2018
  • by Chi-Yu
  • Repository
  • 2 Watchers
  • 0 Stars
  • 11 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

Build Status, (*1)

randomhost/icinga-check-minecraft

This package provides Icinga check commands for Minecraft., (*2)

Usage

PlayerCount is currently the only available check but more may follow in the future., (*3)

Player count

Checks the amount of players on the server., (*4)

Usage example

<?php
namespace randomhost\Icinga\Check\Minecraft;

require_once '/path/to/vendor/autoload.php';

use randomhost\Minecraft\Status as MinecraftStatus;

$mcStat = new MinecraftStatus();

$check = new PlayerCount($mcStat);
$check->setOptions(
    getopt(
        $check->getShortOptions(),
        $check->getLongOptions()
    )
);
$check->run();

echo $check->getMessage();
exit($check->getCode());

This will instantiate the PlayerCount class for the Minecraft server and check the amount of players currently connected to the server., (*5)

Command line parameters

Parameter Description
--host Minecraft server IP address or hostname
--port Query port
--thresholdWarning Threshold to trigger the WARNING state
--thresholdCritical Threshold to trigger the CRITICAL state

License

See LICENSE.txt for full license details., (*6)

The Versions

21/05 2018

dev-master

9999999-dev https://www.random-host.com

Provides Icinga check commands for Minecraft.

  Sources   Download

BSD-3-Clause new-bsd

The Requires

 

The Development Requires

nagios minecraft icinga

21/05 2018

0.0.7

0.0.7.0 https://www.random-host.com

Provides Icinga check commands for Minecraft.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

nagios minecraft icinga

08/10 2016

0.0.6

0.0.6.0 https://www.random-host.com

Provides Icinga check commands for Minecraft.

  Sources   Download

new-bsd

The Requires

 

The Development Requires

nagios minecraft icinga

08/10 2016

0.0.5

0.0.5.0 https://www.random-host.com

Provides Icinga check commands for Minecraft.

  Sources   Download

new-bsd

The Requires

 

The Development Requires

nagios minecraft icinga

08/10 2016

0.0.4

0.0.4.0 https://www.random-host.com

Provides Icinga check commands for Minecraft.

  Sources   Download

new-bsd

The Requires

 

The Development Requires

nagios minecraft icinga

04/10 2016

0.0.3

0.0.3.0 https://www.random-host.com

Provides Icinga check commands for Minecraft.

  Sources   Download

new-bsd

The Requires

 

The Development Requires

nagios minecraft icinga

04/10 2016

0.0.2

0.0.2.0 https://www.random-host.com

Provides provides Icinga check commands for Minecraft.

  Sources   Download

new-bsd

The Requires

 

The Development Requires

nagios minecraft icinga