Installation Guide
System Requirements
The following is the minimum hardware and software requirements for
installing and using WebNMS SNMP Agent for Linux.
Hardware Requirements
The performance exhibited by WebNMS SNMP Agent for Linux will
depend considerably on the CPU and memory of the installed system. The
following is the suggested minimum configuration:
| Operating Platform |
Processor Speed |
Memory
|
Hard Drive Space
|
|
Linux
|
Minimum 266 MHz
|
Minimum 64 MB RAM
|
15 MB
|
Software Requirements
| Platforms |
|
Red Hat Linux versions 6.2
|
|
Red Hat Linux versions 7.2
|
|
Red Hat Linux versions 7.3
|
|
Red Hat Linux versions 8
|
|
Red Hat Linux versions 9
|
|
Red Hat Linux Enterprise Server release 3 and release 4
|
|
Red Hat Linux Advanced Server
|
|
Mandrake Linux 10.1
|
|
Fedora core Release 3
|
|
Suse Linux 9.1
|
|
Debian GNU / Linux 3.0
|
|
CentOS 5
|
|
Ubuntu 7.04
|
Browsers
|
| Netscape 6.0 or later |
| Internet Explorer 5.0 or later |
| Mozilla 1.3 or later |
| Opera 7.1 or later |
| Firefox or later |
Installation Procedure
Installing
Linux Manager
Installation of the Linux Manager / Remote Installation Tool
and the Agent is very simple. To Install the Linux Manager / Remote
Installation Tool kindly follow the steps given below.
- Extract the zip file AdventNet_LinuxManager.zip .
- Go to AdventNet/LinuxManager directory.
- Login as root by executing the command "su" or "su root" .
- Run the script Installation_step1.sh present under AdventNet/LinuxManager
directory by executing "sh Installation_step1.sh"
- Exit from the root user .
- Run the script Installation_step2.sh by executing "sh
Installation_step2.sh".
Important Note:
- Installation_step1.sh should be run from root.
- Installation_step2.sh should be run from any other normal account
(other than root account).
Now the Manager / Remote Installation Tool has been installed
successfully. To Start the Manager / Remote Installation Tool execute
the following steps.
- Go to AdventNet/LinuxManager/bin Directory. Set the path by
running the script setenv.sh.( dot space setenv.sh . setenv.sh. Leave a
space between dot and setenv.sh) .
- Start the Manager by running sh StartServer.sh present under
AdventNet/LinuxManager/bin directory. This will start the Manager in
the
default port 8080.
- To change the default port of the Manager
- Open AdventNet/LinuxManager/server/apache/conf/httpd.conf
- Change the line "Listen 8080" to
"Listen <free port number>" present in line number
220.
- Open install.exp present in
AdventNet/LinuxManager/server/apache/data/ directory.
- Change the port Number 8080 present in the line wget
http://$manager:8080/AdventNet_LinuxAgent.zip\r to
<free port Number>
- Then start the Server by executing sh StartServer.sh.
- To access the LinuxManager type in the browser as :
http://<machine-name>:8080 or
http://<machine-name>:<changed port number>
- To stop the LinuxManager execute the script StopServer.sh present
under AdventNet/LinuxManager/bin directory as "sh StopServer.sh".
To Uninstall the LinuxManager execute the following steps
- Execute uninstall.sh from AdventNet/LinuxManager directory by
executing sh uninstall.sh. (The uninstall.sh script should be executed
from the root account)
- After executing the script you can remove the entire
AdventNet/LinuxManager directory.
Installing
LinuxAgent through RemoteInstaller tool
To Install the Agent through the Manager follow the steps below.
- When the http://<machine-name>:8080 is accessed for the
first time, the following screen shot will be seen LinuxManager_First_Screen
- The next step is to discover the nodes present in the particular
network. For this enter the ip address in the text box "Network IP"
present in the left panel. and Click Discover. For eg if we enter the
IPAddress 192.168.111.0 , then the manager will discover all nodes
which
starts with ip 192.168.111.
- After Discovery the LinuxManager looks like LinuxManager_AfterDiscovery.
- To Install the Agent in a particular node say
"amp-linux4.india.adventnet.com" just click the "Install agent" link.
- A pop up window will appear LinuxManager_PopUpWindow.
- By default the Agent will be installed in the guest account. If
you want you can change the User Name and Password and then click
Install.
- On successful installation the LinuxManager will put the
LinuxAgent.zip under the specified account (by default guest account)
and will start the linuxagent present under AdventNet/LinuxAgent/bin
directory.
- If the Installation is successful you can see the following
screen shot (LinuxAgent
Index Page.)
- After Installation we can query the agent any time by clicking on
the node name or the computer image present. LinuxManager
AfterInstallation
Installing LinuxAgent Manually
To Install the Linuxagent manually,
- Extract the AdventNet_LinuxAgent.zip file.
- From the AdventNet/LinuxAgent/bin directory start the agent
by executing the linuxagent executable. (sh StartAgent.sh)
- This will start the linuxagent in the default ports.
- SNMP Port Number :: 8001
- Snmp Trap Port Number :: 8002
- HTTP Port Number ::
8040
- From the web browser query the agent by connecting to the
agent, through the port 8040. http://<machine-name>:8040.
- You can query the snmp nodes by connecting to the port 8001.
- To stop the LinuxAgent run sh StopAgent.sh from
AdventNet/LinuxAgent/bin directory.
Starting the Agent in a
different Port
To start the linuxagent in a different port, execute
sh StartAgent.sh <snmp port number> <snmp trap port
number> <http port number>
Eg :: sh StartAgent.sh 9001 9002 9040
here
9001 - Snmp Port number
9002 - Snmp Trap Port number
9040 - Http Port Number
Changing the Community String
LinuxAgent authenticates a request based on the Community. Hence it is
required to store the community details in the Agent side. These
details
are stored in authtable.txt present in AdventNet/LinuxAgent/conf/snmp/
directory.
By default "public" community is for READ-ONLY and "private" community
is for READ-WRITE. To change the default edit the authtable.txt file.
Please note that the Agent has to be re-started for the changes to take
effect.