|
|
| Author |
Message |
jkstraw
Joined: 01 Aug 2006 Posts: 34
|
|
| Back to top |
|
 |
alexupton
Joined: 24 Feb 2007 Posts: 4
|
Posted: Sat Feb 24, 2007 8:51 pm Post subject: |
|
|
Hello,
Thank you for taking the time to create this template. I greatly appreciate it, however I'm not sure what i'm doing wrong...
I have the JVM listening on UDP 162 and when i tcpdump the port i can see requests coming in from cacti as I probe the host. But it doesnt look like any subsequent polling requests ever hit the port.
By default my regular net-snmpd daemon listens on UDP 161 like it should, I have a seperate profile for the same host to allow SNMP testing on UDP 162 just for the JVM. The port in this secondary profile is hard set to 162, is it possible that the cacti poller is ignoring this non-standard port?
Is there a step i'm missing on the Cacti side to allow regular scheduled polling to retreive data from the JVM
I've pasted the tcpdump of the complete UDP packet requests coming from Cacti to UDP 162 which confirms that the JVM does see the request from Cacti's initial grab, but nothing after during it's regular poller interval.
Any help would be greatly appreciated.
Thanks
-Alex
20:41:39.919997 IP 172.17.15.222.snmptrap > 172.17.19.250.32774: GetResponse(28) system.sysName.0=[noSuchObject]
0x0000: 4500 0047 0000 4000 4011 beab ac11 0fde E..G..@.@.......
0x0010: ac11 13fa 00a2 8006 0033 7c3f 3029 0201 .........3|?0)..
0x0020: 0104 0670 7562 6c69 63a2 1c02 0419 f726 ...public......&
0x0030: 6002 0100 0201 0030 0e30 0c06 082b 0601 `......0.0...+..
0x0040: 0201 0105 0080 00 .......
20:41:39.920658 IP 172.17.19.250.32774 > 172.17.15.222.snmptrap: GetRequest(28) system.sysLocation.0
0x0000: 4500 0047 0000 4000 3f11 bfab ac11 13fa E..G..@.?.......
0x0010: ac11 0fde 8006 00a2 0033 dcf6 3029 0201 .........3..0)..
0x0020: 0104 0670 7562 6c69 63a0 1c02 0419 f726 ...public......&
0x0030: 6102 0100 0201 0030 0e30 0c06 082b 0601 a......0.0...+..
0x0040: 0201 0106 0005 00 .......
|
|
| Back to top |
|
 |
alexupton
Joined: 24 Feb 2007 Posts: 4
|
Posted: Wed Feb 28, 2007 11:35 pm Post subject: |
|
|
Figured it out... the problem was that I was only polling hosts via snmp and not with a ping. The hosts were probed as down even though Cacti was hitting the snmp port.
Enabling snmp+udp ping worked and the jvm instances came up and started graphing.
Thanks!
|
|
| Back to top |
|
 |
sebbs Cacti User
Joined: 22 Jan 2007 Posts: 80 Location: Ottawa,Canada
|
Posted: Fri Mar 02, 2007 9:18 am Post subject: trying to import |
|
|
Trying to import the template into cacti.
getting Error: XML: Hash version does not exist.
|
|
| Back to top |
|
 |
alexupton
Joined: 24 Feb 2007 Posts: 4
|
Posted: Mon Mar 05, 2007 2:13 pm Post subject: |
|
|
You need to use 8.6j
I tried with 8.6h and had the same problem
|
|
| Back to top |
|
 |
sebbs Cacti User
Joined: 22 Jan 2007 Posts: 80 Location: Ottawa,Canada
|
Posted: Mon Mar 05, 2007 2:16 pm Post subject: thanks |
|
|
| thanks, I guess I will have to take the dive...and upgrade to 8j.
|
|
| Back to top |
|
 |
Sam2002gs
Joined: 21 Dec 2007 Posts: 1
|
Posted: Fri Dec 21, 2007 6:29 am Post subject: |
|
|
work with 0.8.7a
just edit the XML on lines with OID like "1.3.6.1.4.1.42.2.145.3.163.1.1.2.101.1.3.2"
and add only "."
".1.3.6.1.4.1.42.2.145.3.163.1.1.2.101.1.3.2"
regards
Sam
|
|
| Back to top |
|
 |
sebbs Cacti User
Joined: 22 Jan 2007 Posts: 80 Location: Ottawa,Canada
|
Posted: Fri Dec 21, 2007 8:04 am Post subject: |
|
|
| Sam2002gs wrote: | work with 0.8.7a
just edit the XML on lines with OID like "1.3.6.1.4.1.42.2.145.3.163.1.1.2.101.1.3.2"
and add only "."
".1.3.6.1.4.1.42.2.145.3.163.1.1.2.101.1.3.2"
regards
Sam |
awesome...good to hear.
|
|
| Back to top |
|
 |
cyrill Cacti User
Joined: 25 Jan 2008 Posts: 268 Location: California - USA
|
Posted: Tue Mar 04, 2008 1:36 am Post subject: |
|
|
Hello !
I imported your xml file and I've no error but I can't to contact my JMV via snmp. Why ???
|
|
| Back to top |
|
 |
cyrill Cacti User
Joined: 25 Jan 2008 Posts: 268 Location: California - USA
|
Posted: Wed Mar 05, 2008 1:46 am Post subject: |
|
|
| how can I know the file owner ???
|
|
| Back to top |
|
 |
elayaraja.s Cacti User
Joined: 11 Feb 2008 Posts: 137
|
Posted: Wed Mar 05, 2008 7:29 am Post subject: Imported the xml file, but output is blank graph.. |
|
|
I am using cacti_8.7b
Without changing the xml file , i have imported successfully. But the graph is blank. What might be the route cause ? Find the screen shots from the attachment.
| Description: |
|
 Download |
| Filename: |
Screen_Shot.doc |
| Filesize: |
124.5 KB |
| Downloaded: |
175 Time(s) |
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12295 Location: Muenster, Germany
|
Posted: Wed Mar 05, 2008 8:07 am Post subject: |
|
|
Please NO docs attachments. Attach images directly, please. And read second link of my sig
Reinhard
|
|
| Back to top |
|
 |
elayaraja.s Cacti User
Joined: 11 Feb 2008 Posts: 137
|
Posted: Thu Mar 06, 2008 2:09 am Post subject: JVM Monitor |
|
|
I have already succede with the given link (Debug NaN's in your graphs ). No porblem.
Question:
Only for the imported template alone i am not getting the graph.
|
|
| Back to top |
|
 |
elayaraja.s Cacti User
Joined: 11 Feb 2008 Posts: 137
|
Posted: Thu Mar 06, 2008 7:23 am Post subject: Associated Data Queries |
|
|
Is Associated Data Queries is requried for JVM mnoitor. ? If it is which one need to select ?
Last edited by elayaraja.s on Fri Mar 07, 2008 4:40 am; edited 1 time in total |
|
| Back to top |
|
 |
elayaraja.s Cacti User
Joined: 11 Feb 2008 Posts: 137
|
Posted: Fri Mar 07, 2008 12:15 am Post subject: Any script requied for this XML |
|
|
Is there any perl script is required to configure in Cacti for monitoring the 'JVM heap usage' or
by simply importing 'cacti_host_template_jvm_host.xml' file will able to create the graph. Could you pleae guide.
| Description: |
|
| Filesize: |
200.04 KB |
| Viewed: |
5152 Time(s) |

|
|
|
| Back to top |
|
 |
|