Hi,
I have a disk file growth check implemnted, like f.e. in this post:
http://www.ks-soft.net/cgi-bin/phpBB/vi ... ght=growth
Test method UNC with "Tune up Reply value" - [('%SuggestedLastReply%' div 1048576) - ('%SuggestedReply%' div 1048576)] Mb and an Advanced Alert with this expression: ('%SuggestedLastReply%'-'%SuggestedReply%') > '20 Mb'
It's working without problems, although is there a possibility to get the status of the test to bad/down? The test will be always ok, I would like to see the test as bad in the RCC.
Thanks in advance
Martin
Question to disk size growth check?
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
You may set "Warning" status for test item, using the same expression that you are using for the action.
Please check the manual or visit our web site for more information at:
http://www.ks-soft.net/hostmon.eng/mfra ... ningstatus
Please check the manual or visit our web site for more information at:
http://www.ks-soft.net/hostmon.eng/mfra ... ningstatus
I already checked this, although I will get the following error with the expression, which is working in the Alert options:KS-Soft Europe wrote:You may set "Warning" status for test item, using the same expression that you are using for the action.
Please check the manual or visit our web site for more information at:
http://www.ks-soft.net/hostmon.eng/mfra ... ningstatus
('%SuggestedLastReply%'-'%SuggestedReply%') > '20 Mb'
error: "is not number in expression: ("-'100') > '20 Mb'
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
%SuggestedLastReply% variable has empty value in design time for Warning/Normal status expressions.
Adding zero to the beginning of the variable allows to validate expression.
e.g. when %SuggestedLastReply% is empty:
'%SuggestedLastReply%' == <empty value> (causes expression check error)
'0%SuggestedLastReply%' == 0
when %SuggestedLastReply% has some value (e.g. %SuggestedLastReply% == 300)
'0300' == 300
Adding zero to the beginning of the variable allows to validate expression.
e.g. when %SuggestedLastReply% is empty:
'%SuggestedLastReply%' == <empty value> (causes expression check error)
'0%SuggestedLastReply%' == 0
when %SuggestedLastReply% has some value (e.g. %SuggestedLastReply% == 300)
'0300' == 300