19.07.2014 Views

OneSight Administrator Guide

OneSight Administrator Guide

OneSight Administrator Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Configuring Global Action Options<br />

For UNIX systems, specify the location of the Shell script. For<br />

example: /user/myname/script.sh<br />

<strong>OneSight</strong> Message Template Variables can also be included as<br />

script parameters.<br />

Environment Settings – This field is used to pass an<br />

environment setting to your host system. To use this box, set<br />

the environment variables the same way that you set them on<br />

the respective systems. If more than one environment variable<br />

needs to be set, separate them using an ampersand (&).<br />

For example:<br />

UNIX – PATH=/bin:/usr/bin&LIBPATH=/lib:/usr/lib<br />

NT –<br />

PATH=c:\winnt\system32;c:\winnt&LIBPATH=c:\winnt\lib<br />

Notes: For best results, do not include a space before or after<br />

the ampersand (&) when entering multiple settings.<br />

If the script continues to fail, try adding<br />

COMSPEC=c:\winnt\system32\cmd.exe to the NT Environment<br />

settings.<br />

<strong>OneSight</strong> Message Template Variables can also be included as<br />

values for environment variables.<br />

Machine Name – Enter the name of the machine on which the<br />

script will execute. The machine name can either be qualified<br />

(sunsolaris.company.com) or unqualified (sunsolaris). A<br />

Remote Agent or Data Collector must be running on this<br />

machine.<br />

You can specify the %SystemName% message template variable<br />

for the machine name. The c variable will resolve to the system<br />

associated with the alert that triggered the script action.<br />

666 <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!