19.07.2014 Views

OneSight Administrator Guide

OneSight Administrator Guide

OneSight Administrator Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Configuring <strong>OneSight</strong> Virtual Agent Monitors<br />

6. Enter the XML as described below.<br />

7. Click OK.<br />

The State Machine<br />

The state machine lets you define a set of control branch points, or<br />

states. These states are named by you. <strong>OneSight</strong> provides the<br />

following pre-defined states to which you can add transitions:<br />

START – This is the initial state for the virtual agent. It waits in<br />

this state until it receives its first input, generally a login prompt.<br />

END – This state has no outbound transitions. If another state<br />

transitions to the END state, then the state machine is ended, and<br />

the virtual agent sends commands and receives unprocessed<br />

responses.<br />

Transitions – Each state has a set of rules or transitions associated<br />

with it. These transitions define what the agent will do given a<br />

specific response or prompt from the remote system. A transition is<br />

defined by a triple . This<br />

means that if the data received from the remote system matches the<br />

specified input pattern, then send the output string, and proceed to<br />

the state specified by next state. If two transitions have overlapping<br />

regular expressions, then the state machine picks the first transition<br />

that matches the input data.<br />

Input pattern – The input pattern is a perl style regular expression. If<br />

the expression is matched, the transition is executed. If more than<br />

one transition’s input pattern matches the same input, the result is<br />

non-deterministic, that is only one transition will trigger, not both.<br />

Output string – The output string is a string send via the telnet/ssh<br />

channel to the remote system upon matching a transition. The<br />

%username% and %password% substitution variables can be used to<br />

fill in the user name and password fields.<br />

368 <strong>OneSight</strong> <strong>Administrator</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!