Netmond V2. InstallationHere described how to install Netmond in your system. System requirementsBefore making Netmond you need to check following components installed.
Many OSes like BSD/OS, FreeBSD è Linux have it
in base software set. DownloadingNetmond sources are publicly available via Internet from FTP site: <ftp://ftp.nsk.su/pub/RinetSoft/>. Netmond sources available as tar.gz archive with following naming convention:
To get last sources for version 2.1 you need to look up file : <ftp://ftp.nsk.su/pub/RinetSoft/netmond-2.1.tgz>. Save this archive in your working directory and extract it with command: Subdirectory netmond-2.1-Z will be created where Z is
current revision number. Possibly, sources will available in other formats like Linux RPM. Build steps will differ for this formats. ConfiguringThere are number of special files in working directory:
First, launch configuration script to make automatic adaptation to current environment, searching libraries, headers, checking specific functions availability. Configuration script create files Makefile and config.h, needed for successful Netmond build in your system: Sometimes script falls to automatically detect options correctly. You may manually specify them as environment variables. For Bourne shell it may looks like: By default, configure script plan to install resulting executable to /usr/local/bin directory. You can change this path with --prefix script argument. All options description will be printed with --help argument. In addition to standard arguments configure script understand following arguments:
After configuring, you may look at config.h file to check system - dependent definitions. Compiling and installingCheck the Makefile correctness and modify it if needed. If this file does not exist, possibly you may forget to run configure-script. Launch Netmond building: Building process has to finish without any error messages. After build executable named netmond appear in current directory. Check it: To install program you need to have root privileges. In this step netmond executable will be copied to /usr/local/bin directory or to $prefix/bin directory if you changed defaults. Sample configuration file will be copied to /etc system directory. You need carefully edit this file before to launch netmond. Actually, netmond work from any place you store it. Of course, netmond have to find its configuration file to run. LaunchingTo use netmond properly you need to create special configuration file for it. By default netmond try to load /etc/netmon.conf. As a rule, Netmond is launched at system startup from /etc/rc.local system startup script. Netmond must start after syslogd(8) service start, and filesystem have mounted where RootDir placed. At startup Netmond generate intensive network traffic. This is initial check of all objects and SNMP tables reindexing. Following strings can be added to end of /etc/rc.local script to launch Netmond:
Netmond inherit privileges from user who start it. Privileges are not modified at execution time. If Netmond launched from user other then root it is impossible to open sockets under 1024 and impossible to handle ICMP messages. Such a user must have write permissions for RootDir. Netmond run command have following format:
New or modified config file can be checked with command: Netmond feel following signals:
© 1998-2002, Rinet Software
|