Customizing the "response from HM host service" we

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
xavier
Posts: 3
Joined: Fri May 21, 2004 2:47 pm

Customizing the "response from HM host service" we

Post by xavier »

Hello,

Is there a way to customize this web page "response from HM host service" ?
I install the web service on another PC than the one where HM is installed and i putted an autorefresh so when/if there is a problem with HM (server or application), it´ll display the page "response from HM host service" .
I would like to change this page to put more information and to localize it.

Thank you,

Xavier
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Not sure what page you want to configure. Error page that is displayed by Web Service when HostMonitor does not respond?

I am afraid its not configurable. But it could be improved in next version... Do I understand you correctly?

Regards
Alex
xavier
Posts: 3
Joined: Fri May 21, 2004 2:47 pm

Post by xavier »

yes that the one :-)
If you could add it to the wish list , it would be great.

Thank you for your support.

Xavier
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

I have added request into "to do" list.
Probably will be implemented in next version

Regards
Alex
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Unofficial update available at www.ks-soft.net/download/ws109c.zip
Mark "Use custom HTML page to report error" and place your customized error page in 'WebService\images\errorpage1.htm"
Use %WSResponse% variable to display error message.
E.g. standard page looks like

Code: Select all

<html>
<head>
<STYLE TYPE="text/css"> <!-- 
  .errstyle { text-align: left; background-color: #DDDDDD; color: #FF0000 } 
  .cmtstyle { text-align: left; background-color: #DDDDDD; color: #000000 } 
--> </STYLE>
</head>
<body bgcolor=#DDDDDD text=#000000>
<u>Response from HostMonitor's Web Service:</u><br>
<h2 class=errstyle>%WSResponse%</h2>
<hr>
<p class=cmtstyle>
Possible reasons:<br>
- HostMonitor is not running<br>
- RCI interface disabled<br>
- HM Web Service configured incorrectly (wrong TCP Port or IP address)<br>
- network problem<br>
</body>
</html>
Regards
Alex
Post Reply