From 290bb9650265c003db2de0c49cf2f8e8198eef14 Mon Sep 17 00:00:00 2001 From: Guillaume COEUGNET Date: Wed, 30 Mar 2016 10:23:46 +0200 Subject: [PATCH] remove debug lines --- includes/alerts/transport.canopsis.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/includes/alerts/transport.canopsis.php b/includes/alerts/transport.canopsis.php index 354d1c97c..20b1bf436 100644 --- a/includes/alerts/transport.canopsis.php +++ b/includes/alerts/transport.canopsis.php @@ -40,7 +40,6 @@ $msg_body = array( "state" => $state, "state_type" => 1, "output" => $obj['msg'], - "long_output" => $obj['msg'], "display_name" =>"librenms_test" ); $msg_raw = json_encode($msg_body); @@ -51,9 +50,6 @@ if ($msg_body['source_type'] == "resource") else $msg_rk = $msg_body['connector'].".".$msg_body['connector_name'].".".$msg_body['event_type'].".".$msg_body['source_type'].".".$msg_body['component']; -#echo "JSON Event: " . $msg_raw . "\n"; -#echo "Routing-key: " . $msg_rk . "\n"; - // Publish Event $msg = new AMQPMessage($msg_raw, array('content_type' => 'application/json', 'delivery_mode' => 2)); $ch->basic_publish($msg, $exchange, $msg_rk);