Re: [PUG] Nagios Plugin Howto gesucht
Ronny Becker schrieb: > http://nagiosplug.sourceforge.net/developer-guidelines.html Pssst! http://search.cpan.org/~tonvoon/Nagios-Plugin-0.27/ Nagios::Plugin and its associated Nagios::Plugin::* modules are a family of perl modules to streamline writing Nagios plugins. The main end user modules are Nagios::Plugin, providing an object-oriented interface to the entire Nagios::Plugin::* collection, and Nagios::Plugin::Functions, providing a simpler functional interface to a useful subset of the available functionality. The purpose of the collection is to make it as simple as possible for developers to create plugins that conform the Nagios Plugin guidelines (http://nagiosplug.sourceforge.net/developer-guidelines.html). Ist das nicht was für den OP? -martin signature.asc Description: OpenPGP digital signature -- PUG - Penguin User Group Wiesbaden - http://www.pug.org
Re: [PUG] Nagios Plugin Howto gesucht
2008/9/5 Stefan Jakob <[EMAIL PROTECTED]> > Servus, Hallo, > > > Bin auf der Suche wie der Output für ein Nagios Plugin aussehen muss. > Shell oder Perl. > > im Prinzip benötigt Nagios nur einen Output (eine Zeile in Nagios 2.x) und einen return code. Die return codes gibt es von o (OK), 1(Warning), 2(Critical) und 3(Unknown). Das ist jedoch nicht alles wenn man sich an die Guidelines halten möchte. Dazu gehört dann zum Beispiel auch, dass das Programm / Script auf ein Sig ALARM reagiert, bzw. einen Timeout beachtet. Alles zu finden unter http://nagiosplug.sourceforge.net/developer-guidelines.html > Möchte dieses in die /etc/nagios-plugins/snmp.cfg als define_command > eintragen können. > > Hat da jmd. eine Anleitung zu? > > Gruß > > Stefan Gruß Ronny -- PUG - Penguin User Group Wiesbaden - http://www.pug.org