Git Product home page Git Product logo

powershell-nrdp's Introduction

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.

powershell-nrdp's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.