Verify that events are posting correctly
Set preferences to specify handling URL events posting on the receiving side. Follow the PHP script scenario to verify events are posting correctly.
-
Post events to a file such as
/tmp/eventson the web server host. -
Create a script
postOPSCevents.php:<?php file_put_contents( '/tmp/events', print_r ( $_POST,true ), FILE_APPEND ); ?> -
Deploy the script. You might need to restart the web server.
-
Launch a logged event, such as an OpsCenter restart or garbage compaction from Dashboard > Cluster > List View.
The output contains the events posted to
/tmp/events:Array ( [api_source_ip ] => 67.169.50.240 [target_node ] => None [event_source ] => OpsCenter [user ] => None [ time ] => 1311025598851602 [action ] => 20 [message ] => Garbage Collecting node 50.1.1.24 [level ] => 1 [source_node ] => 50.1.1.24 [level_str ] => INFO )