Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

We Value Your Feedback!
Could you please spare a few minutes to share your thoughts on Cloud Connected vs On-Premise Services. Your feedback can help us shape the future of services.
Learn more about the survey or Click here to Launch the survey
Schneider Electric Services Innovation Team!

Configuring HTTP POST Alarm Actions

EcoStruxure IT forum

Schneider Electric support forum about installation and configuration for DCIM including EcoStruxure IT Expert, IT Advisor, Data Center Expert, and NetBotz

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • EcoStruxure IT
  • EcoStruxure IT forum
  • Configuring HTTP POST Alarm Actions
Options
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
Cory_McDonald
Admiral Cory_McDonald Admiral
124
Jef
Admiral Jef Admiral
110
gsterling
Captain gsterling Captain
71
APC_Steve
Captain APC_Steve Captain
62
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to EcoStruxure IT forum
Solved
DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 02:09 AM . Last Modified: ‎2024-04-09 12:22 AM

0 Likes
6
1480
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-07-03 02:09 AM . Last Modified: ‎2024-04-09 12:22 AM

Configuring HTTP POST Alarm Actions

Hi All

We are trying to configure a Notification Policy to do a HTTP Post.

We have this in the Target URL of the Policy:

http://10.*.*.*/struxureware_dce.php AlertPod=${ALERTPOD} UserDesc=${USERDESC} SensorName=${SENSORNAME} SensorVal=${SENSORVAL} Time=${TIME} Date=${DATE}

We can see the above request hitting the web-server we are using, however the variables are not in the expected format for a post request.

What format are people using to successfully send requests? Like the above? Or like this?

http://10.*.*.*/struxureware_dce.php?AlertPod=${ALERTPOD}&UserDesc=${USERDESC}&SensorName=${SENSORNAME}&SensorVal=${SENSORVAL}&Time=${TIME}&Date=${DATE}

We dont have a firewall in the way. Unfortunately there are no examples in the documentation.

 


Thanks

(CID:105471662)

Labels
  • Labels:
  • Data Center Expert
Reply
Contact Support

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 02:09 AM . Last Modified: ‎2024-04-09 12:22 AM

0 Likes
1
1479
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-07-03 02:09 AM . Last Modified: ‎2024-04-09 12:22 AM

Hi T. Prudden,

 

Unfortunately the Macros, such as ${ALERTPOD}, are only available when using "Send Short Message E-Mail" or "Send Data to FTP Server" alert actions.

 

With Send Short Message E-Mail you have the most flexibility with the Macros to dynamically define the Subject and Message. With Send Data to FTP Server you can use the Macros to dynamically define the name of the file that will be posted.

 

What you're trying to do is a great idea, I'm surprised more people haven't requested this functionality. My apologies that the documentation wasn't clear enough on which actions supported the Macros.

 

-Scott

(CID:105472131)

See Answer In Context

Reply
Contact Support

Link copied. Please paste this link to share this article on your social media post.

Replies 6
DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 02:09 AM . Last Modified: ‎2024-04-09 12:22 AM

0 Likes
0
1479
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-07-03 02:09 AM . Last Modified: ‎2024-04-09 12:22 AM

Hi T. Prudden, thanks for posting! Let's see who can be of assistance here. Meanwhile. @community - any ideas? Best, Stine

(CID:105471969)

Reply
Contact Support

Link copied. Please paste this link to share this article on your social media post.

DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 02:09 AM . Last Modified: ‎2024-04-09 12:22 AM

0 Likes
1
1480
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-07-03 02:09 AM . Last Modified: ‎2024-04-09 12:22 AM

Hi T. Prudden,

 

Unfortunately the Macros, such as ${ALERTPOD}, are only available when using "Send Short Message E-Mail" or "Send Data to FTP Server" alert actions.

 

With Send Short Message E-Mail you have the most flexibility with the Macros to dynamically define the Subject and Message. With Send Data to FTP Server you can use the Macros to dynamically define the name of the file that will be posted.

 

What you're trying to do is a great idea, I'm surprised more people haven't requested this functionality. My apologies that the documentation wasn't clear enough on which actions supported the Macros.

 

-Scott

(CID:105472131)

Reply
Contact Support

Link copied. Please paste this link to share this article on your social media post.

DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 02:09 AM . Last Modified: ‎2024-04-09 12:22 AM

In response to DCIM_Support
0 Likes
0
1479
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-07-03 02:09 AM . Last Modified: ‎2024-04-09 12:22 AM

Thanks for the reply.

(CID:105474266)

Reply
Contact Support

Link copied. Please paste this link to share this article on your social media post.

DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 02:09 AM . Last Modified: ‎2024-04-09 12:22 AM

0 Likes
0
1479
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-07-03 02:09 AM . Last Modified: ‎2024-04-09 12:22 AM

Just to add to the above, I have been investigating further since posting my question, and when I examine the Apache access_log file I can see that I am in fact being sent the expanded macros (encoded), but just not in the HTTP post body. Example line from Apache access log:

10.*.*.* - hpom [27/Apr/2016:09:33:05 +0100] "POST /struxureware_dce.php AlertPod=SLO%2DDC1%2DPH%2DF07%2810%2E255%2E192%2E61%29 UserDesc= SensorName=Rear%5FTemp%20Temperature%20Value SensorVal=31%2E1%20%D2%B0%20C Time=09%2D33%2D02 Date=2016%2D04%2D27 HTTP/1.1" 200 24 "-" "-"

 

As a tempoary solution I think we will just scrape the data from the access logs for now.

 

Thanks for your help.

(CID:105474268)

Reply
Contact Support

Link copied. Please paste this link to share this article on your social media post.

DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 02:09 AM . Last Modified: ‎2024-04-09 12:22 AM

0 Likes
0
1479
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-07-03 02:09 AM . Last Modified: ‎2024-04-09 12:22 AM

FYI as of PHP version 5 for whatever reason the additional information makes its way into the $_SERVER["SERVER_PROTOCOL"] variable (that's the $_SERVER superglobal).  This appears as a idiosyncratic 'bug' in how PHP 5 parses the HTTP request header so probably not reliable across PHP and/or StruxureWare versions (it might be 'fixed' in newer versions, PHP 7 for example).  I've not tested further, YMMV.

(CID:106205980)

Reply
Contact Support

Link copied. Please paste this link to share this article on your social media post.

DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 02:09 AM . Last Modified: ‎2023-10-31 10:21 PM

0 Likes
0
1479
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-07-03 02:09 AM . Last Modified: ‎2023-10-31 10:21 PM

superhero.png

This question is closed for comments. You're welcome to start a new topic if you have further comments on this issue.

Reply
Contact Support

Link copied. Please paste this link to share this article on your social media post.

To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

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.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of