KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Alerting if an error: the specified instance is not present

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Bug reports
View previous topic :: View next topic  
Author Message
iglobal user



Joined: 29 Nov 2012
Posts: 1

PostPosted: Thu Nov 29, 2012 2:45 pm    Post subject: Alerting if an error: the specified instance is not present Reply with quote

Windows server 2008 R2
Host Monitor V9.30
The main purpose we use this software is to monitor calls per second and calls outstanding though performance monitor on a windows server 2008 R2 platform.

Currently we run three test with your software:
1. PerfCounter: Calls outstanding
a. Check Counter
i. \\RLPRDAPPE21\ServiceModelService 3.0.0.0(mdtservice@net.tcp:||localhost:49001|mdtservice)\Calls Outstanding
b. Alert when value is = to 10.00
c. Restart external services after 7 bad tests ran at 30 second intervals
d. Start external program after 14 consecutive bad test and until cleared (runs a exe created from a VBS script to send a email out to a certain email group)
e. Starts an external
2. PerfCounter: Calls per second
a. Set up the same way as Calls Outstanding
3. Ping x.x.x.x
a. Host alive
If perfcouter is hung, or is not working properly we receive the following error, “Error: The specified instance is not present” the status becomes unknown. This happens when the service that we run on the server gets hung up. What can I do to trigger an alert action when this happens to restart this service?
Back to top
View user's profile Send private message
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Thu Nov 29, 2012 3:27 pm    Post subject: Reply with quote

You may add Restart Service advanced mode action with one of these expressions:
('%Status%'=='Unknown')
will start action each time test get Unknown status
or
('%Status%'=='Unknown') AND (%Recurrences% == 1)
will start action only after first Unknown status
or
('%Status%'=='Unknown') AND (%Recurrences% mod 5 == 1)
will start action after first, 6, 11, 16, e.t.c. Unknown status recurrence.

Also, you may disable "Treat Unknown status as Bad" option (located on Test properties dialog).

With disabled "Treat Unknown status as Bad" option, you may want to mark "Action depends on bad one" option for "good" actions assigned to the test (if any assigned).
=====================
Action depends on "bad" one
This optional parameter is available for "Good" actions only. You can set "Good" action dependable on a "Bad" action. Why do you need it? For example you defined "Bad" action to send an e-mail notification to the network administrator when test fails 3 times consecutively (start when 3 consecutive "Bad" results occur), also you defined «Good» action to send a notification when the test status changes to "Good". What will happen if test fails 1 or 2 times and after this it restores "Good" status? HostMonitor will not send a notification about failure (because test did not fail 3 times) but the program will send notification about restoring "Good" status. To avoid unnecessary "Good" action execution you can mark "Action depends on "bad" one" option and select "Bad" action. In this case HostMonitor will start "Good" action only if corresponding "Bad" action was executed.
=====================

Please check for details at:
Advanced mode actions: http://www.ks-soft.net/hostmon.eng/mframe.htm#actions.htm#advancedaction
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Bug reports All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index