Min/ max/ Avg value replies are allways 0

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
Rovko
Posts: 4
Joined: Thu Nov 13, 2008 5:25 am

Min/ max/ Avg value replies are allways 0

Post by Rovko »

Hi,
i tried to monitor the temperature form the temperature sensor "Comet p8510" via SNMP get.
HM shows me the actual value reply but the min- max- avg value replies are allways shown as 0.


Can someone help me plz?

I use HM version 7.52.

Greetings
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Hm. Strange problem. Do you mean, you see the actual reply value in HostMonitor main window or you just press on "Get Value" button in "Test Properties" window?
What number of "Recurrences" do you see for this particular test?

Please, ensure monitoring is started. You may resume monitoring using menu "Monitoring" -> "Start Monitoring".

Regards,
Max
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

What type of the counter provided by SNMP agent? Integer? Counter? String? How exactly looks Reply?
If "reply" value cannot be converted into number then Min, Max and Average counters will be 0

Regards
Alex
Rovko
Posts: 4
Joined: Thu Nov 13, 2008 5:25 am

Post by Rovko »

Monitoring is allready started.
i can see the actual reply in the main window the single replies were also written in the log file. But the min and max values are allways 0.

The actal Number of Recurrences for this test is 279.

Another problem is, when i start the Log analyzer. the graph is only a horizontal line with the value 0 and doesn´t show the values which were written in the log file.
Rovko
Posts: 4
Joined: Thu Nov 13, 2008 5:25 am

Post by Rovko »

the reply is at the moment "22.4"

i´ve also tried the suggestion that were given in the threat

http://www.ks-soft.net/cgi-bin/phpBB/vi ... php?t=1983

but my version is allready higher then the one you suggest to download.

greetings
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

the reply is at the moment "22.4"
Looks like SNMP agent returns a string, not a number.
If your system (Windows) uses comma (,) as decimal separator then 24.4 is not a number.
You may change system settings to use dot instead of comma and restart HostMonitor. This should help to fix min/max problem.

However another problem will remain. HostMonitor checks data type provided by SNMP agent and compares strings in different way then numbers (e.g. string "4" is greater than string "30").
You should check manual that comes with your temperature sensor. Probably agent provides some other counters that returns integer numbers. or may be it returns float numbers using OPAQUE data type. In such case you may mark "Check OPAQUE data for float numbers" option for SNMP Credentials profile specified for this test

Regards
Alex
Rovko
Posts: 4
Joined: Thu Nov 13, 2008 5:25 am

Post by Rovko »

ah now it works!

Btw it would be good if HM could read a comma also. So i don´t need to change the windows settings.

but thanks for your help.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Btw it would be good if HM could read a comma also. So i don´t need to change the windows settings
You think we should ignore standards and rules? I cannot agree :roll:

Regards
Alex
Post Reply