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

Beecom_SkipShinYokohama / SKIP新横浜店(ビーコムグループ) / GID:972 / eth0IP:標準 / PORT:10596 / SecLv1

機種情報

Linux cv120095 3.2.54 #1 Fri Aug 21 16:21:24 JST 2015 armv5tel GNU/Linux

※[ppc=600系][armv5tel=A7]
最終取得日時 2023-05-08 23:56:09

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:5e:26 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:5e:27 brd ff:ff:ff:ff:ff:ff

※link/ether以降がMACアドレス
最終取得日時 2023-05-08 23:56:11

ネットワーク

文字列抽出 :
eth0 IPアドレス : 192.168.11.60
eth1 IPアドレス : 192.168.65.124
文字列全体 : 
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.11.60/24 brd 192.168.11.255 scope global eth0
eth1:  mtu 1500 qdisc pfifo_fast state UP qlen 532    inet 192.168.65.124/24 brd 192.168.65.255 scope global eth1

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

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

文字列抽出 :
ルーターのLAN側IPアドレス : 192.168.11.1
文字列全体 : default via 192.168.11.1 dev eth0192.168.11.0/24 dev eth0  proto kernel  scope link  src 192.168.11.60192.168.65.0/24 dev eth1  proto kernel  scope link  src 192.168.65.124

※default via IPアドレスが該当部分
最終取得日時 2023-05-08 23:56:08

ファイルサーバ

ファイルサーバ識別Beecom_SkipShinYokohama*
ファイル取得タイプSMB
IPアドレス192.168.65.51
アカウント名Appuser
パスワードPassme
共有名(SMBのみ)yuugidai
フォルダ新横浜1F
ファイルリスト形式設定(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 33;/work/tools/main/ping.sh > /dev/null 2>&1
*/5 0-3,5-23 * * * sleep 33;/work/tools/main/srvping.sh > /dev/null 2>&1
#7-57/10 9-23,0-1 * * * /work/tools/main/KIHWATCH/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/KIHWATCH/data/filedb.sqlite3 reindex > /dev/null 2>&1
5 3 * * * sqlite3 /work/tools/main/KIHWATCH/data/reportdb.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




最終更新日時 2023-05-08 23:00:01

登録店舗

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

管理履歴