Home Directory Addons Passive Checks SEND_NRDP Python 3 Port

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

SEND_NRDP Python 3 Port

Rating
0 votes
Favoured:
0
Current Version
0.1
Last Release Date
2019-10-04
Compatible With
  • Nagios XI
License
GPL
Hits
321
Files:
FileDescription
send_nrdp.pysend_nrdp.py

Help Support Ethan Galstad's New Project:

Help Support Ethan

A Message From The Founder...

As the founder of Nagios, I'm asking for your help in a cause that's dear to my heart.

I'm launching a new project to help better the world by providing the information, ideas, and inspiration that I believe can improve the lives of people everywhere.

I know you're busy managing networks, but I would appreciate it if you would consider liking my Facebook page and showing your support for the content and messages I produce by sharing them with your friends and family.

You can learn more about my project by visiting ethangalstad.me/nagios. Thank you for your time. I wish you all the best in your endeavors, whatever they may be.

- Ethan

This is a direct port of the Python2 version of this plugin, which can be found here:
https://exchange.nagios.org/directory/Addons/Passive-Checks/send_nrdp-Python-NRDP-Client/details

usage: send_nrdp.py [options]

options:
-u URL, --url=URL ** REQUIRED ** The URL used to access the remote NRDP Server Usually: http:///nrdp/
agent.
-t TOKEN, --token=TOKEN
** REQUIRED ** The authentication token used to access
the remote NRDP agent.
-H HOSTNAME, --hostname=HOSTNAME
The name of the host associated with the passive
host/service check result.
-s SERVICE, --service=SERVICE
For service checks, the name of the service associated
with the passive check result.
-S STATE, --state=STATE
An integer indicating the current state of the host or
service.
-o OUTPUT, --output=OUTPUT
Text output to be sent as the passive check result.
Newlines should be encoded with encoded newlines (n).
-d DELIM, --delim=DELIM
With only the required parameters send_nrdp.py is
capable of processing data piped to it either from a
file or other process. By default, we use t as the
delimiter however this may be specified with the -d
option data should be in the following formats one
entry per line.
-c CHECKTYPE, --checktype=CHECKTYPE
1 for passive 0 for active
-h, --help show this help message and exit