If the below error occurred when run 'Script Execution' task, add the shebang like '#!/bin/sh' in a first-line of the script file.
[Errno 8] Exec format error
0 Comments
Installation gui mode
========================== Double click 'install.exe' file. Installation silent mode ========================== On the command prompt, run the command as follows: > install.exe /S /IP=<server ip> /IP2=<server ip2> /PORT=<server port> /D=<install directory> ex) > install.exe /S /IP=1.1.1.1 /IP2=2.2.2.2 /PORT=18575 /D=C:\Program Files (x86)\insightVew\ivmagent ------------------------------------------------------ /IP : ip of insightVew server /IP2 : ip of insightVew server2 /PORT : port of insightVew server (default: 18575) /D : destination directory for install ------------------------------------------------------ To silent install agent on Linux, proceed as followings.
# ./silent_install.sh Usage: ./silent_install.sh -d path -1 ip -2 ip2 [-p port] [-a alias] [-s yes|no] ------------------------------------------------------ -d : absolute path for installation -1 : ip of insightVew server -2 : ip of insightVew server2 -p : port of insightVew server (default: 18575) -a : hostname for reset (default: ivm) -s : agent start now (yes/no, default: yes) ------------------------------------------------------ # If you want to install as service, set the '-s' option to 'no'. To install as service on Linux, proceed as followings. # cd <installed directory> # cd bin # ./cr_service.sh After install as service, you can run the service as like below. # sudo systemctl status ivmagent # sudo systemctl start ivmagent # sudo systemctl stop ivmagent If you want to collect H/W, S/W inventory, you must start agent with root account or sudo command.
Otherwise some information will be omitted. # root> ./ivmagent.sh start or $ user> sudo ./ivmagent.sh start The insightVew Agent supports linux, unix and windows systems. It is verified for the following os and versions.
Linux:
Unix:
Windows:
Note. - Install the 'libnsl', 'compat-openssl10' package if not installed on CentOS 8, Fedora 31/32. # sudo yum install libnsl # sudo yum install compat-openssl10 To update the agent on windows, proceed as follows.
1. Copy the serverinfo.cfg file in the cfg directory. 2. Remove 'insightVew Monitoring Agent' program on the [Control panel]-[Program remove]. 3. Install the new agent of windows. 4. Stop the following service of agent on the [Service]. insightVew Monitoring Agent insightVew Monitoring Wdog of Agent 5. Restore the serverinfo.cfg file to the cfg directory of the new agent. 6. Start the 'insightVew Monitoring Wdog of Agent' service on the [Service]. To update the agent on linux, proceed as follows.
1. Stop the agent. # ./ivmagent.sh stop 2. Copy the serverinfo.cfg file in the cfg directory. 3. Install the new agent of linux. 4. Restore the serverinfo.cfg file to the cfg directory of the new agent. 5. Start the agent. # ./ivmagent.sh start You can post event message manually. Use this command in your script or command prompt window.
$ ./postimsg Usage: postimsg -d "instdir" -r severity -m "message" [hostname=value] [source=value] [subsource=value] [alertgroup=value] [alertkey=value] [ostype=value] [sampling=value] [status=value] ----------------------------------------------------------------- # instdir : installed directory of ivmagent # severity : critical/warning/info # message : event message # hostname : hostname of occurred event (default = ivm) # source : source of event (default = server) # subsource : sub source of event (default = os) # alertgroup : alert group of event (default = userdefined) # alertkey : alert key of event (default = userevent) # ostype : Linux/Unix/Windows (default = Linux) # sampling : yes/no (default = yes) # status : open/close (default = open) ----------------------------------------------------------------- To start, stop and check the status of the agent, proceed as follows. On Windows, check the Service.
- Check the status # ./ivmagent.sh status - Start agent # ./ivmagent.sh start - Stop agent # ./ivmagent.sh stop [user@localhost ~]# ./install.sh
########################################################################### # # Installation of insightVew monitoring server # - by insightVew.com # ########################################################################### This script will install a monitoring server for Linux. When you are ready to install, press any key... What is the absolute directory path for installation? [/home/user/ivmserver] : /opt/ivmserver /opt/ivmserver directory not exist ! Do you want to create /opt/ivmserver (y/n)? [y] : ... ... Unpacking ivmserver for Linux is done. ... ... Monitoring server for Linux installation is done. The installation completed successfully. Before start server, you must setup the follows. - must be installed JDK 8 (http://jdk.java.net/) - modify JAVA_HOME in the "/opt/ivmserver/tomcat/bin/catalina.sh" - modify JAVA_HOME in the "/opt/ivmserver/jdbc/jdbcenv.cfg" ... To start server, run "/opt/ivmserver/ivmserver.sh start" If you want to auto start, run './cr_initd.sh' in the bin directory. Thank you for using insightVew monitoring Service. [user@localhost ~]# |