using SNMP to monitor JVM

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
fering
Posts: 14
Joined: Thu Jul 20, 2006 5:49 am

using SNMP to monitor JVM

Post by fering »

Hi,

I am trying to query this OID value:
1.3.6.1.4.1.42.2.145.3.163.1.1.2.11
Thsi is jvm - jvmMemoryHeapUsed
from hostmonitor i get "unknown varieble (oid)"

When i quesry from a linux machine I get an answer -
XXX# snmpwalk -c public -v2c 19X.16X.1X.1XX:29797 1.3.6.1.4.1.42.2.145.3.163.1.1.2.12

SNMPv2-SMI::enterprises.42.2.145.3.163.1.1.2.12.0 = Counter64: 532742144

Any idea ? i tried addint .0 didnt help

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

Re: using SNMP to monitor JVM

Post by KS-Soft Europe »

fering wrote:I am trying to query this OID value:
1.3.6.1.4.1.42.2.145.3.163.1.1.2.11
...
SNMPv2-SMI::enterprises.42.2.145.3.163.1.1.2.12.0 = Counter64:
Probably, you made a mistake typing OID in HostMonitor? I see the trailing 11 in OID, that is specifyid for HM (.3.6.1.4.1.42.2.145.3.163.1.1.2.11), and trailing 12 in snmpwalk example( 1.3.6.1.4.1.42.2.145.3.163.1.1.2.12 ). Could you verify it?

Regards,
Max
fering
Posts: 14
Joined: Thu Jul 20, 2006 5:49 am

Post by fering »

Thats ok both should work & i tried both, same result
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Could you please provide more information?
- What windows do you use? Service pack?
- What version of HostMonitor do you use?
- Have you specified agent address properly (with port - 19X.16X.1X.1XX:29797) into "Agent Adress" input box?
- Probably port 29797 is closed by firewall?

Regards,
Max
fering
Posts: 14
Joined: Thu Jul 20, 2006 5:49 am

Post by fering »

- What windows do you use? Service pack?
Windows xp sp2
- What version of HostMonitor do you use?
5.92
- Have you specified agent address properly (with port - 19X.16X.1X.1XX:29797) into "Agent Adress" input box?
yes
- Probably port 29797 is closed by firewall?
no -> 1. disabled firewall 2. the linux machine that i tried & was able to retrive information is ok so no firewall issues
fering
Posts: 14
Joined: Thu Jul 20, 2006 5:49 am

Post by fering »

One more thing - i am doing my tests from the "test properties" screen
in which you can define "address[:port]" whcih i did correctly otherwise i would get agent not found (tried it too).

Thanks
Danny
fering
Posts: 14
Joined: Thu Jul 20, 2006 5:49 am

Post by fering »

I managed to use a tool on my windows xp called snmpwalker & it also worked fine which means there is a problem with hostmonitor

C:\usr\bin>snmpwalk -c public -v2c 192.168.10.172 1.3.6.1.4.1.42.2.145.3.163.1.1.2.13
SNMPv2-SMI::enterprises.42.2.145.3.163.1.1.2.13.0 = Counter64: 532742144


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

Post by KS-Soft »

One more thing - i am doing my tests from the "test properties" screen
Using HostMonitor or RCC?
I managed to use a tool on my windows xp called snmpwalker & it also worked fine which means there is a problem with hostmonitor
Can we access your device for testing?

BTW: RMA does not use Windows API to perform SNMP Get test method, it uses our own code. You may try to use RMA

Regards
Alex
fering
Posts: 14
Joined: Thu Jul 20, 2006 5:49 am

Post by fering »

I am using the hostmonitor for my tests
what is RCC ?

What do you mean by use RMA ? install one on the server i am testing & query the oid using teh agent instead of using the hostmonitor ?

I can give you access using gotomeeting if you want
you can email we when you can to dannys@verix.com

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

Post by KS-Soft Europe »

fering wrote:I am using the hostmonitor for my tests
what is RCC ?
RCC allows you to work with HostMonitor which is running on a remote system just like you work with HostMonitor when it is started on your local system. RCC has exactly same interface as the one of the HostMonitor. Via RCC you will be able to modify alert profiles, reports, change any option, edit mail templates, create new or modify existing test items, etc. http://www.ks-soft.net/hostmon.eng/rcc/index.htm
fering wrote:What do you mean by use RMA ? install one on the server i am testing & query the oid using teh agent instead of using the hostmonitor ?
Actually, you may install RMA on the machine, where HostMonitor is running. Just to test if SNMP Get method works, because HostMonitor uses Windows API to perform SNMP Get requests and RMA uses our own code.
On the another hand, you may setup "Shell script" test method, that will parse output of snmpwalk utility and compare counter value with specified value. http://www.ks-soft.net/hostmon.eng/mfra ... m#chkShell

Regards,
Max
Post Reply