[omd-users] pnp4nagios and other problems

Papp Tamas tompos at martos.bme.hu
Thu Feb 24 14:55:56 CET 2011


On 02/24/2011 02:03 PM, Joerg Linge wrote:
> <<<<cut>>>>>
>
> Hi,
>
> first of all tell me more about your system.
>
> Which Linux Distribution do you use and which omd package did you 
> install.
> Also send me please one of the xml files of a not working Host/service
>
> Please set LOG_LEVEL = 1 in etc/pnp4nagios/process_perfdata.cfg an 
> look for error in var/pnp4nagios/log/perfdata.log

hi!

This is the xml:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<NAGIOS>
<DATASOURCE>
<TEMPLATE>check_mk-df</TEMPLATE>
<RRDFILE>/omd/sites/monitor/var/pnp4nagios/perfdata/pluto/fs__data.rrd</RRDFILE>
<RRD_STORAGE_TYPE>SINGLE</RRD_STORAGE_TYPE>
<RRD_HEARTBEAT>8460</RRD_HEARTBEAT>
<IS_MULTI>0</IS_MULTI>
<DS>1</DS>
<NAME>_data</NAME>
<LABEL>/data</LABEL>
<UNIT>MB</UNIT>
<ACT>555753.523438</ACT>
<WARN>741673</WARN>
<WARN_MIN></WARN_MIN>
<WARN_MAX></WARN_MAX>
<WARN_RANGE_TYPE></WARN_RANGE_TYPE>
<CRIT>834382</CRIT>
<CRIT_MIN></CRIT_MIN>
<CRIT_MAX></CRIT_MAX>
<CRIT_RANGE_TYPE></CRIT_RANGE_TYPE>
<MIN>0</MIN>
<MAX>927092.1875</MAX>
</DATASOURCE>
<RRD>
<RC>256</RC>
<TXT>create failed</TXT>
</RRD>
<NAGIOS_AUTH_HOSTNAME>pluto</NAGIOS_AUTH_HOSTNAME>
<NAGIOS_AUTH_SERVICEDESC>fs_/data</NAGIOS_AUTH_SERVICEDESC>
<NAGIOS_CHECK_COMMAND>check_mk-df</NAGIOS_CHECK_COMMAND>
<NAGIOS_DATATYPE>SERVICEPERFDATA</NAGIOS_DATATYPE>
<NAGIOS_DISP_HOSTNAME>pluto</NAGIOS_DISP_HOSTNAME>
<NAGIOS_DISP_SERVICEDESC>fs_/data</NAGIOS_DISP_SERVICEDESC>
<NAGIOS_HOSTNAME>pluto</NAGIOS_HOSTNAME>
<NAGIOS_MULTI_PARENT></NAGIOS_MULTI_PARENT>
<NAGIOS_PERFDATA>/data=555753.523438MB;741673;834382;0;927092.1875 
</NAGIOS_PERFDATA>
<NAGIOS_RRDFILE>/omd/sites/monitor/var/pnp4nagios/perfdata/pluto/fs__data.rrd</NAGIOS_RRDFILE>
<NAGIOS_SERVICECHECKCOMMAND>check_mk-df</NAGIOS_SERVICECHECKCOMMAND>
<NAGIOS_SERVICEDESC>fs__data</NAGIOS_SERVICEDESC>
<NAGIOS_SERVICEPERFDATA>/data=555753.523438MB;741673;834382;0;927092.1875</NAGIOS_SERVICEPERFDATA>
<NAGIOS_SERVICESTATETYPE>1</NAGIOS_SERVICESTATETYPE>
<NAGIOS_XMLFILE>/omd/sites/monitor/var/pnp4nagios/perfdata/pluto/fs__data.xml</NAGIOS_XMLFILE>
<XML>
<VERSION>4</VERSION>
</XML>
</NAGIOS>

var/pnp4nagios/log/perfdata.log:

2011-02-24 14:53:42 [15181] [1] process_perfdata.pl-0.6.11 starting in 
BULK Mode called by NPCD
2011-02-24 14:53:42 [15181] [1] Found Performance Data for localhost / 
Check_MK (execution_time=0.238)
2011-02-24 14:53:42 [15181] [1] rrdtool update returns 0
2011-02-24 14:53:42 [15181] [1] Found Performance Data for pluto / 
_HOST_ (rta=179.131ms;200.000;500.000;0; pl=0%;40;80;; 
rtmax=181.116ms;;;; rtmin=176.475ms;;;;)
2011-02-24 14:53:42 [15181] [1] rrdtool update returns 0
2011-02-24 14:53:42 [15181] [1] Found Performance Data for localhost / 
CPU_load (load1=0.21;5;10;0; load5=0.3;5;10;0; load15=0.33;5;10;0;)
2011-02-24 14:53:42 [15181] [1] rrdtool create returns 256
2011-02-24 14:53:42 [15181] [1] Found Performance Data for localhost / 
CPU_utilization (user=7.515;;;; system=2.818;;;; wait=1.080;;;;)
2011-02-24 14:53:42 [15181] [1] rrdtool create returns 256
2011-02-24 14:53:42 [15181] [1] Found Performance Data for localhost / 
Disk_IO_read (read=19657484c;;;;)
2011-02-24 14:53:42 [15181] [1] rrdtool create returns 256
2011-02-24 14:53:42 [15181] [1] Found Performance Data for localhost / 
Disk_IO_write (write=73451504c;;;;)
2011-02-24 14:53:42 [15181] [1] rrdtool create returns 256
2011-02-24 14:53:42 [15181] [1] Found Performance Data for localhost / 
Kernel_Context_Switches (ctxt=564.125;;;;)
2011-02-24 14:53:42 [15181] [1] rrdtool create returns 256
2011-02-24 14:53:42 [15181] [1] Found Performance Data for localhost / 
Kernel_Major_Page_Faults (pgmajfault=0.25;;;;)
2011-02-24 14:53:42 [15181] [1] rrdtool create returns 256
2011-02-24 14:53:42 [15181] [1] Found Performance Data for localhost / 
Kernel_Process_Creations (processes=2.796875;;;;)
2011-02-24 14:53:42 [15181] [1] rrdtool create returns 256
2011-02-24 14:53:42 [15181] [1] Found Performance Data for localhost / 
Memory_used (ramused=509MB;;;0;993 swapused=110MB;;;0;3812 
memused=619MB;1489;1986;0;4805)
2011-02-24 14:53:42 [15181] [1] rrdtool create returns 256
2011-02-24 14:53:42 [15181] [1] Found Performance Data for localhost / 
NIC_eth0_counters (rx_bytes=56812034c;;;; tx_bytes=166870668c;;;; 
rx_packets=474176c;;;; tx_packets=210888c;;;; rx_errors=0c;;;; 
tx_errors=0c;;;; tx_collisions=0c;;;;)
2011-02-24 14:53:42 [15181] [1] rrdtool create returns 256
2011-02-24 14:53:42 [15181] [1] Found Performance Data for localhost / 
NIC_tun0_counters (rx_bytes=223476c;;;; tx_bytes=111587c;;;; 
rx_packets=889c;;;; tx_packets=1240c;;;; rx_errors=0c;;;; 
tx_errors=0c;;;; tx_collisions=0c;;;;)
2011-02-24 14:53:42 [15181] [1] rrdtool create returns 256
2011-02-24 14:53:42 [15181] [1] Found Performance Data for localhost / 
Number_of_threads (threads=344;2000.0;4000.0;0;)
2011-02-24 14:53:42 [15181] [1] rrdtool create returns 256
2011-02-24 14:53:42 [15181] [1] Found Performance Data for localhost / 
Postfix_Queue (length=0;10;20;; size=0b;;;;)
2011-02-24 14:53:42 [15181] [1] rrdtool create returns 256
2011-02-24 14:53:42 [15181] [1] Found Performance Data for localhost / 
TCP_Connections (ESTABLISHED=55;;;; SYN_SENT=0;;;; SYN_RECV=0;;;; 
LAST_ACK=0;;;; CLOSE_WAIT=4;;;; TIME_WAIT=6;;;; CLOSED=0;;;; 
CLOSING=0;;;; FIN_WAIT1=0;;;; FIN_WAIT2=4;;;;)
2011-02-24 14:53:42 [15181] [1] rrdtool create returns 256
2011-02-24 14:53:42 [15181] [1] Found Performance Data for localhost / 
Uptime (uptime=69229;;;;)
2011-02-24 14:53:42 [15181] [1] rrdtool create returns 256
2011-02-24 14:53:42 [15181] [1] Found Performance Data for localhost / 
Vmalloc_address_space (used=8.51953125;96.0;108.0;0;120.0 
chunk=106.99609375;32.0;64.0;0;120.0)
2011-02-24 14:53:42 [15181] [1] rrdtool create returns 256
2011-02-24 14:53:42 [15181] [1] Found Performance Data for localhost / 
fs__ (/=4304.55859375MB;15138;17030;0;18922.6601562)
2011-02-24 14:53:42 [15181] [1] rrdtool create returns 256
2011-02-24 14:53:42 [15181] [1] Found Performance Data for localhost / 
fs__data (/data=126498.773438MB;155214;174616;0;194018.550781)
2011-02-24 14:53:42 [15181] [1] rrdtool create returns 256
2011-02-24 14:53:42 [15181] [1] Found Performance Data for localhost / 
fs__tmp (/tmp=65.1796875MB;753;847;0;941.5234375)
2011-02-24 14:53:42 [15181] [1] rrdtool create returns 256
2011-02-24 14:53:42 [15181] [1] Found Performance Data for localhost / 
fs__var (/var=14817.6015625MB;15141;17033;0;18926.3476562)
2011-02-24 14:53:42 [15181] [1] rrdtool create returns 256
2011-02-24 14:53:42 [15181] [1] Found Performance Data for localhost / 
NIC_tap0_counters (rx_bytes=4023194c;;;; tx_bytes=10464c;;;; 
rx_packets=34123c;;;; tx_packets=76c;;;; rx_errors=0c;;;; 
tx_errors=0c;;;; tx_collisions=0c;;;;)
2011-02-24 14:53:42 [15181] [1] rrdtool create returns 256
2011-02-24 14:53:42 [15181] [1] Found Performance Data for localhost / 
_HOST_ (rta=0.038ms;200.000;500.000;0; pl=0%;40;80;; rtmax=0.086ms;;;; 
rtmin=0.024ms;;;;)
2011-02-24 14:53:42 [15181] [1] rrdtool update returns 0
2011-02-24 14:53:42 [15181] [1] 41 lines processed
2011-02-24 14:53:42 [15181] [1] 
/omd/sites/monitor/var/pnp4nagios/spool//perfdata.1298555611-PID-15181 
deleted


Should I paste it with LOG_LEVEL=2?

The system is an uptodate Ubuntu 10.04 amd64.

Thank you,

tamas



More information about the omd-users mailing list