How to edit Reply format values (exponential)

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
dariohead
Posts: 2
Joined: Mon Jan 26, 2009 11:54 am

How to edit Reply format values (exponential)

Post by dariohead »

hello,
I have a problem because all the values shown on the Reply tag are in exponential of 10. for example the device I'm monitoring gives the input power value '22' instead of '2,2'.
Do you know how to change that?? exponential display???

(I'm doing a SNMP test with Edfa and OS devices on Host Monitor)
the value came from OID's)
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

If HostMonitor displays 22, this means SNMP agent sends 22 to HostMonitor.
What exactly OID do you request?

If you want to display '2.2' instead of 22, you may use "Tune up Reply" test property and expression like [%suggestedreply% div 10].[%suggestedReply% mod 10]
http://www.ks-soft.net/hostmon.eng/mfra ... uneupreply

Regards
Alex
dariohead
Posts: 2
Joined: Mon Jan 26, 2009 11:54 am

Post by dariohead »

thanks a lot!
and what happen when reply value is negative?
I've got this message:

'Error in expression [-999 div 10]: missed operand'
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Use quotation marks
['%SuggestedReply%' div 10].['%SuggestedReply%' mod 10]

Regards
Alex
Post Reply