Skip to content
This repository has been archived by the owner on Feb 20, 2019. It is now read-only.

js-murph/powershell-nrdp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description:
This is a cross-platform Powershell version of the official send_nrdp.py and send_nrdp.sh clients for Nagios NRDP. This plugin was designed to function as close as possible to the original send_nrdp clients.

Download:
http://roshamboot.org/main/wp-content/uploads/2013/03/ps_nrdp.zip

Known Issues:
None

Patch Notes:
v1.2:

  • Fixed a bug that prevented sending OK status (Thanks Fara)

v1.1:

  • Powershell NRDP no longer declares that it was written in Perl.

v1.0:

  • First release.

Usage:
-url
The URL used to access the remote NRDP agent. i.e. http://nagiosip/nrdp/ REQUIRED
-token
The authentication token used to access the remote NRDP agent. REQUIRED
-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.
-service
For service checks, the name of the service associated with the passive check result.
-state
The state of the host or service. Valid values are: OK, CRITICAL, WARNING, UNKNOWN
-output
Text output to be sent as the passive check result.
-delim
Used to set the text field delimiter when using non-XML file input or command-line input. Defaults to tab (\t).
-checktype
Used to specify active or passive, 0 = active, 1 = passive. Defaults to passive.
-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.
    -readterm
    This switch specifies that you wish to input the check via standard input on the command line.
    -help
    Display this help text.

Releases

No releases published

Packages

No packages published