Home Directory Addons Passive Checks perl_nrdp.pl Client

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

perl_nrdp.pl Client

Current Version
1.1
Last Release Date
2013-02-14
Compatible With
  • Nagios 3.x
  • Nagios XI
License
GPL
Hits
53217
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
This is a cross-platform Perl version of the official send_nrdp.py and send_nrdp.sh clients for NRDP.
**DEVELOPMENT OF THIS PLUGIN HAS CEASED AS OF 14/6/2014, IF YOU WOULD LIKE TO TAKE OVER THIS PROJECT PLEASE CONTACT THE LISTED EMAIL ADDRESS**

Description:
This is a cross-platform Perl version of the official send_nrdp.py and send_nrdp.sh clients for NRDP. This plugin uses only the standard Perl libs and should work on any OS; it has however been tested to work on Linux and Windows with active state Perl.

This plugin was designed to function as close as possible to the original send_nrdp clients.


Usage:
-u, –url
The URL used to access the remote NRDP agent. i.e. http://nagiosip/nrdp/ **REQUIRED**
-t, –token
The authentication token used to access the remote NRDP agent. **REQUIRED**
-H, –hostname
The name of the host associated with the passive host/service check result.
This script will attempt to learn the hostname if not supplied.
-s, –service
For service checks, the name of the service associated with the passive check result.
-S, –state
The state of the host or service. Valid values are: OK, CRITICAL, WARNING, UNKNOWN
-o, –output
Text output to be sent as the passive check result.
-d, –delim
Used to set the text field delimiter when using non-XML file input or command-line input.
Defaults to tab (t).
-c, –checktype
Used to specify active or passive, 0 = active, 1 = passive. Defaults to passive.
-f, –file
Use this switch to specify the full path to a file to read. There are two usable formats:
1. A field-delimited text file, where the delimiter is specified by -d
2. An XML file in NRDP input format. An example can be found by browsing to the NRDP URL.
-i, –input
This switch specifies that you wish to input the check via standard input on the command line.
-h, –help
Display this help text.