Change event resource

This commit is contained in:
Guillaume COEUGNET
2016-03-30 11:21:35 +02:00
parent 290bb96502
commit 5d21bf9a55
+2 -2
View File
@@ -36,11 +36,11 @@ $msg_body = array(
"event_type" => "check",
"source_type" => "resource",
"component" => $obj['hostname'],
"resource" => $obj['device_id'],
"resource" => $obj['faults'][1]['storage_descr'],
"state" => $state,
"state_type" => 1,
"output" => $obj['msg'],
"display_name" =>"librenms_test"
"display_name" => "librenms"
);
$msg_raw = json_encode($msg_body);