Created
April 11, 2011 14:40
-
-
Save BlueSkyDetector/913616 to your computer and use it in GitHub Desktop.
ZabbixのWeb画面の「Zabbixサーバの起動」は実質的に次のコマンドを実行しているのに等しい。Resource id #(番号)が返ればOK。先に出てるエラーは無視で。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ php -r 'include "/etc/zabbix/zabbix.conf.php";echo "\n\n" . fsockopen($ZBX_SERVER, $ZBX_SERVER_PORT, $errnum, $errstr, 2) . "\n\n";' | |
PHP Notice: Use of undefined constant IMAGE_FORMAT_PNG - assumed 'IMAGE_FORMAT_PNG' in /etc/zabbix/zabbix.conf.php on line 33 | |
Resource id #5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment