Fulfil prerequisites
Create OS User and directory tree. Fill directory tree with needed files
Configure the checks and thresholds
For the client part of OpenSMART (also known as OpenSMART agent, osagent), you need:
An unixoid or Win32 operation system. For installing OpenSMART agent on a windows system, take a look at section Section 5.3.6, “Installing OpenSMART Agent on Windows”
A complete Perl installation (>= 5.005)
You haven't to but we recommend to run OpenSMART as its own user (not root/administrator!) in its own home directory. Ask your system administrator to create an OpenSMART user id. For this chapter, we assume that the user id is 'osmart'.
The directory structure is the same as in Section 5.2.4, “Directory Structure”.
Take a release, a CVS snapshot or the client release file, untar it anywhere and run as osmart-user:
osmart@pculi:~/tmp$ /usr/bin/perl source/agent/install_agent ~osmart
Caution: Use the correct absolute path to your perl installation.
install_agent takes your
#OSMART_ROOT#-directory as argument, creates all the necessary
directories and copies all needed files to the right place with
the right rights.
Before installing you have the choice between taking a cvs Nightly-Build or using a stable release for your agent (known as "OpenSMART-Agent.exe").
However your decision says, you need 2 programs as prerequisites:
If the above dependencies are done, you can call the OpenSMART installer shield (OpenSMART-Agent.exe) and follow the instructions.
After finishing the installation procedure, you have to configure your agent. A detailed instruction can be found at Chapter 9, Configure the OpenSMART agents
osagentosagent is described in
Chapter 9, Configure the OpenSMART agents.
Normally you want osagent and osreporter to run regularly. You can start it with something like
2,12,22,32,42,52 * * * * $HOME/bin/osagent
3 * * * * $HOME/bin/osreporter
in your crontab.
Look Section 3.11, “Logging with Log4perl ” for examples.