Host Integrity Monitoring Using Osiris and Samhain

Command-Line Interface

The Osiris command line is used for all interactions with the management console and indirectly with your monitored hosts. Although used briefly in the last section when initializing the console, in this section you are going to explore it in more detail. It is very useful to gain familiarity with the Osiris CLI, since it is the part of Osiris that you will use the most. CLI is used throughout the remainder of this book.

Command-Line Basics

The Osiris CLI is a connection-based client. The name of the application is Osiris on UNIX systems and osiris.exe on Windows. The CLI provides a shell-like interface to the console. All aspects of the Osiris system can be controlled through this interface. The CLI talks exclusively to the console, never to the agents, and all communications are done over a Secure Sockets Layer (SSL) tunnel, even if you are using the CLI on the console host. At this point, you have installed the CLI on the management host, but you can also install just the CLI on a workstation, or whatever you find to be most convenient. If you do not specify any command-line arguments, the console attempts to connect to a console running on the local system. As of this writing, the CLI accepts the command-line arguments:

$ osiris --helpOsiris Shell Interface - version 4.1.8-release    usage: osiris [options]       -f    specify a root cert file to authenticate management...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Console Consolidation Systems
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.