[opsview-users] FW: Map.local file question

2011-03-03 Thread Paul
> Hi Wilco, > > Q1 IMHO the map file sits in /usr/local/nagios/etc > Q2 what happens if you run /usr/local/nagios/bin/insert.pl from the > commandline? > Q3 what is the exact output from the service? I expected perfdata to generate > the output (all behind the '|') > > If you do not have access

Re: [opsview-users] Map.local file question

2011-03-03 Thread Wilco Noordermeer
HI Paul, Thanks for the reply. I made the change and put it in map.local, but still no rrd files. Even appending it to /usr/local/nagios/map directly didn't do it. Is there a way to look at (debug) logging for how the perf data is parsed? Also Paul, your suggestion of modifying the output, do yo

Re: [opsview-users] Map.local file question

2011-03-03 Thread Paul
Hi Wilco, /perfdata: HeapMemoryUsage.used=\d+\(committed=(\d+);init=(\d+);max=(\d+);used=(\d+).*/ and push @s, [ "heap", [ "committed", GAUGE, $1 ], [ "init", GAUGE, $2 ], [ "max", GAUGE , $3 ], [ "used", GAUGE, $4 ] ]; }; works if I add this to testentry.pl, in

Re: [opsview-users] Map.local file question

2011-03-03 Thread Wilco Noordermeer
Hi all, As an addition, I noticed the typos in the lines: [ "commited", GAUGE, 1 ] which should of course be $1, $2, etc. I fixed that but still no graphs... Thanks, Wilco -Original Message- From: opsview-users-boun...@lists.opsview.org [mailto:opsview-users-boun...@lists.opsview.org]

[opsview-users] Map.local file question

2011-03-03 Thread Wilco Noordermeer
HI all, I'm using check_jmx to get some info out of some JVM's. This works fine, but I'm having trouble parsing the output into performance data. The check does not adhere to the standard output with a | (pipe) for perfdata. My map.local file now contains this section below. The regex matches t