0.2 is a Nagios plugin for network statistics.
  1 Screenshot is a Nagios plugin for network statistics.


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 communication


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$/ -host -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 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).

last updated on:
May 23rd, 2007, 14:35 GMT
license type:
GPL (GNU General Public License) 
developed by:
Goesta Smekal
ROOT \ System \ Monitoring
Download Button

In a hurry? Add it to your Download Basket!

user rating



Rate it!

Add your review!