mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-25 02:18:08 +00:00
comment format renewal
This commit is contained in:
parent
22436814ea
commit
4192c14f76
8 changed files with 250 additions and 172 deletions
|
@ -1,14 +1,23 @@
|
|||
#!/usr/bin/php
|
||||
<?php
|
||||
###########################################################
|
||||
## - Bukkit hostile mob kills per day Munin plugin - ##
|
||||
###########################################################
|
||||
## Script by: ##
|
||||
## Jonas Friedmann (@frdmn) ##
|
||||
## http://frd.mn ##
|
||||
###########################################################
|
||||
## MySQL ##
|
||||
###########################################################
|
||||
/**
|
||||
* Bukkit/MySQL Munin plugin
|
||||
* ---------------------------------
|
||||
* Hostile mob kills per day
|
||||
*
|
||||
* Shows the daily kills of hostile mobs
|
||||
* via Statistician (http://s.frd.mn/14qKXTM)
|
||||
*
|
||||
* Read more about my plugins on my blog:
|
||||
* http://s.frd.mn/XJsryR
|
||||
*
|
||||
* Author: Jonas Friedmann (http://frd.mn)
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* MySQL configuration
|
||||
*/
|
||||
|
||||
$hostname = 'localhost';
|
||||
$username = 'sql';
|
||||
|
@ -16,9 +25,10 @@ $password = 'pass';
|
|||
$database = 'sql';
|
||||
$port = 3306;
|
||||
|
||||
###########################################################
|
||||
## DON'T EDIT THIS ##
|
||||
###########################################################
|
||||
/**
|
||||
* !!! DO NOT EDIT THIS PART BELOW !!!
|
||||
*/
|
||||
|
||||
if ((count($argv) > 1) && ($argv[1] == 'config'))
|
||||
{
|
||||
print("graph_title Bukkit / Statistician - hostile mob kills per day
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue