check-packeteer.pl

check-packeteer.pl is a Nagios plugin for network statistics.
Download

check-packeteer.pl Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Goesta Smekal
  • Publisher web site:
  • http://www.smekal.at/code/check-packeteer/

check-packeteer.pl Tags


check-packeteer.pl Description

check-packeteer.pl is a Nagios plugin for network statistics. check-packeteer.pl is a Nagios plugin for network statistics.Requirements:· Perl v5 (developed in Perl v5.8.0, tested on perl 5.8.8) · Digest::MD5 Perl module to calculate md5 hash of credentials · LWP::UserAgent for HTTP communicationInstallation:Copy the script to your favourite nagios-plugin location i.e. /usr/lib/nagios/plugins/ and make sure it is read/executable by the nagios daemon (chmod 755). Life gets a lot easier if you add a section to your /etc/nagios/checkcommands.cfg file: define command{ command_name check-packeteer command_line $USER1$/check_packeteer.pl -host 10.11.12.13 -hash 893c830ea67a0ad636c81f8f93d99002 -target $ARG1$ -variable $ARG2$ -period $ARG3$ -warn $ARG4$ -crit $ARG5$}Where the value after '-hash' is a md5 hash in hex format, calculated from the concatenated Packeteer password and serial number. For details on command line options just call check-packeteer.pl without any arguments. To add a sensor to your Nagios environment just a a section to your /etc/nagios/services.cfg containing something like: define service { use generic-packeteer service_description TCP connection inits out 10min check_command check-packeteer!/Outbound!tcp-conn-inits!600!1000!1500}Let Nagios reload its configuration ('service nagios reload' on RedHat) and off you go ...What's New in This Release:· A bug in the documentation where the order of 'password' and 'serial' for the '-auth' parameter was wrong was fixed.· A '-number' command line argument was added for beautifying large numbers according to English or German style (1,234 or 1.234).


check-packeteer.pl Related Software