using SNMP to monitor JVM
using SNMP to monitor JVM
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
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
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Re: using SNMP to monitor JVM
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?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:
Regards,
Max
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
- 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
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
Using HostMonitor or RCC?One more thing - i am doing my tests from the "test properties" screen
Can we access your device for testing?I managed to use a tool on my windows xp called snmpwalker & it also worked fine which means there is a problem with hostmonitor
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
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
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.htmfering wrote:I am using the hostmonitor for my tests
what is RCC ?
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.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 ?
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