HQU Nolert
Plugin: Nolert
Version: 0.1
Works With: HQ 3.2.2 or greater
File: hqu_nolert-0.1.tgz
Description
Globally enable and disable your alerts via Web Services or the command-line.
Installation
Installation of an HQU plugin involves moving the plugin directory into HQ's deployment.
tar -xzvf hqu_nolert-0.1.tgz mv nolert /my/hq-engine/server/default/deploy/hq.ear/hq.war/hqu
Examples
To test Nolert from the command line you must have curl (usually available on a UNIX workstation).
To disable alerts globally:
cd nolert/bin ./disable.sh
To see the current global status:
cd nolert/bin ./status.sh
Web Service API
All access to these URLs must be authenticated via HTTP host authentication.
The Script
The enable, disable, and status.sh scripts simply use curl to make a web-request:
#!/bin/sh USER=hqadmin HOST=localhost PORT=7080 curl -u$USER http://$HOST:$PORT/hqu/nolert/alert/enable.hqu
- hqu/nolert/alert/status.hqu - Gets the current status of enabled alerts
- hqu/nolert/alert/enable.hqu - Globally enables alerts
- hqu/nolert/alert/disable.hqu - Globally disables alerts