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

script with Hostmon Test

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Library
View previous topic :: View next topic  
Author Message
kochpet



Joined: 31 Oct 2006
Posts: 1
Location: Austria

PostPosted: Tue Oct 31, 2006 10:31 am    Post subject: script with Hostmon Test Reply with quote

hallo everybody,

i want to write a script , where i check services from 6 Computer. For every service i have a hostmon test , thats not the problem.

i want a test , where i can say . If more then 2 service of the 6 are bad , then the whole test is bad.

I dont know , how i can use my hostmon test in a script.

Can somebody help me ?

kind regards

Peter
Back to top
View user's profile Send private message Visit poster's website
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Tue Oct 31, 2006 2:01 pm    Post subject: Reply with quote

You don't need a script. You need dependant test. You may
- setup auxiliary test item (e.g. ping 127.0.0.1)
- select "This test depends on expression" option of the test
- use expression like "%FolderCurrent_BadTests% < 3" for "Perform test if" option
- set "OtherwiseStatus" option to Bad
- mark "Synchronize status&alerts" option

On the other hand... are you sure you need such item? May be you need just "advanced mode" action?
http://www.ks-soft.net/hostmon.eng/mframe.htm#actions.htm#advancedaction

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Library 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