Count disabled and/or paused tests

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
Kris
Posts: 375
Joined: Wed May 12, 2010 3:22 am

Count disabled and/or paused tests

Post by Kris »

Hi all,

From time to time, we find that tests have been disabled or paused indefinately during troubleshooting or configuring target systems.
And then forgotten to enable/unpause again.
So I was thinking, it would be handy to have a test that counts disabled and/or paused tests...
Anyone tried something like that?

Thanks!
Kris
KS-Soft
Posts: 12846
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

We can add couple new variables.. on the other hand may be View with disabled and paused items will work better?
https://www.ks-soft.net/hostmon.eng/mfr ... #ViewsList

Regards
Alex
Kris
Posts: 375
Joined: Wed May 12, 2010 3:22 am

Post by Kris »

Hi Alex,

We already have views for disabled and paused tests.
Event though these are very informative, they don't have a 'signaling' function.
So maybe some variables like %DisabledTestsCount% and %PausedTestsCount%, maybe even filterable with a 'where' clause to select specific folders or test names, you name it hehehehe 8) :roll:
KS-Soft
Posts: 12846
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Ok, if you are using version 12.90, please contact support by e-mail. We will provide update with new variables

Regards
Alex
Kris
Posts: 375
Joined: Wed May 12, 2010 3:22 am

Post by Kris »

email sent :wink:
Kris
Posts: 375
Joined: Wed May 12, 2010 3:22 am

Post by Kris »

Just applied the update, works like a charm (as per usual 8) )

Awesome. Thanks!
Kris
Posts: 375
Joined: Wed May 12, 2010 3:22 am

Post by Kris »

Hi Alex,

While testing, I found that the variable %HM_PAUSEDITEMS% reports 1, when there aren't any paused tests :roll:
KS-Soft
Posts: 12846
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

We cannot reproduce the problem.
Check for Paused and OutOfSchedule items

Regards
Alex
Kris
Posts: 375
Joined: Wed May 12, 2010 3:22 am

Post by Kris »

OK, here's what happened next:

- The %HM_PAUSEDITEMS% variable reported 1, while no test were paused.
- I paused 1 test en checked on %HM_PAUSEDITEMS% again, still reported 1
- I resumed the paused test and checked on %HM_PAUSEDITEMS% again, now showing 0

So I can't reproduce it either...
KS-Soft
Posts: 12846
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Have you seen OutOfSchedule item?

Regards
Alex
Kris
Posts: 375
Joined: Wed May 12, 2010 3:22 am

Post by Kris »

Not sure if there were any OutofSchedule tests at that very moment, there aren't any now.
Not sure how to force a test to get OutofSchedule status though :roll:
KS-Soft
Posts: 12846
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Kris
Posts: 375
Joined: Wed May 12, 2010 3:22 am

Post by Kris »

Good point :o

So I tested stuff.

1) Paused tests count for %HM_PAUSEDITEMS% AND show up in the Paused tests view (%StatusID%=='13') AND show up in the OutofSchedule tests view (checkbox 'Out of Schedule')
2) Out of Schedule tests also count for %HM_PAUSEDITEMS% AND show up in the OutofSchedule tests view (checkbox 'Out of Schedule') but DON'T show up in the Paused tests view (%StatusID%=='13')

Good enough for me

:)
Post Reply