Market Place > Script Market

  • My Gas 0G

[sh][kvs]Put check main process Product by Lowy Shin
(0) Votes
0Project reviews


1 gas *gas : cost unit of automation and other ecosystem


check process : nginx, apache, apahce2, mysql

[02][Linux][03][giip/sh] Disk정보 Update Product by Lowy Shin
(0) Votes
0Project reviews


1 gas *gas : cost unit of automation and other ecosystem


giip 기본 Logical Server정보의 Disk 정보를 업데이트 해주는 스크립트 입니다. 

[giip][kvs][sh] KVS put Net Connection Status Product by Lowy Shin
(0) Votes
0Project reviews


1 gas *gas : cost unit of automation and other ecosystem


1. NetStat

[sh] mysqldaemon restart Product by Lowy Shin
(0) Votes
0Project reviews


1 gas *gas : cost unit of automation and other ecosystem


# [sh] mysqldaemon restart

[giip][kvs][sh]Process Check mysql Product by Lowy Shin
(0) Votes
0Project reviews


1 gas *gas : cost unit of automation and other ecosystem


[sh]Process Check mysql

[giip][kvs][sh] mysql lock status Product by Lowy Shin
(0) Votes
0Project reviews


1 gas *gas : cost unit of automation and other ecosystem


# put below to CusomVariables Field
. /usr/local/giip/scripts/mysqlpw.sh

# Change and save pass.sh Below for information_schema access user
# cat /usr/local/giip/scripts/mysqlpw.sh
lwUser="root"
lwPwd="******"

[sh] git pull origin master Product by Lowy Shin
(0) Votes
0Project reviews


1 gas *gas : cost unit of automation and other ecosystem


# do not delete comment line. first line must be comment!
# paste below to CustomVariables and change your environment
spath="/var/www/html"
branch="master"

[giip][Install]NginxPHPwithPHPFPM[00].sh Product by JUsoohootmp
(0) Votes
0Project reviews


1 gas *gas : cost unit of automation and other ecosystem


# 최신자 repository 정보를 불러들인 후, 해당 repository에서 최신자 버젼의 Nignx, PHP-FPM, PHP 를 설치합니다.
!주의사항
기존의 php, nginx 패키지가 있을 경우, 해당 패키지들을 삭제하고 설치를 진행합니다. 해당 부분을 사전에 체크하시고 이용하시길 바랍니다.

[giip][KVS]FileLineCnt[00].sh Product by JUsoohootmp
(0) Votes
0Project reviews


1 gas *gas : cost unit of automation and other ecosystem


#ex) FileNameWithRoute="/usr/local/giip/scripts/giipAgent2.sh"
FileNameWithRoute="/usr/local/giip/scripts/giipAgent2.sh"

[giip][KVS]psCnt[00].sh Product by JUsoohootmp
(0) Votes
0Project reviews


1 gas *gas : cost unit of automation and other ecosystem


#ex) psname="sshd"
psname="sshd"

[sh] rsync data -> data2 Product by Lowy Shin
(0) Votes
0Project reviews


1 gas *gas : cost unit of automation and other ecosystem


rsync for cct data 

[giip][KVS]FileCnt[00].sh Product by JUsoohootmp
(0) Votes
0Project reviews


1 gas *gas : cost unit of automation and other ecosystem


#ex)TargetDir=/usr/local/giip/scripts
TargetDir=/usr/local/giip/scripts

[wsf] [CCT] counting file on cct3-pc Product by Lowy Shin
(0) Votes
0Project reviews


1 gas *gas : cost unit of automation and other ecosystem


' for CCT customer only

[wsf] Counting files on selected directory Product by Lowy Shin
(0) Votes
0Project reviews


1 gas *gas : cost unit of automation and other ecosystem


' copy and paste on custom variables box and correct your environment.
Call lwCntFiles("D:\backup\lwMSPdb")

[wsf] lwDelFiles - Delete all files in directory over picked days Product by Lowy Shin
(0) Votes
0Project reviews


1 gas *gas : cost unit of automation and other ecosystem


'==============================================
' Usage
' if you delete all files of c:¥backup over 15 days
' Path : c:¥backup
' TermDay : 15
' Call lwDelFiles(Path, TermDay)
'==============================================
' Create by Lowy Shin 2006.03.28
' 20181213 Lowy modified new KVS format

Put Disk Info to giip KVS at Mac or Linux Product by Lowy Shin
(0) Votes
0Project reviews


1 gas *gas : cost unit of automation and other ecosystem


# usage : 
# Set "MyCmd" variable on Custom Variables. 
# - df : df -Pa command
# - ls : ls -al command. if fill opt2 variable to path, ls on that path
# - net : netstat -i command
MyCmd="df"
opt2=""

Put Network Info to giip KVS at Mac or Linux Product by Lowy Shin
(0) Votes
0Project reviews


1 gas *gas : cost unit of automation and other ecosystem


# usage : 
# Set "MyCmd" variable on Custom Variables. 
# - df : df -Pa command
# - ls : ls -al command. if fill opt2 variable to path, ls on that path
# - net : netstat -i command
MyCmd="net"

dir Product by Aiden Seo
(0) Votes
0Project reviews


1 gas *gas : cost unit of automation and other ecosystem


dir

getSystemInfoLinux_v02 Product by giipagent@gmail.com
(0) Votes
0Project reviews


1 gas *gas : cost unit of automation and other ecosystem


get Linux System Information

[01][WinInit][01][giip/wsf] Sys. Info. Input. Win(wsf) Product by Lowy Shin
(0) Votes
0Project reviews


1 gas *gas : cost unit of automation and other ecosystem


giip 

[giip][KVS]NslookupCheck[02].sh Product by JUsoohootmp
(0) Votes
0Project reviews


10 gas *gas : cost unit of automation and other ecosystem


# [giip][KVS]NslookupCheck[02].sh
# 등록되어진 해당 도메인 주소에 대한 모든정보를 출력하여, 이를 확인할 수 있습니다.
# You can check this by printing all of the information about the registered domain addresses.

[giip][Install]ZabbixServer[03].sh Product by JUsoohootmp
(0) Votes
0Project reviews


50000 gas *gas : cost unit of automation and other ecosystem


# [giip][Install]ZabbixServer[03].sh
# Centos7.x 버젼용
# 전반적인 시스템정보를 모니터링이 가능한 zabbix서버를 설치하는 스크립트입니다. 
! 해당 스크립트는 zabbix 웹페이지를 통해서  Initial Setup 하기 위해 필요한 기본 설치 세팅입니다. zabbix웹ui를 통하여 Initial Setup을 진행을 모두 끝내야지, 정상적으로 사용이 가능합니다.
! [http://(Zabbix server's hostname or IP address)/zabbix/]을 통해서 zabbix웹 ui로 접근이 가능합니다. Initial Setup에 관한 기초 지식은 아래 링크를 이용해주시면 됩니다.
https://www.server-world.info/en/note?os=CentOS_7&p=zabbix34&f=2

# Script to install the Zabbix server, which can monitor the overall system information.
! The script is the default installation setting that is required to perform Initial Setup over the Zabbix Web page. You must finish all Initial Setup via the Zabbix Webui, so you can use it normally.
! You can get access to the Zabbix Webui via [http://(Zabbix server's hostname or IP address)/zabbix/]. For basic information about Initial Setup, use the link below.
https://www.server-world.info/en/note?os=CentOS_7&p=zabbix34&f=2

[giip][KVS]TrafficInfoSec[01].sh Product by JUsoohootmp
(0) Votes
0Project reviews


2 gas *gas : cost unit of automation and other ecosystem


# [giip][KVS]TrafficInfoSec[01].sh
# 초당 트래픽 양을 계산하여, giip로 해당 정보를 보내주는 스크립트입니다.
# A script that calculates the amount of traffic per second and sends that information to giip.

[giip][Install]MariadbPhpNginxPackages[01].sh Product by JUsoohootmp
(0) Votes
0Project reviews


10 gas *gas : cost unit of automation and other ecosystem


! centos 7.x
# [giip][Install]MariadbPhpNginxPackages[01].sh
# 해당 스크립트는 웹서버를 구성하는 기본 단위 패키지인 php, nginx, mariadb 를 설치해주고, 설치 유무와 버젼을 확인하여 giip로 설치되어진 패키지의 버젼 정보를 확인 할 수 있습니다. 
# The script installs php, nginx, and mariadb, the basic unit package that comprises the web server, and checks installation status and version to check the version information of the package installed with giip.

[giip][Install]Mysql5.7Python3.6[01].sh Product by JUsoohootmp
(0) Votes
0Project reviews


10 gas *gas : cost unit of automation and other ecosystem


# [giip][Install]Mysql5.7Python3.6[01].sh
# !)필독
- mysql5.7버젼에서는 mysql기본 default password값이 설정되어져 있습니다. 관련 로그 파일을 [mysql]defaultPassword로 생성하였으니, 필히 암호값을 확인해주시고 사용해주시면 됩니다.
- python3.6버젼이 세팅되어진 경우에는, yum을 사용 할 수 없습니다. 이 경우 python alias값을 기존 python버젼으로 세팅을 해주셔야합니다. 아래 명령어를 cli에서 사용하시면 기존버젼으로 alias값이 세팅되어지고, yum을 다시 사용 하 실 수 있습니다.
!) python alias값 세팅
기존 값으로
unlink /bin/python
ln -s /bin/python2 /bin/python
설치한 값으로
unlink /bin/python
ln -s /bin/python3 /bin/python


#)Please Read Before Use
- mysql 5.7 has the mysql default password value set. The associated log file was created with [mysql] defaultPassword. Please check the password value before using it.
- If the python 3.6 version is set, you can not use the yum. In this case, you must set the python alias value to the existing python version. If you use the following command in the cli, the alias value is set to the old version, and you can reuse the yum.
!) Set the python alias value.
1.set default ver
unlink /bin/python
ln - s / bin / python 2 / bin / python

2.set again installed ver
unlink /bin/python
ln - s / bin / python 3 / bin / python

[giip][KVS]MonitoringMemCpuDiskInformation[01].sh Product by JUsoohootmp
(0) Votes
0Project reviews


2 gas *gas : cost unit of automation and other ecosystem


# [giip][KVS]MonitoringMemCpuDiskInformation[01].sh
#  You can check CPU,MEM,DISK usage percentage in giip.
#  CPU,MEM,DISK 사용률을을 퍼센트와 한정보를  giip 를 통해서 확인하실 수 있습니다.

[giip][KVS]LastMessagesLogInfo[01].sh Product by JUsoohootmp
(0) Votes
0Project reviews


1 gas *gas : cost unit of automation and other ecosystem


# [giip][KVS]LastMessagesLogInfo[01].sh
# 부팅시의 메시지를 포함해 전체 시스템의 로그를 기록합니다. 이 로그의 내용은 mail, cron, daemon, kern, auth 등의 시작, 종료, 엑티브 같은 것 입니다. 보안 문제 발생 시 가장 먼저 확인해 봐야하는 파일입니다. 
# Logs the entire system, including messages at boot time. The contents of this log are starting, ending, and extive mail, cron, daemon, kern, auth, and so on. This is the first file you should check for when a security issue occurs.

[giip][KVS]LastRebootTimeCheck[01].sh Product by JUsoohootmp
(0) Votes
0Project reviews


1 gas *gas : cost unit of automation and other ecosystem


# [giip][KVS]LastRebootTimeCheck[01].sh
# 해당 OS가 reboot되어진 시간과, reboot되어진 후의 경과시간을 kvs를 통해 확인할 수 있습니다.
# You can check the time the OS is rebooted and the elapsed time after the reboot.

[giip][KVS]MonitoringArpInformation[02].sh Product by JUsoohootmp
(0) Votes
0Project reviews


1 gas *gas : cost unit of automation and other ecosystem


#[giip][KVS]MonitoringArpInformation[02].sh
! address resolution protocol; ARP 
This script will be show cached arp table at giip page.

[giip][KVS]CheckSSHrootloginpossible[01].sh Product by JUsoohootmp
(0) Votes
0Project reviews


1 gas *gas : cost unit of automation and other ecosystem


[giip][KVS]EnsureSSHrootloginpossible[01].sh
# 해당 스크립트는 root계정으로써 SSH 로그인이 가능한 상태인지 체크를 하는 스크립트입니다. 로그인이 가능한 상태일 경우에 1을, 불가능한 상태일 경우에는 0을 반환합니다.
# The script checks whether a SSHlogin is possible as a root account. Returns a 1 if the login is enabled or a 0 if the status is not available.

[giip][KVS]MonitoringDFInformation[01].sh Product by JUsoohootmp
(0) Votes
0Project reviews


1 gas *gas : cost unit of automation and other ecosystem


[giip][KVS]MonitoringDFInformation[01].sh

giip-20180424-KVS-MonitoringMemCpuDiskInformation[01].sh Product by JUsoohootmp
(0) Votes
0Project reviews


1 gas *gas : cost unit of automation and other ecosystem


giip-20180424-KVS-MonitoringMemCpuDiskInformation[01].sh

[01][WinInit][02][giip/wsf] Disk Stat Update Product by Lowy Shin
(0) Votes
0Project reviews


1 gas *gas : cost unit of automation and other ecosystem


giip 상태정보 업데이트용

giip-20180422-KVS-CheckforSSHrootlogin[01].sh Product by JUsoohootmp
(0) Votes
0Project reviews


1 gas *gas : cost unit of automation and other ecosystem


giip-20180422-KVS-CheckforSSHrootlogin[01].sh

giip-20180411-KVS정보스크립트-TrafficInfo.sh Product by JUsoohootmp
(0) Votes
0Project reviews


1 gas *gas : cost unit of automation and other ecosystem


20180411

[wmst][ps1] disk check all to kvs Product by Lowy Shin
(0) Votes
0Project reviews


1 gas *gas : cost unit of automation and other ecosystem


--

[giip][ps2] Sysinfo to giipKVS Product by Lowy Shin
(0) Votes
0Project reviews


1 gas *gas : cost unit of automation and other ecosystem


for Powershell 2.0

[giip][ps1] Get Windows System Information Product by Lowy Shin
(0) Votes
0Project reviews


1 gas *gas : cost unit of automation and other ecosystem


[giip][ps1] Get Windows System Information for powershell

[02][Linux][02][giip/sh] Linux NIC Info. Update Product by Lowy Shin
(0) Votes
0Project reviews


1 gas *gas : cost unit of automation and other ecosystem


NIC정보 업데이트

[02][Linux][01][giip/sh] Sys Info Update for Linux Product by Lowy Shin
(0) Votes
0Project reviews


1 gas *gas : cost unit of automation and other ecosystem


giip 기본 서비스인 Logical Server정보 업데이트용 스크립트입니다. 
시스템 정보를 업데이트 합니다.