Skip to content

PHP 5 helper for use with creating PHP-based Nagios Plugins.

License

Notifications You must be signed in to change notification settings

hannesbe/phagios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Phagios

GitHub license

GitHub release GitHub commits

Phagios is PHP helper library for building Icinga / Nagios plugins in PHP.

Requirements

  • PHP 5
  • Nagios 3+ / Icinga / Icinga2

Installation and Usage

Installing Phagios can be done, first by cloning this repository.

git clone git://github.com/patyx7/phagios.git <directory>

Then including Phagios at the top of your PHP plugin file, having your plugin class extend Phagios, and making sure to run Phagios's main method, which will in turn run your plugin class' run method.

<?php

require './<directory>/Phagios.php';

class yourNagiosPlugin extends Phagios
{
    protected function runChecks()
    {
        // Your plugin code here....
    }
}

Contribute and Feedback

Please submit issues and send your feedback and suggestions as often as you have them. Also feel free to fork the project, create a feature branch, and send me a pull request and I will review it.

License

GitHub license

See the LICENSE file for more details.

About

PHP 5 helper for use with creating PHP-based Nagios Plugins.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages