Search found 55 matches

by totte
Wed Sep 27, 2023 5:33 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: Action Profile http request max length
Replies: 2
Views: 7714

Action Profile http request max length

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) { &quo...
by totte
Wed Oct 19, 2022 7:43 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: Unixtimestamp
Replies: 1
Views: 6190

Unixtimestamp

Hi,

I need to post an unix timestamp in an actions http request json post. Is there any variable for that like %unix_timestamp%

https://currentmillis.com/

Thanks
Christoffer, hogia
by totte
Tue Feb 22, 2022 4:45 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: UNCAvailability/free space
Replies: 1
Views: 4656

UNCAvailability/free space

I would like to set "Alert When total free space less than X %" but would like the reply value to be free disk space in GB/MB. Is that possible in with tune up reply value?
by totte
Thu Dec 02, 2021 4:25 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: http request with åäö variables
Replies: 8
Views: 13767

application

Have sent to support

I´m trying to send to Opsgenie API. But when verifiying I´m using https://webhook.site

both returns %folder% varible å the same way.
by totte
Thu Dec 02, 2021 3:46 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: http request with åäö variables
Replies: 8
Views: 13767

hm version

Hi

we are using version 12.99c version of hostmonitor
by totte
Thu Dec 02, 2021 3:32 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: http request with åäö variables
Replies: 8
Views: 13767

Hi

I would like to have it translated to å if possible

the ? character make the webapi return bad request. Ã¥ is not translated but dosen´t return bad request

the weird part is that i "message" %folder% is translated to å but in "application" it is returned as Ã¥
by totte
Wed Dec 01, 2021 2:01 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: http request with åäö variables
Replies: 8
Views: 13767

complete post

Hi here is the complete message POST https://api.eu.opsgenie.com/v2/alerts Host: api.eu.opsgenie.com Content-Type: application/json Authorization: xxxxx-xxxx-xxx-xxx-xxxxxx { "message": "%fvar_custname%/%fvar_servername%/%fvar_appdesc%%Folder%/%testname%", "description"...
by totte
Tue Nov 30, 2021 1:41 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: http request with åäö variables
Replies: 8
Views: 13767

http request with åäö variables

Hi Trying to make an http request from an alertprofile when it sends åäö characters from some variables Depending on what variable is used å is either Ã¥ (%folder%) and ? in %fvar_variable% This is what is sent { "message": "Sk?netrafiken/%fvar_servername%/Skånetrafiken/Ping: f...
by totte
Thu Oct 07, 2021 3:19 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: %ODBCField2% in HTTP post request inserts \
Replies: 3
Views: 8058

Hi,

But then i get html tags like %7B%22user%22%3A%22kalle%20johansson%22%7D


/t
by totte
Wed Oct 06, 2021 1:57 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: %ODBCField2% in HTTP post request inserts \
Replies: 3
Views: 8058

%ODBCField2% in HTTP post request inserts \

Hi

I have an ODBC test returning 2 varchars, I use the variable %ODBCField2% in an http POST alert profile

The reply value in hostmonitor is {"user":"kalle"}. When using this in the alertprofile to post to the api {\"user\":\"kalle\"} is sent.


//t
by totte
Tue Oct 05, 2021 8:47 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: ODBC test 2nd field empty
Replies: 1
Views: 5950

found it

I found it used an old RMA agent, sorry.
by totte
Tue Oct 05, 2021 8:02 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: ODBC test 2nd field empty
Replies: 1
Views: 5950

ODBC test 2nd field empty

Hi,

I have an test that checks a SQL database 2 values are returned from the query. The 2nd field i always returned empty (i tried making an really simple query like SELECT 'a', 'b') still 2nd field is returned empty...
reply is "a:"


Version 12.64

//t
by totte
Tue Mar 31, 2020 7:15 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: UDP Test with RMA fails
Replies: 5
Views: 12544

Strange, I copied the test and changes performed by to my RMA and the test get status bad. When looking a bit closer to my wireshark i see that the returing package is changed from the one beeing sent from the server padding is added in some NAT or someting. Anyway changed the test to Alert When &qu...
by totte
Tue Mar 31, 2020 6:48 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: UDP Test with RMA fails
Replies: 5
Views: 12544

Hi,

Status is set to Bad and reply is 22ms.


//Christoffer.
by totte
Tue Mar 31, 2020 5:46 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: UDP Test with RMA fails
Replies: 5
Views: 12544

UDP Test with RMA fails

Hi I have a UDP test sending an string and our software returns an answer. This works as long as Hostmonitor send the package. I now need an RMA to perform the test and then the test fails. I have set up a wireshark and can see that the response from our software comes to the RMA server, but the tes...