[op5-users] Converting nagiosgraph .map to pnp4nagios
Kåkneryd, Daniel
Daniel.Kakneryd at bossmedia.se
Tue Feb 3 11:39:01 CET 2009
Hi,
As nagiosgraph being replaced by pnp4nagios in Monitor 4.1.2 some problems arise for me.
I have a lot of maps in /opt/monitor/op5/nagiosgraph/map_custom that I want converted so pnp4nagios parses the performance data, many of them don't follow the Nagios guide-line for how performance data should look, they often are some simple string like "name:data". I didn't find anything in the Monitor manual on this, is there some howto or guide for this?
Here is a example of a map file I want into pnp4nagios:
# Service type: check_poker_watchdog_timers
# output: OK: Runtime at 20081210 12:31:05 is 3229
# perfdata: rtime:3229
/perfdata:rtime:(\d+)/
and push @s, [ time_ms,
[ "time", GAUGE, $1] ];
What I need is a step-by-step guide on how to get this data into pnp4nagios.
Not needed, but is there anyway to import old nagiosgraph rrd data into pnp4nagios?
Regards,
Daniel Kåkneryd
Daniel Kåkneryd
System Technician
Phone:
Mobile:
Fax:
E-Mail:
Web:
+46 470 705706
+46 734 350773
+46 470 703050
daniel.kakneryd at bossmedia.se <mailto:daniel.kakneryd at bossmedia.se>
www.bossmedia.com <http://www.bossmedia.com/>
Boss Media AB
Honnörsgatan 2
Box 3243
SE-350 53 Växjö
SWEDEN
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.op5.com/pipermail/op5-users/attachments/20090203/c93f7823/attachment.html
More information about the op5-users
mailing list