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

CNR_Kidai_KZoneOtori / K’ZONE鳳(有限会社貴大) / GID:233 / eth0IP:判定不能(Wi-Fi使用) / PORT:10596

機種情報

Linux CV120095 5.15.0-91-generic #101-Ubuntu SMP Tue Nov 14 13:30:08 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

※[ppc=600系][armv5tel=A7]
最終取得日時 2024-08-01 19:24:15

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 DOWN mode DEFAULT group default qlen 1000    link/ether 00:e2:69:5f:86:55 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:5f:86:56 brd ff:ff:ff:ff:ff:ff4: enp3s0:  mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000    link/ether 00:e2:69:5f:86:57 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:5f:86:58 brd ff:ff:ff:ff:ff:ff6: wlx742f6808bcb2:  mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000    link/ether 74:2f:68:08:bc:b2 brd ff:ff:ff:ff:ff:ff

※link/ether以降がMACアドレス
最終取得日時 2024-08-01 19:24:17

ネットワーク

文字列抽出 :
Wi-Fi IPアドレス : 192.168.0.210
eth0 IPアドレス :
eth1 IPアドレス : 172.17.101.31
文字列全体 : 
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 forever3: enp2s0:  mtu 1500 qdisc mq state UP group default qlen 1000    inet 172.17.101.31/24 brd 172.17.101.255 scope global enp2s0       valid_lft forever preferred_lft forever6: wlx742f6808bcb2:  mtu 1500 qdisc mq state UP group default qlen 1000    inet 192.168.0.210/24 brd 192.168.0.255 scope global wlx742f6808bcb2       valid_lft forever preferred_lft forever

※inet以降がIPアドレス、サブネットマスクは[/24=255.255.255.0][/16=255.255.0.0][/8=255.0.0.0]
最終取得日時 2024-08-01 19:24:13

ゲートウェイ(ルーター)

文字列抽出 :
ルーターのLAN側IPアドレス : 192.168.0.1
文字列全体 : default via 192.168.0.1 dev wlx742f6808bcb2 proto static metric 100172.17.101.0/24 dev enp2s0 proto kernel scope link src 172.17.101.31192.168.0.0/24 dev wlx742f6808bcb2 proto kernel scope link src 192.168.0.210

※default via IPアドレスが該当部分
最終取得日時 2024-08-01 19:24:14

ファイルサーバ

ファイルサーバ識別CNR_Kidai_KZoneOtori*
ファイル取得タイプFTP Local(eth1)
IPアドレス172.17.101.31
アカウント名media
パスワードmedia
共有名(SMBのみ)
フォルダ/
ファイルリスト形式設定(FTPのみ)

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 37;/work/tools/main/ping.sh > /dev/null 2>&1
*/5 0-3,5-23 * * * sleep 37;/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



最終更新日時 2024-08-01 19:00:01

登録店舗

※転送設定変更ツールによる変更結果について、「運用状態」の表示への反映は即時ではありません。後から手動で反映しています。将来的にはツールと連動する予定です。
運用状態HC形式HC側IDEP側店舗ID店舗名
仮転送ZEZKbyGlory0112765K’ZONE鳳

管理履歴