Set Folder Comment via text file import

Need new test, action, option? Post request here.
Post Reply
rc
Posts: 100
Joined: Mon Aug 01, 2005 7:51 am

Set Folder Comment via text file import

Post by rc »

Hi Alex,

today I've try to generate a custom html report with includes Java Script to show in browser only tests with special comment line (view for responsible admin).
It works fine. For folder title I need the same option. Only show folder title where folder comment line x is the name of admin. This works also fine, but we create tests (inklusive comments) normally via text file import. This is great feature. But I can't generate folder comment via text file import. Is ist possible to make that in near future?.

Thanks a lot.

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

Post by KS-Soft »

Not sure about comment option, probably we need more complex solution, like import from database... You are importing test settings from some database?

Regards
Alex
rc
Posts: 100
Joined: Mon Aug 01, 2005 7:51 am

Post by rc »

Yes, we import test settings indirectly from a external configuration management database. The database includes pro server all test parameters and additional attributes such as administrator, location, application, workgroup and so on. The testparameters are stored in profiles such as LINUX-SERVER-PROFILE. Our programmers developed a skript that reads all fields from database and creats the textfile for import into hostmonitor. It works great.

Regards
Enrico
Igorek
Posts: 47
Joined: Wed Jul 06, 2005 8:55 pm
Location: Russia

Post by Igorek »

to rc:
How carried out import of textfile? Manually from menu File?
rc
Posts: 100
Joined: Mon Aug 01, 2005 7:51 am

Post by rc »

@Igorek

No, import goes automatically. We have created one test that checks import text file availability one times per minute. If file exits "execute HMS script" action will be executed. The script includes commands like:

DeleteTest www.test.com
ImportFromFile c:\import1.txt SkipDuplicates WriteLog

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

Post by KS-Soft »

I have added your request into "to do" list, but not sure when it can be implemented. Looks like we need to add some other commands as well..
Or may be we can add such command into HM Script? It will be more logical because HM Script already supports SetTestParam, ReplaceTestParam commands. Will it suit you need?

Regards
Alex
rc
Posts: 100
Joined: Mon Aug 01, 2005 7:51 am

Post by rc »

Hi Alex,

your suggestion sounds good for us. A comment like SetFolderParam in HM Script would be very nice.
In the moment we delete with HM Script not longer needed tests. In this context we also need a option to delete not longer needed folders.
And can you implement a HM Script commend like AcknowledgeTest and AcknowledgeComment? We create and close automatically for every bad test result via Execute Program Action an incident in our ServiceDesk tool.
Administrators can fill out the cause for the incident in this tool but can't acknowledge the incident in this system.

I know these are many wishes at once but I hope you can implement something.

Many thanks in advance!

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

Post by KS-Soft »

I think we can implement these commands.

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

Post by KS-Soft »

We implemented AckTestStatus command that can be used in HMScript.
Format: AckTestStatus <TestName> [StopAlerts] [<Comment>]
Unofficial update available at www.ks-soft.net/download/hm605.zip
Please install version 6.04 or 6.08 before using this update

Regards
Alex
rc
Posts: 100
Joined: Mon Aug 01, 2005 7:51 am

Post by rc »

Hi Alex,

thank you very much for this fast implementation of new command AckTestStatus. It works fine. Now it's possible to acknowledge from hostmonitor automatically created incidents for bad tests in the incident area of 3rd party tool.

Your support is really fantastic

Enrico
Post Reply