Get social


Search Exchange


Recently updated


Most downloaded


DRM plugin


Description

Alt text

A plugin (Unix/Unix-like Bash script) to interact with DRM (disaster recovery monitor): query DRM for status and events, returns an interpretable message for Icinga.

Execute script without variables to view help.

Help

$ ./drm.sh
Usage: drm.sh [-h] {-q|-s|-x} (API key)

$ ./drm.sh -h

::::: DRM Plugin for Icinga

Usage: drm.sh [-h] {-q|-s|-x} (API key)

Options:
-h
    Print detailed help screen
-q
    Check DRM events
-s
    Check DRM global status
-x
    Check DRM global status and events
API key
    Your DRM API key

Example

$ ./drm.sh -x 1234567890
CRITICAL: DRM event alarm

$ echo $?
2

Latest release

Release 1.1

Porting Nagios plugin for Icinga

Files

Name Description Size Type Last Changed
check_drm.sh Unix/Unix-like Bash script 4.65 kB text/x-shellscript Download

Review

Pleae rate the project