このページの翻訳:
- 日本語 (ja)
- English (en)
最近の更新
- 02 Apache2で自己認証ssl [中間証明書の整合性確認]
最近の更新
#!/bin/sh NOW='date +%s' case $1 in "off") COMMAND="DISABLE" ;; "on") COMMAND="ENABLE" ;; *) echo "error: option not exists." exit ;; esac for HOST in `cat list` do echo "[$NOW] ${COMMAND}_HOST_NOTIFICATIONS;$HOST;$NOW" \ > /usr/local/nagios/var/rw/nagios.cmd echo "[$NOW] ${COMMAND}_HOST_SVC_NOTIFICATIONS;$HOST;$NOW" \ > /usr/local/nagios/var/rw/nagios.cmd done