<p><span>OpsGenie1 has a simple </span><a href="http://support.opsgenie.com/customer/portal/articles/565567-web-api">Web API</a><span> to interact with OpsGenie from any programming language that can make web requests. Today, we’ve released “</span><a href="http://support.opsgenie.com/customer/portal/articles/574596-lamp-command-line-interface-for-opsgenie">lamp</a><span>”, a command line utility to do the same. Lamp uses OpsGenie Web API under the hood and provides capabilities to create & close alerts, attach files, etc. easily from shell scripts. Lamp is a Java application, hence works on any platform that has a JVM.</span></p><p><a href="http://support.opsgenie.com/customer/portal/articles/574596-lamp-command-line-interface-for-opsgenie">Lamp</a> can be used to integrate any management tool that can execute a shell script with OpsGenie. Lamp has a built in contextual help system for obtaining information on available commands, and available options for their use. You can see the available list of commands by invoking lamp with the —help option, and you can see the options for a specific command by invoking —help option with that specific command, like “lamp createAlert —help”. </p><p>Lamp uses customerKey parameter to authenticate with the OpsGenie services. customerKey can be provided as a command line parameter or can be supplied in lamp.conf file.</p><p>Lamp documentation can be found on <a href="http://support.opsgenie.com/customer/portal/articles/574596-lamp-command-line-interface-for-opsgenie">our support site</a>.</p><p>Lamp can be downloaded from <a href="http://support.opsgenie.com/customer/portal/articles/714183-all-downloads#lamp">Downloads</a></p>
↧