railsmachine/nagiosharder — pull request #3 by jnewland (2011-12-12 20:04:15+00:00)
Title: Cli

Introduce a basic CLI:

USAGE:

First, you'll need to connect to nagios. Get help on that with:

nagiosharder --help

COMMANDS:

nagiosharder help

nagiosharder status aux1
nagiosharder status aux1/http

nagiosharder acknowledge aux1/http [message]
nagiosharder ack aux1/http [message]

nagiosharder unacknowledge aux1/http
nagiosharder unack aux1/http

nagiosharder mute aux1/http
nagiosharder disable_notifications aux1/http

nagiosharder unmute aux1/http
nagiosharder enable_notifications aux1/http

nagios check aux1/http

nagiosharder downtime aux1 15
nagiosharder downtime aux1/http 15