Link to home
Create AccountLog in
Avatar of Chris Sandrini
Chris SandriniFlag for Switzerland

asked on

Icinga with pnp4nagios empty perf data

Hi

I have installed icinga 1.7.2 on my RedHat server which runns quite nicely. Now I tried to include pnp4nagios using BULK and NPCD. I have now a problem that the perfdata files has some contents but only few lines have actually some data in the $SERVICEPERFDATA filed.

Example of the service-perdata file

DATATYPE::SERVICEPERFDATA  TIMET::1352284568    HOSTNAME::intrap10      SERVICEDESC::/usr Partition Usage      SERVICEPERFDATA::        SERVICECHECKCOMMAND::check_remote_disk!/usr!90!95!-r    HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK       SERVICESTATETYPE::HARD
DATATYPE::SERVICEPERFDATA  TIMET::1352284568    HOSTNAME::intrap03      SERVICEDESC::Root Partition Usage      SERVICEPERFDATA::        SERVICECHECKCOMMAND::check_remote_disk!/!90!95!-r       HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK       SERVICESTATETYPE::HARD
DATATYPE::SERVICEPERFDATA  TIMET::1352284568    HOSTNAME::docwebt01     SERVICEDESC::Current Load       SERVICEPERFDATA::       SERVICECHECKCOMMAND::check_remote_load!10,8,6!16,10,8   HOSTSTATE::UP   HOSTSTATETYPE::HARD  SERVICESTATE::OK SERVICESTATETYPE::HARD
DATATYPE::SERVICEPERFDATA  TIMET::1352284568    HOSTNAME::intrap03      SERVICEDESC::/tmp Partition Usage      SERVICEPERFDATA::        SERVICECHECKCOMMAND::check_remote_disk!/tmp!90!95!-r    HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK       SERVICESTATETYPE::HARD
DATATYPE::SERVICEPERFDATA  TIMET::1352284568    HOSTNAME::vxl38t11-cons SERVICEDESC::Fan Speeds SERVICEPERFDATA::Fan1=27%;;;; Fan2=27%;;;; Fan3=47%;;;; Fan4=47%;;;; Fan5=27%;;;; Fan6=27%;;;;  SERVICECHECKCOMMAND::check-imm!fans HOSTSTATE::UP  HOSTSTATETYPE::HARD     SERVICESTATE::OK        SERVICESTATETYPE::HARD

Open in new window


How does $SERVICEPERFDATA gets defined?

Some of the perfdata.log

2012-11-07 14:53:34 [32192] [2] Processing Line 67
2012-11-07 14:53:34 [32192] [2] Datatype set to 'SERVICEPERFDATA'
2012-11-07 14:53:34 [32192] [2] No Perfdata. Skipping line 67
2012-11-07 14:53:34 [32192] [2] Processing Line 68
2012-11-07 14:53:34 [32192] [2] Datatype set to 'SERVICEPERFDATA'
2012-11-07 14:53:34 [32192] [2] No Perfdata. Skipping line 68
2012-11-07 14:53:34 [32192] [2] Processing Line 69
2012-11-07 14:53:34 [32192] [2] Datatype set to 'SERVICEPERFDATA'
2012-11-07 14:53:34 [32192] [2] No Perfdata. Skipping line 69
2012-11-07 14:53:34 [32192] [2] Processing Line 70
2012-11-07 14:53:34 [32192] [2] Datatype set to 'SERVICEPERFDATA'
2012-11-07 14:53:34 [32192] [1] Found Performance Data for vxl38p04-cons / System_Temperature (Temperature1=20;;;;)
2012-11-07 14:53:34 [32192] [2] data2rrd called
2012-11-07 14:53:34 [32192] [2] RRDs::update /etc/pnp5nagios/var/perfdata/vxl38p04-cons/System_Temperature.rrd 1352296398:20
2012-11-07 14:53:34 [32192] [0] RRDs::update /etc/pnp5nagios/var/perfdata/vxl38p04-cons/System_Temperature.rrd 1352296398:20
2012-11-07 14:53:34 [32192] [0] RRDs::update ERROR /etc/pnp5nagios/var/perfdata/vxl38p04-cons/System_Temperature.rrd: illegal attempt to update using time 1352296398 when last update time is 1352296398 (minimum one second step)

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Chris Sandrini
Chris Sandrini
Flag of Switzerland image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account