Hello community
For our Customers, we want that they could modify his Tests as hisself using an SMS-Interface. For this, we need to connect to HostMonitor.
How should we connect? I've tested now Telnet, but it's not possible to give the Username and/or Passwort in a .bat-File, so no Login's possible.
What could we do? Have anyone an idea how we could connect to HostMonitor without interacting of an Operator on a console?
Modify Test using Telnet
Modify test items using SMS interface? I am afraid this is impossible.
Unless you create your own interface. Your application may interact with HostMonitor using import text file
http://www.ks-soft.net/hostmon.eng/examples/import1.htm
You may setup some auxiliary test item to monitor import file (e.g. File/Folder Availability test method) and assign HM Script action with ImportFromFile command to this test item. In such case HostMonitor will import new test settings every time your application made changes in the file
Regards
Alex
Unless you create your own interface. Your application may interact with HostMonitor using import text file
http://www.ks-soft.net/hostmon.eng/examples/import1.htm
You may setup some auxiliary test item to monitor import file (e.g. File/Folder Availability test method) and assign HM Script action with ImportFromFile command to this test item. In such case HostMonitor will import new test settings every time your application made changes in the file
Regards
Alex
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
What about creation .HMS files and File/Folder Availability tests for each user in different folders?binaer wrote:Works with some Workarounds.... and I must write my own User-Authentication.
Sorry, but RMA does not allow you to run HMS scripts.binaer wrote:Is it possible to perform one-time commands using this Method and RMA?
Regards,
Max
Hmm, you mean that I should setup a Test-Routine for every User which uses the SMS-Service and place the File in an own Folder?KS-Soft Europe wrote:What about creation .HMS files and File/Folder Availability tests for each user in different folders?binaer wrote:Works with some Workarounds.... and I must write my own User-Authentication.
Regards,
Max
Hmm, then, every user could write commands even they is normally not authorized. Then I need a Filter for commands like: User A could restart HM, User B could only stop test A, B and C and so on.
I donesn't mean HM-Scripts, I mean Shell-Scripts, sorry.KS-Soft Europe wrote: Sorry, but RMA does not allow you to run HMS scripts.
It doesn't make any difference - one file/folder or many files/folders. HM Script will be executed by HostMonitor, HostMonitor has access to all test items and it may perform any specified operation.Hmm, you mean that I should setup a Test-Routine for every User which uses the SMS-Service and place the File in an own Folder?
So, If you are implementing your own interface, then you should implement your own user authentication scheme.
Regards
Alex