EcoStruxure IT forum
Schneider Electric support forum about installation and configuration for DCIM including EcoStruxure IT Expert, IT Advisor, Data Center Expert, and NetBotz
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-02 11:30 AM . Last Modified: 2024-04-10 12:32 AM
G'day all,
I am attempting to utilize the HTTP Post method for alerting from DCE but am not having any success. I have a url listening for the request to a page called isx_post.php which has no authentication requirements and accepts post messages from curl or a webpage. But when attempting to generate a Test Message for the HTTP Post notification policy I never get any request whatsoever...is there some secret to getting HTTP Post from DCE to function?
curl command to listening page:
curl --data "name=Danny&email=dg0123@uw.edu" http://its-patrol-t1.mcis.washington.edu/isx_post.php
Content of log I am writing the post to:
$ cat post1426107220.log
array ( 'name' => 'Danny', 'email' => 'dg0123@uw.edu',
Your help would be greatly appreciated...Danny
(CID:95354986)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-02 11:30 AM . Last Modified: 2024-04-10 12:14 AM
Hi Danny, thanks for sharing! @community - any success in resolving such problem? If yes - share it with us 🙂
(CID:95355127)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-02 11:30 AM . Last Modified: 2024-04-10 12:14 AM
Hi Danny,
When using the test alert action functionality in DCE the HTTP post is send with no data.
We have created a small php test file that print Array() to a file post.txt when using the test functionality.
When using your above curl command the file gets similar to your log file.
php
Not sure what is wrong at your end but it might be some network related issue like firewall or similar blocking the post?
if you go to the webpage of the DCE server and login there is a "Status" link in top. In that page you will find basic network troubleshooting tools that might be useful.
(CID:95355319)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-02 11:30 AM . Last Modified: 2024-04-10 12:14 AM
StruxureWare uses HTTP POST to upload mime encoded files. If you're using PHP rely upon the $_FILES global to retrieve post results. These files, btw, are XML encoded and all but indecipherable. If there's any documentation as to their schema and/or methods of parsing I've had NO luck finding it. Good luck.
(CID:106205973)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-02 11:30 AM . Last Modified: 2023-10-31 11:01 PM
This question is closed for comments. You're welcome to start a new topic if you have further comments on this issue.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.