CNR_Hakuwa_ParlorDaigakuShitami / パーラー大学下見店(株式会社伯和) / GID:279 / eth0IP:標準以外 / PORT:10596 / SecLv1
[ 管理情報 ]

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

wiki
[ wiki ]
※wikiの情報は存在しないか存在しても基本的に古いです(改善を予定)。
機種情報
Linux cv120095 3.2.54 #1 Fri Aug 21 16:21:24 JST 2015 armv5tel GNU/Linux
※[ppc=600系][armv5tel=A7]
MACアドレス
lo:  mtu 16436 qdisc noqueue state UNKNOWN mode DEFAULT    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
eth0:  mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 532    link/ether 00:0a:85:09:28:fa brd ff:ff:ff:ff:ff:ff
eth1:  mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 532    link/ether 00:0a:85:09:28:fb brd ff:ff:ff:ff:ff:ff
※link/ether以降がMACアドレス
ネットワーク
文字列抽出 :
eth0 IPアドレス : 192.168.10.241
eth1 IPアドレス : 172.16.28.224
文字列全体 : 
lo:  mtu 16436 qdisc noqueue state UNKNOWN    inet 127.0.0.1/8 scope host lo
eth0:  mtu 1500 qdisc pfifo_fast state UP qlen 532    inet 192.168.10.241/24 brd 192.168.10.255 scope global eth0
eth1:  mtu 1500 qdisc pfifo_fast state UP qlen 532    inet 172.16.28.224/24 brd 172.16.28.255 scope global eth1
※inet以降がIPアドレス、サブネットマスクは[/24=255.255.255.0][/16=255.255.0.0][/8=255.0.0.0]
ゲートウェイ(ルーター)
文字列抽出 :
ルーターのLAN側IPアドレス : 192.168.10.1

文字列全体 : 
default via 192.168.10.1 dev eth0172.16.28.0/24 dev eth1  proto kernel  scope link  src 172.16.28.224192.168.10.0/24 dev eth0  proto kernel  scope link  src 192.168.10.241
※default via IPアドレスが該当部分
ファイルサーバ
ファイルサーバ識別CNR_Hakuwa_ParlorDaigakuShitami*
ファイル取得タイプFTP
IPアドレス172.16.28.172
アカウント名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 2;/work/tools/main/ping.sh > /dev/null 2>&1
*/5 0-3,5-23 * * * sleep 2;/work/tools/main/srvping.sh > /dev/null 2>&1
8-58/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店舗名
DIK019226パーラー大学下見店
管理履歴