KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Action Profile http request max length

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
totte



Joined: 30 May 2007
Posts: 55

PostPosted: Wed Sep 27, 2023 5:33 am    Post subject: Action Profile http request max length Reply with quote

Hi

I´m using Action profile http Request to to send alerts and having problems that our http request somtimes gets cut and resulting in 400 bad requests.

What is the max length and is it possible to adjust it?

Request that is sent is
The last 4 rows is being cut( marked with red color below)


{
"message": "ab/ababababab031/distribution/LogReader ptProd: Tables",
"description": "Börja med att starta om logreader agenten på ababababab32/33. Problem med den replikerade ptPROD, felar denna kolla DB Owner på ptProd, finns ett larm under DaRT/DB Cluster/ptProd - ptProd Ower. Den ska vara SA, är den det kolla i Replication Monitor på DaRT SQLen för vidare felsökning",
"alias": "68291",
"priority": "P1",
"details": {
"Application": "distribution",
"Server": "abababab031",
"Customer":"ab",
"Reply": "OK: EXECUTING (IN PROGRESS) Start 2023-09-15 09:59, dur 0:0.",
"Status": "Ok",
"Recurrences": "3457",
"RelatedUrl": "",
"CreateErrand": "https://ababababb.com/h2h/?HLTemplate=Incident&TID=sdfs1#page1",
"CreateErrandDynamics": "<a href=https://asdfadsf.asdfdasf.po/h2h2/?TID=68291&hmCustomer=1&HLPrio=1#page1>Create Dynamics</a>",
"Customerid": "1",
"productnumber": "%fvar_productnumber%"
},
"tags": [
"SL"

"distribution",
"TFMSDBP031"
]
}

Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Wed Sep 27, 2023 8:53 am    Post subject: Reply with quote

HostMonitor version?
Limit? 2MB I think.
May be you forgot comma before "distribution"?

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Thu Sep 28, 2023 4:14 am    Post subject: Reply with quote

We found the bug - it sends complete data packet but sometimes HostMonitor may calculate "content-length" parameter incorrectly.
If "%fvar_productnumber%" always has the same length then you may calculate and insert "content-length" line manually.

Otherwise we can provide update today.
If you are using latest version (14.20), please send request to support @ ks-soft.net, provide your order number and/or registration name.

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index