KikyoHonsha / 株式会社貴敬 / GID:106 / eth0IP:標準 / PORT:10596
[ 管理情報 ]

機種情報/ネットワーク/crontab は稼働するOBから不定期に設定値を取得&保存しています

wiki
[ wiki ]
※wikiの情報は存在しないか存在しても基本的に古いです(改善を予定)。
機種情報
Linux CV120095 5.15.0-78-generic #85-Ubuntu SMP Fri Jul 7 15:25:09 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
※[ppc=600系][armv5tel=A7]
MACアドレス
lo:  mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
enp1s0:  mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000    link/ether 00:e2:69:57:f5:cb brd ff:ff:ff:ff:ff:ff
enp2s0:  mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000    link/ether 00:e2:69:57:f5:cc brd ff:ff:ff:ff:ff:ff4: enp3s0:  mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000    link/ether 00:e2:69:57:f5:cd brd ff:ff:ff:ff:ff:ff5: enp4s0:  mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000    link/ether 00:e2:69:57:f5:ce brd ff:ff:ff:ff:ff:ff6: wlx485d6030196c:  mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000    link/ether 48:5d:60:30:19:6c brd ff:ff:ff:ff:ff:ff
※link/ether以降がMACアドレス
ネットワーク
文字列抽出 :
Wi-Fi IPアドレス :
eth0 IPアドレス : 192.168.11.60
eth1 IPアドレス : 192.168.60.124
文字列全体 : 
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000    inet 127.0.0.1/8 scope host lo       valid_lft forever preferred_lft forever2: enp1s0:  mtu 1500 qdisc mq state UP group default qlen 1000    inet 192.168.11.60/24 brd 192.168.11.255 scope global enp1s0       valid_lft forever preferred_lft forever3: enp2s0:  mtu 1500 qdisc mq state UP group default qlen 1000    inet 192.168.60.124/24 brd 192.168.60.255 scope global enp2s0       valid_lft forever preferred_lft forever
※inet以降がIPアドレス、サブネットマスクは[/24=255.255.255.0][/16=255.255.0.0][/8=255.0.0.0]
ゲートウェイ(ルーター)
文字列抽出 :
ルーターのLAN側IPアドレス : 192.168.11.1

文字列全体 : 
default via 192.168.11.1 dev enp1s0 proto static metric 100192.168.11.0/24 dev enp1s0 proto kernel scope link src 192.168.11.60192.168.60.0/24 dev enp2s0 proto kernel scope link src 192.168.60.124
※default via IPアドレスが該当部分
ファイルサーバ
ファイルサーバ識別KikyoHonsha*
ファイル取得タイプFTP
IPアドレス192.168.60.2
アカウント名openuser
パスワードopenuser
共有名(SMBのみ)
フォルダ/
ファイルリスト形式設定(FTPのみ)権限先行タイプ(例)-r-xr-xr-x 1 owner group 69052 Jul 14 10:12 0120190714ZE.csv
crontab
# Edit this file to introduce tasks to be run by cron.
# 
# Each task to run has to be defined through a single line
# indicating with different fields when the task will be run
# and what command to run for the task
# 
# To define the time you can provide concrete values for
# minute (m), hour (h), day of month (dom), month (mon),
# and day of week (dow) or use '*' in these fields (for 'any').
# 
# Notice that tasks will be started based on the cron's system
# daemon's notion of time and timezones.
# 
# Output of the crontab jobs (including errors) is sent through
# email to the user the crontab file belongs to (unless redirected).
# 
# For example, you can run a backup of all your user accounts
# at 5 a.m every week with:
# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
# 
# For more information see the manual pages of crontab(5) and cron(8)
# 
# m h  dom mon dow   command

*/1 * * * * sleep 51;/work/tools/main/ping.sh > /dev/null 2>&1
*/5 0-3,5-23 * * * sleep 51;/work/tools/main/srvping.sh > /dev/null 2>&1
7-57/10 9-23,0-1 * * * /work/tools/main/DIKWATCH/run.sh | tee /work/backup/log/run-`date +\%Y\%m\%d_\%H\%M\%S`.txt > /dev/null 2>&1

0 3 * * * sqlite3 /work/tools/main/DIKWATCH/data/filedb.sqlite3 reindex > /dev/null 2>&1
0 * * * * . /work/tools/main/config.txt;crontab -l > /home/hallcom/cron_${NODE}.txt;chown hallcom.hallcom /home/hallcom/cron_${NODE}.txt > /dev/null 2>&1
#49 8 * * * /work/tools/main/cronupd.sh | tee /work/backup/log/cronupd-`date +\%Y\%m\%d_\%H\%M\%S`.txt > /dev/null 2>&1
#5 7 * * * /work/tools/main/log.sh > /dev/null 2>&1
登録店舗
※転送設定変更ツールによる変更結果について、「運用状態」の表示への反映は即時ではありません。後から手動で反映しています。将来的にはツールと連動する予定です。
運用状態HC形式HC側IDEP側店舗ID店舗名
DIK028263アッシュ東大阪
DIK047483LOVE SLOT アッシュ
管理履歴