PickinA / nagios2influx

Send nagios performance data to InfluxDB
8 stars 6 forks source link

Issues with naemon #1

Closed hakong closed 7 years ago

hakong commented 7 years ago

tl;dr: See gif on bottom of page.

I think I mostly followed the instructions and got this to work (kinda). However, data I see in Grafana seems to be in the wrong format (mislabeled, nonexistent?). I'm not too familiar with Grafana/InfluxDB, so please bear with me.

Here are all perfdata settings in naemon.cfg:

[root@localhost ~]# grep perfdata /etc/naemon/naemon.cfg|grep -v \#|sort -n
host_perfdata_file_mode=a
host_perfdata_file_processing_command=process-host-perfdata-file
host_perfdata_file_processing_interval=15
host_perfdata_file_template=DATATYPE::HOSTPERFDATA\tTIMET::$TIMET$\tHOSTNAME::$HOSTNAME$\tHOSTPERFDATA::$HOSTPERFDATA$\tHOSTCHECKCOMMAND::$HOSTCHECKCOMMAND$\tHOSTSTATE::$HOSTSTATE$\tHOSTSTATETYPE::$HOSTSTATETYPE$
host_perfdata_file=/var/lib/naemon/host-perfdata
perfdata_timeout=5
service_perfdata_command=process-service-perfdata
service_perfdata_file_mode=a
service_perfdata_file_processing_command=process-service-perfdata-file
service_perfdata_file_processing_interval=15
service_perfdata_file_template=DATATYPE::SERVICEPERFDATA\tTIMET::$TIMET$\tHOSTNAME::$HOSTNAME$\tSERVICEDESC::$SERVICEDESC$\tSERVICEPERFDATA::$SERVICEPERFDATA$\tSERVICECHECKCOMMAND::$SERVICECHECKCOMMAND$\tHOSTSTATE::$HOSTSTATE$\tHOSTSTATETYPE::$HOSTSTATETYPE$\tSERVICESTATE::$SERVICESTATE$\tSERVICESTATETYPE::$SERVICESTATETYPE$
service_perfdata_file=/var/lib/naemon/service-perfdata
[root@localhost ~]# 

all perfdata commands:

[root@localhost ~]# pynag list --quiet --sep=';' shortname filename command_name command_line where command_name__contains=perfdata | column -t -s';'
process-host-perfdata          /etc/naemon/conf.d/commands.cfg                         process-host-perfdata          /usr/bin/printf "%b" "$LASTHOSTCHECK$\t$HOSTNAME$\t$HOSTSTATE$\t$HOSTATTEMPT$\t$HOSTSTATETYPE$\t$HOSTEXECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$\n"                                     >> /var/lib/naemon/host-perfdata.out
process-host-perfdata-file     /etc/naemon/commands/process-host-perfdata-file.cfg     process-host-perfdata-file     /bin/mv /var/lib/naemon/host-perfdata /var/spool/pnp4nagios/host-perfdata.$TIMET$
process-service-perfdata       /etc/naemon/conf.d/commands.cfg                         process-service-perfdata       /usr/bin/printf "%b" "$LASTSERVICECHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERVICEATTEMPT$\t$SERVICESTATETYPE$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n"                                     >> /var/lib/naemon/service-perfdata.out
process-service-perfdata-file  /etc/naemon/commands/process-service-perfdata-file.cfg  process-service-perfdata-file  /usr/local/bin/nagios-perf > /tmp/nagios-perf 2>&1
[root@localhost ~]# 

/etc/naemon/nagios2influx.cfg:

database=naemon
debug=1
global_prefix=naemon
output=http://localhost:8086
username=naemon
password=<redacted>
perfdata=/var/lib/naemon/service-perfdata
perfdelimiter=\t
perfformat=time tag=hostname    label   tag=state   void    void    void    void    void    data

/usr/local/bin/nagios-perf:

#! /bin/bash
/usr/local/bin/nagios2influx -n | nc -u localhost 8089
#/usr/libexec/nagiosgraph/insert.pl

only changed line in /usr/local/bin/nagios2influx: $config = '/etc/naemon/nagios2influx.cfg';

influx:

[root@localhost naemon]# influx
Connected to http://localhost:8086 version 1.2.4
InfluxDB shell version: 1.2.4
> use naemon
Using database naemon
> show measurements
name: measurements
name
----
naemon.HOSTNAME::google.com
naemon.HOSTNAME::localhost

> show series
key
---
naemon.HOSTNAME::google.com,hostname=TIMET::1496156937,state=SERVICEDESC::HTTPgoogle.com
naemon.HOSTNAME::google.com,hostname=TIMET::1496156939,state=SERVICEDESC::HTTPSSSLCertificategoogle.com
naemon.HOSTNAME::google.com,hostname=TIMET::1496157107,state=SERVICEDESC::Ping
naemon.HOSTNAME::google.com,hostname=TIMET::1496157331,state=SERVICEDESC::HTTPSgoogle.com
naemon.HOSTNAME::google.com,hostname=TIMET::1496157537,state=SERVICEDESC::HTTPgoogle.com
naemon.HOSTNAME::google.com,hostname=TIMET::1496157539,state=SERVICEDESC::HTTPSSSLCertificategoogle.com
naemon.HOSTNAME::google.com,hostname=TIMET::1496157707,state=SERVICEDESC::Ping
naemon.HOSTNAME::google.com,hostname=TIMET::1496157931,state=SERVICEDESC::HTTPSgoogle.com
naemon.HOSTNAME::google.com,hostname=TIMET::1496158137,state=SERVICEDESC::HTTPgoogle.com
naemon.HOSTNAME::google.com,hostname=TIMET::1496158139,state=SERVICEDESC::HTTPSSSLCertificategoogle.com
naemon.HOSTNAME::google.com,hostname=TIMET::1496158251,state=SERVICEDESC::HTTPSSSLCertificategoogle.com
naemon.HOSTNAME::google.com,hostname=TIMET::1496158251,state=SERVICEDESC::HTTPSgoogle.com
naemon.HOSTNAME::google.com,hostname=TIMET::1496158251,state=SERVICEDESC::HTTPgoogle.com
naemon.HOSTNAME::google.com,hostname=TIMET::1496158255,state=SERVICEDESC::Ping
naemon.HOSTNAME::google.com,hostname=TIMET::1496158851,state=SERVICEDESC::HTTPSSSLCertificategoogle.com
naemon.HOSTNAME::google.com,hostname=TIMET::1496158851,state=SERVICEDESC::HTTPSgoogle.com
naemon.HOSTNAME::google.com,hostname=TIMET::1496158851,state=SERVICEDESC::HTTPgoogle.com
naemon.HOSTNAME::google.com,hostname=TIMET::1496158855,state=SERVICEDESC::Ping
naemon.HOSTNAME::google.com,hostname=TIMET::1496159451,state=SERVICEDESC::HTTPSSSLCertificategoogle.com
naemon.HOSTNAME::google.com,hostname=TIMET::1496159451,state=SERVICEDESC::HTTPSgoogle.com
naemon.HOSTNAME::google.com,hostname=TIMET::1496159451,state=SERVICEDESC::HTTPgoogle.com
naemon.HOSTNAME::google.com,hostname=TIMET::1496159455,state=SERVICEDESC::Ping
naemon.HOSTNAME::localhost,hostname=TIMET::1496156901,state=SERVICEDESC::Uptime
naemon.HOSTNAME::localhost,hostname=TIMET::1496156905,state=SERVICEDESC::ReverseLookup
naemon.HOSTNAME::localhost,hostname=TIMET::1496156939,state=SERVICEDESC::RunningProcesses
naemon.HOSTNAME::localhost,hostname=TIMET::1496156969,state=SERVICEDESC::NagiosConfiguration
naemon.HOSTNAME::localhost,hostname=TIMET::1496156976,state=SERVICEDESC::HTTPlocalhost
naemon.HOSTNAME::localhost,hostname=TIMET::1496157108,state=SERVICEDESC::Processcrond
naemon.HOSTNAME::localhost,hostname=TIMET::1496157124,state=SERVICEDESC::Load
naemon.HOSTNAME::localhost,hostname=TIMET::1496157190,state=SERVICEDESC::CPUUtilization
naemon.HOSTNAME::localhost,hostname=TIMET::1496157207,state=SERVICEDESC::DiskUsage
naemon.HOSTNAME::localhost,hostname=TIMET::1496157207,state=SERVICEDESC::HTTPSlocalhost
naemon.HOSTNAME::localhost,hostname=TIMET::1496157217,state=SERVICEDESC::Processnagios
naemon.HOSTNAME::localhost,hostname=TIMET::1496157232,state=SERVICEDESC::SwapUsage
naemon.HOSTNAME::localhost,hostname=TIMET::1496157236,state=SERVICEDESC::Processnpcd
naemon.HOSTNAME::localhost,hostname=TIMET::1496157259,state=SERVICEDESC::Ping
naemon.HOSTNAME::localhost,hostname=TIMET::1496157280,state=SERVICEDESC::NagiosGhostServices
naemon.HOSTNAME::localhost,hostname=TIMET::1496157308,state=SERVICEDESC::Time
naemon.HOSTNAME::localhost,hostname=TIMET::1496157320,state=SERVICEDESC::ForwardLookup
naemon.HOSTNAME::localhost,hostname=TIMET::1496157359,state=SERVICEDESC::SSHConnectivity
naemon.HOSTNAME::localhost,hostname=TIMET::1496157364,state=SERVICEDESC::HTTPSSSLCertificatelocalhost
naemon.HOSTNAME::localhost,hostname=TIMET::1496157385,state=SERVICEDESC::ApacheStatistics
naemon.HOSTNAME::localhost,hostname=TIMET::1496157388,state=SERVICEDESC::Processhttpd
naemon.HOSTNAME::localhost,hostname=TIMET::1496157389,state=SERVICEDESC::Nagiosconfigup-to-date
naemon.HOSTNAME::localhost,hostname=TIMET::1496157501,state=SERVICEDESC::Uptime
naemon.HOSTNAME::localhost,hostname=TIMET::1496157505,state=SERVICEDESC::ReverseLookup
naemon.HOSTNAME::localhost,hostname=TIMET::1496157539,state=SERVICEDESC::RunningProcesses
naemon.HOSTNAME::localhost,hostname=TIMET::1496157569,state=SERVICEDESC::NagiosConfiguration
naemon.HOSTNAME::localhost,hostname=TIMET::1496157576,state=SERVICEDESC::HTTPlocalhost
naemon.HOSTNAME::localhost,hostname=TIMET::1496157708,state=SERVICEDESC::Processcrond
naemon.HOSTNAME::localhost,hostname=TIMET::1496157724,state=SERVICEDESC::Load
naemon.HOSTNAME::localhost,hostname=TIMET::1496157790,state=SERVICEDESC::CPUUtilization
naemon.HOSTNAME::localhost,hostname=TIMET::1496157807,state=SERVICEDESC::DiskUsage
naemon.HOSTNAME::localhost,hostname=TIMET::1496157807,state=SERVICEDESC::HTTPSlocalhost
naemon.HOSTNAME::localhost,hostname=TIMET::1496157817,state=SERVICEDESC::Processnagios
naemon.HOSTNAME::localhost,hostname=TIMET::1496157832,state=SERVICEDESC::SwapUsage
naemon.HOSTNAME::localhost,hostname=TIMET::1496157836,state=SERVICEDESC::Processnpcd
naemon.HOSTNAME::localhost,hostname=TIMET::1496157859,state=SERVICEDESC::Ping
naemon.HOSTNAME::localhost,hostname=TIMET::1496157880,state=SERVICEDESC::NagiosGhostServices
naemon.HOSTNAME::localhost,hostname=TIMET::1496157908,state=SERVICEDESC::Time
naemon.HOSTNAME::localhost,hostname=TIMET::1496157920,state=SERVICEDESC::ForwardLookup
naemon.HOSTNAME::localhost,hostname=TIMET::1496157959,state=SERVICEDESC::SSHConnectivity
naemon.HOSTNAME::localhost,hostname=TIMET::1496157964,state=SERVICEDESC::HTTPSSSLCertificatelocalhost
naemon.HOSTNAME::localhost,hostname=TIMET::1496157985,state=SERVICEDESC::ApacheStatistics
naemon.HOSTNAME::localhost,hostname=TIMET::1496157988,state=SERVICEDESC::Processhttpd
naemon.HOSTNAME::localhost,hostname=TIMET::1496157989,state=SERVICEDESC::Nagiosconfigup-to-date
naemon.HOSTNAME::localhost,hostname=TIMET::1496158101,state=SERVICEDESC::Uptime
naemon.HOSTNAME::localhost,hostname=TIMET::1496158105,state=SERVICEDESC::ReverseLookup
naemon.HOSTNAME::localhost,hostname=TIMET::1496158139,state=SERVICEDESC::RunningProcesses
naemon.HOSTNAME::localhost,hostname=TIMET::1496158169,state=SERVICEDESC::NagiosConfiguration
naemon.HOSTNAME::localhost,hostname=TIMET::1496158176,state=SERVICEDESC::HTTPlocalhost
naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::ApacheStatistics
naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::DiskUsage
naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::ForwardLookup
naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::HTTPSSSLCertificatelocalhost
naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::HTTPSlocalhost
naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::HTTPlocalhost
naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::Load
naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::NagiosConfiguration
naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::NagiosGhostServices
naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::Nagiosconfigup-to-date
naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::Processcrond
naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::Processhttpd
naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::Processnagios
naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::Processnpcd
naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::ReverseLookup
naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::RunningProcesses
naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::SSHConnectivity
naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::SwapUsage
naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::Time
naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::Uptime
naemon.HOSTNAME::localhost,hostname=TIMET::1496158252,state=SERVICEDESC::CPUUtilization
naemon.HOSTNAME::localhost,hostname=TIMET::1496158255,state=SERVICEDESC::Ping
naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::ApacheStatistics
naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::DiskUsage
naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::ForwardLookup
naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::HTTPSSSLCertificatelocalhost
naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::HTTPSlocalhost
naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::HTTPlocalhost
naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::Load
naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::NagiosConfiguration
naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::NagiosGhostServices
naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::Nagiosconfigup-to-date
naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::Processcrond
naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::Processhttpd
naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::Processnagios
naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::Processnpcd
naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::ReverseLookup
naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::RunningProcesses
naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::SSHConnectivity
naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::SwapUsage
naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::Time
naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::Uptime
naemon.HOSTNAME::localhost,hostname=TIMET::1496158852,state=SERVICEDESC::CPUUtilization
naemon.HOSTNAME::localhost,hostname=TIMET::1496158855,state=SERVICEDESC::Ping
naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::ApacheStatistics
naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::DiskUsage
naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::ForwardLookup
naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::HTTPSSSLCertificatelocalhost
naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::HTTPSlocalhost
naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::HTTPlocalhost
naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::Load
naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::NagiosConfiguration
naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::NagiosGhostServices
naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::Nagiosconfigup-to-date
naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::Processcrond
naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::Processhttpd
naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::Processnagios
naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::Processnpcd
naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::ReverseLookup
naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::RunningProcesses
naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::SSHConnectivity
naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::SwapUsage
naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::Time
naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::Uptime
naemon.HOSTNAME::localhost,hostname=TIMET::1496159452,state=SERVICEDESC::CPUUtilization
naemon.HOSTNAME::localhost,hostname=TIMET::1496159455,state=SERVICEDESC::Ping

influxdb journal:

[root@localhost naemon]# journalctl -u influxdb.service -f
-- Logs begin at Sat 2017-05-27 17:13:58 GMT. --
May 30 16:32:23 localhost.localdomain influxd[97342]: [httpd] 127.0.0.1 - naemon [30/May/2017:16:32:23 +0000] "POST /write?db=naemon&p=%5BREDACTED%5D&u=naemon HTTP/1.1" 204 0 "-" "libwww-perl/6.05" 8f1d1541-4555-11e7-8c81-000000000000 612
May 30 16:32:23 localhost.localdomain influxd[97342]: [httpd] 127.0.0.1 - naemon [30/May/2017:16:32:23 +0000] "POST /write?db=naemon&p=%5BREDACTED%5D&u=naemon HTTP/1.1" 204 0 "-" "libwww-perl/6.05" 8f1d632e-4555-11e7-8c82-000000000000 763
May 30 16:32:23 localhost.localdomain influxd[97342]: [httpd] 127.0.0.1 - naemon [30/May/2017:16:32:23 +0000] "POST /write?db=naemon&p=%5BREDACTED%5D&u=naemon HTTP/1.1" 204 0 "-" "libwww-perl/6.05" 8f1dbd85-4555-11e7-8c83-000000000000 624
May 30 16:32:23 localhost.localdomain influxd[97342]: [httpd] 127.0.0.1 - naemon [30/May/2017:16:32:23 +0000] "POST /write?db=naemon&p=%5BREDACTED%5D&u=naemon HTTP/1.1" 204 0 "-" "libwww-perl/6.05" 8f1e08c0-4555-11e7-8c84-000000000000 631
May 30 16:32:23 localhost.localdomain influxd[97342]: [httpd] 127.0.0.1 - naemon [30/May/2017:16:32:23 +0000] "POST /write?db=naemon&p=%5BREDACTED%5D&u=naemon HTTP/1.1" 204 0 "-" "libwww-perl/6.05" 8f1e5af4-4555-11e7-8c85-000000000000 10708
May 30 16:32:23 localhost.localdomain influxd[97342]: [httpd] 127.0.0.1 - naemon [30/May/2017:16:32:23 +0000] "POST /write?db=naemon&p=%5BREDACTED%5D&u=naemon HTTP/1.1" 204 0 "-" "libwww-perl/6.05" 8f204556-4555-11e7-8c86-000000000000 827
May 30 16:32:23 localhost.localdomain influxd[97342]: [httpd] 127.0.0.1 - naemon [30/May/2017:16:32:23 +0000] "POST /write?db=naemon&p=%5BREDACTED%5D&u=naemon HTTP/1.1" 204 0 "-" "libwww-perl/6.05" 8f20a6f7-4555-11e7-8c87-000000000000 746
May 30 16:32:23 localhost.localdomain influxd[97342]: [httpd] 127.0.0.1 - naemon [30/May/2017:16:32:23 +0000] "POST /write?db=naemon&p=%5BREDACTED%5D&u=naemon HTTP/1.1" 204 0 "-" "libwww-perl/6.05" 8f21027b-4555-11e7-8c88-000000000000 915
May 30 16:32:23 localhost.localdomain influxd[97342]: [httpd] 127.0.0.1 - naemon [30/May/2017:16:32:23 +0000] "POST /write?db=naemon&p=%5BREDACTED%5D&u=naemon HTTP/1.1" 204 0 "-" "libwww-perl/6.05" 8f2173cf-4555-11e7-8c89-000000000000 1069
May 30 16:32:23 localhost.localdomain influxd[97342]: [httpd] 127.0.0.1 - naemon [30/May/2017:16:32:23 +0000] "POST /write?db=naemon&p=%5BREDACTED%5D&u=naemon HTTP/1.1" 204 0 "-" "libwww-perl/6.05" 8f21e664-4555-11e7-8c8a-000000000000 833

snippet from /tmp/nagios-perf:

[root@localhost naemon]# cat /tmp/nagios-perf 
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (116)
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (113)
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (128)
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (114)
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (115)
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (130)
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (113)
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (113)
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (119)
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (122)
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (109)
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (115)
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (119)

./nagios2influx -n -d 127

[  8] nagios2influx: --
[  8] nagios2influx: timereplacement=Time
[  8] nagios2influx: global_prefix=naemon
[  8] nagios2influx: output=http://localhost:8086
[  8] nagios2influx: timefactor=9
[  8] nagios2influx: username=naemon
[  8] nagios2influx: database=naemon
[  8] nagios2influx: perfdelimiter=\t
[  8] nagios2influx: password=<redacted>
[  8] nagios2influx: separator=
[  8] nagios2influx: debug=127
[  8] nagios2influx: perfdata=/var/lib/naemon/service-perfdata
[  8] nagios2influx: perfformat=time    tag=hostname    label   tag=state   void    void    void    void    void    data
[  8] nagios2influx: --
[ 16] nagios2influx: Delim:\t.
[ 16] nagios2influx: Column 0:time.
[ 16] nagios2influx: Column 1:tag=hostname.
[ 16] nagios2influx: Column 2:label.
[ 16] nagios2influx: Column 3:tag=state.
[ 16] nagios2influx: Column 4:void.
[ 16] nagios2influx: Column 5:void.
[ 16] nagios2influx: Column 6:void.
[ 16] nagios2influx: Column 7:void.
[ 16] nagios2influx: Column 8:void.
[ 16] nagios2influx: Column 9:data.
[  4] nagios2influx: Reading /var/lib/naemon/service-perfdata ...
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158251   HOSTNAME::localhost SERVICEDESC::Apache Statistics  SERVICEPERFDATA::   SERVICECHECKCOMMAND::okc-apache-check_status    HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::CRITICAL  SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::ApacheStatistics SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (116)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158251   HOSTNAME::localhost SERVICEDESC::HTTP localhost SERVICEPERFDATA::time=0.043974s;2.000000;10.000000;0.000000 size=5241B;;;0  SERVICECHECKCOMMAND::okc-check_http HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::WARNING   SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::HTTPlocalhost SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (113)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158251   HOSTNAME::localhost SERVICEDESC::HTTPS SSL Certificate localhost    SERVICEPERFDATA::   SERVICECHECKCOMMAND::okc-check_https_certificate    HOSTSTATE::UPHOSTSTATETYPE::HARD    SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::HTTPSSSLCertificatelocalhost SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (128)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158251   HOSTNAME::localhost SERVICEDESC::HTTPS localhost    SERVICEPERFDATA::time=0.173753s;2.000000;10.000000;0.000000 size=5241B;;;0  SERVICECHECKCOMMAND::okc-check_https    HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::WARNING   SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::HTTPSlocalhost SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (114)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158251   HOSTNAME::localhost SERVICEDESC::SSH Connectivity   SERVICEPERFDATA::time=0.176684s;;;0.000000;10.000000    SERVICECHECKCOMMAND::check_ssh  HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::SSHConnectivity SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (115)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158251   HOSTNAME::google.com    SERVICEDESC::HTTPS SSL Certificate google.com   SERVICEPERFDATA::   SERVICECHECKCOMMAND::okc-check_https_certificate    HOSTSTATE::UPHOSTSTATETYPE::HARD    SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::google.com,hostname=TIMET::1496158251,state=SERVICEDESC::HTTPSSSLCertificategoogle.com SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (130)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158251   HOSTNAME::localhost SERVICEDESC::Reverse Lookup SERVICEPERFDATA::   SERVICECHECKCOMMAND::okc-check_dns!$HOSTADDRESS$!$HOSTNAME$.    HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::CRITICAL  SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::ReverseLookup SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (113)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158251   HOSTNAME::localhost SERVICEDESC::Forward Lookup SERVICEPERFDATA::time=0.165674s;;;0.000000  SERVICECHECKCOMMAND::okc-check_dns!$HOSTNAME$!$HOSTADDRESS$ HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::ForwardLookup SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (113)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158251   HOSTNAME::localhost SERVICEDESC::Nagios Ghost Services  SERVICEPERFDATA::   SERVICECHECKCOMMAND::okc-execute!$USER1$/check_nagios_ghostservices HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::UNKNOWN   SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::NagiosGhostServices SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (119)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158251   HOSTNAME::localhost SERVICEDESC::Nagios config up-to-date   SERVICEPERFDATA::   SERVICECHECKCOMMAND::okc-execute!$USER1$/check_nagios_needs_reload  HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::UNKNOWN   SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::Nagiosconfigup-to-date SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (122)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158251   HOSTNAME::localhost SERVICEDESC::Disk Usage SERVICEPERFDATA::/dev/shm=0B;460770509;486368870;0;511967232 /=2338230272B;7717729075;8146491802;0;8575254528 /dev=0B;450610790;475644723;0;500678656 /sys/fs/cgroup=0B;460770509;486368870;0;511967232 /run/user/0=0B;92156314;97276109;0;102395904 /boot=173895680B;956930458;1010093261;0;1063256064 /run=51867648B;460770509;486368870;0;511967232  SERVICECHECKCOMMAND::okc-linux-check_disks!$_SERVICE_EXTRAOPTS$ HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::DiskUsage SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (109)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158251   HOSTNAME::google.com    SERVICEDESC::HTTP google.com    SERVICEPERFDATA::time=0.235703s;2.000000;10.000000;0.000000 size=11540B;;;0 SERVICECHECKCOMMAND::okc-check_http HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::google.com,hostname=TIMET::1496158251,state=SERVICEDESC::HTTPgoogle.com SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (115)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158251   HOSTNAME::localhost SERVICEDESC::Nagios Configuration   SERVICEPERFDATA::warnings=0 errors=1    SERVICECHECKCOMMAND::okc-execute!$USER1$/check_nagios_configuration HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::CRITICAL  SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::NagiosConfiguration SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (119)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158251   HOSTNAME::localhost SERVICEDESC::Load   SERVICEPERFDATA::load1=0.050;15.000;30.000;0; load5=0.110;15.000;30.000;0; load15=0.090;15.000;30.000;0;    SERVICECHECKCOMMAND::okc-linux-check_load   HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::Load SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (104)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158251   HOSTNAME::localhost SERVICEDESC::Swap Usage SERVICEPERFDATA::swap=1014MB;511;204;0;1023 SERVICECHECKCOMMAND::okc-check_nrpe!check_swap -a $_SERVICE_WARNING$ $_SERVICE_CRITICAL$    HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::SwapUsage SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (109)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158251   HOSTNAME::localhost SERVICEDESC::Running Processes  SERVICEPERFDATA::procs=161;500;1000;0; | procs=161  SERVICECHECKCOMMAND::okc-linux-check_total_procs    HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::RunningProcesses SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (116)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158251   HOSTNAME::localhost SERVICEDESC::Process httpd  SERVICEPERFDATA::procs=13;1:;:50;0; | procs=13  SERVICECHECKCOMMAND::okc-check_nrpe!check_procs -a $_SERVICE_WARNING$ $_SERVICE_CRITICAL$ $_SERVICE_NAME$   HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::Processhttpd SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (112)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158251   HOSTNAME::google.com    SERVICEDESC::HTTPS google.com   SERVICEPERFDATA::time=0.540689s;2.000000;10.000000;0.000000 size=11632B;;;0 SERVICECHECKCOMMAND::okc-check_https    HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::google.com,hostname=TIMET::1496158251,state=SERVICEDESC::HTTPSgoogle.com SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (116)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158251   HOSTNAME::localhost SERVICEDESC::Process npcd   SERVICEPERFDATA::procs=1;1:;:10;0; | procs=1    SERVICECHECKCOMMAND::okc-check_nrpe!check_procs -a $_SERVICE_WARNING$ $_SERVICE_CRITICAL$ $_SERVICE_NAME$   HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::Processnpcd SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (111)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158251   HOSTNAME::localhost SERVICEDESC::Uptime SERVICEPERFDATA::   SERVICECHECKCOMMAND::okc-linux-check_uptime!$_SERVICE_WARNING$  HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::Uptime SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (106)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158251   HOSTNAME::localhost SERVICEDESC::Process crond  SERVICEPERFDATA::procs=1;1:;:10;0; | procs=1    SERVICECHECKCOMMAND::okc-check_nrpe!check_procs -a $_SERVICE_WARNING$ $_SERVICE_CRITICAL$ $_SERVICE_NAME$   HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::Processcrond SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (112)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158251   HOSTNAME::localhost SERVICEDESC::Time   SERVICEPERFDATA::timedrift=0s;60;86400  SERVICECHECKCOMMAND::okc-linux-check_time!$_SERVICE_WARNING$!$_SERVICE_CRITICAL$    HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::Time SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (104)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158251   HOSTNAME::localhost SERVICEDESC::Process nagios SERVICEPERFDATA::procs=0;1:;:10;0; | procs=0    SERVICECHECKCOMMAND::okc-check_nrpe!check_procs -a $_SERVICE_WARNING$ $_SERVICE_CRITICAL$ $_SERVICE_NAME$   HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::WARNING   SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158251,state=SERVICEDESC::Processnagios SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (113)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158252   HOSTNAME::localhost SERVICEDESC::CPU Utilization    SERVICEPERFDATA::'user'=33.83 'nice'=0.50 'sys'=9.32 'softirq'=0.50 'iowait'=0.50 'irq'=0.50 'idle'=58.34   SERVICECHECKCOMMAND::okc-linux-check_cpu    HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158252,state=SERVICEDESC::CPUUtilization SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (114)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158255   HOSTNAME::localhost SERVICEDESC::Ping   SERVICEPERFDATA::rta=0.065000ms;100.000000;500.000000;0.000000 pl=0%;20;40;0    SERVICECHECKCOMMAND::okc-check_ping HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158255,state=SERVICEDESC::Ping SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (104)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158255   HOSTNAME::google.com    SERVICEDESC::Ping   SERVICEPERFDATA::rta=9.354000ms;100.000000;500.000000;0.000000 pl=0%;20;40;0    SERVICECHECKCOMMAND::okc-check_ping HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::google.com,hostname=TIMET::1496158255,state=SERVICEDESC::Ping SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (105)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158851   HOSTNAME::localhost SERVICEDESC::Apache Statistics  SERVICEPERFDATA::   SERVICECHECKCOMMAND::okc-apache-check_status    HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::CRITICAL  SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::ApacheStatistics SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (116)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158851   HOSTNAME::localhost SERVICEDESC::HTTP localhost SERVICEPERFDATA::time=0.015536s;2.000000;10.000000;0.000000 size=5241B;;;0  SERVICECHECKCOMMAND::okc-check_http HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::WARNING   SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::HTTPlocalhost SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (113)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158851   HOSTNAME::google.com    SERVICEDESC::HTTPS SSL Certificate google.com   SERVICEPERFDATA::   SERVICECHECKCOMMAND::okc-check_https_certificate    HOSTSTATE::UPHOSTSTATETYPE::HARD    SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::google.com,hostname=TIMET::1496158851,state=SERVICEDESC::HTTPSSSLCertificategoogle.com SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (130)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158851   HOSTNAME::localhost SERVICEDESC::HTTPS SSL Certificate localhost    SERVICEPERFDATA::   SERVICECHECKCOMMAND::okc-check_https_certificate    HOSTSTATE::UPHOSTSTATETYPE::HARD    SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::HTTPSSSLCertificatelocalhost SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (128)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158851   HOSTNAME::localhost SERVICEDESC::HTTPS localhost    SERVICEPERFDATA::time=0.195776s;2.000000;10.000000;0.000000 size=5241B;;;0  SERVICECHECKCOMMAND::okc-check_https    HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::WARNING   SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::HTTPSlocalhost SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (114)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158851   HOSTNAME::localhost SERVICEDESC::SSH Connectivity   SERVICEPERFDATA::time=0.135127s;;;0.000000;10.000000    SERVICECHECKCOMMAND::check_ssh  HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::SSHConnectivity SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (115)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158851   HOSTNAME::localhost SERVICEDESC::Reverse Lookup SERVICEPERFDATA::   SERVICECHECKCOMMAND::okc-check_dns!$HOSTADDRESS$!$HOSTNAME$.    HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::CRITICAL  SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::ReverseLookup SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (113)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158851   HOSTNAME::localhost SERVICEDESC::Forward Lookup SERVICEPERFDATA::time=0.151542s;;;0.000000  SERVICECHECKCOMMAND::okc-check_dns!$HOSTNAME$!$HOSTADDRESS$ HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::ForwardLookup SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (113)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158851   HOSTNAME::localhost SERVICEDESC::Nagios Ghost Services  SERVICEPERFDATA::   SERVICECHECKCOMMAND::okc-execute!$USER1$/check_nagios_ghostservices HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::UNKNOWN   SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::NagiosGhostServices SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (119)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158851   HOSTNAME::localhost SERVICEDESC::Nagios config up-to-date   SERVICEPERFDATA::   SERVICECHECKCOMMAND::okc-execute!$USER1$/check_nagios_needs_reload  HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::UNKNOWN   SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::Nagiosconfigup-to-date SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (122)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158851   HOSTNAME::google.com    SERVICEDESC::HTTP google.com    SERVICEPERFDATA::time=0.258744s;2.000000;10.000000;0.000000 size=11598B;;;0 SERVICECHECKCOMMAND::okc-check_http HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::google.com,hostname=TIMET::1496158851,state=SERVICEDESC::HTTPgoogle.com SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (115)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158851   HOSTNAME::localhost SERVICEDESC::Disk Usage SERVICEPERFDATA::/dev/shm=0B;460770509;486368870;0;511967232 /=2338406400B;7717729075;8146491802;0;8575254528 /dev=0B;450610790;475644723;0;500678656 /sys/fs/cgroup=0B;460770509;486368870;0;511967232 /run/user/0=0B;92156314;97276109;0;102395904 /boot=173895680B;956930458;1010093261;0;1063256064 /run=51867648B;460770509;486368870;0;511967232  SERVICECHECKCOMMAND::okc-linux-check_disks!$_SERVICE_EXTRAOPTS$ HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::DiskUsage SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (109)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158851   HOSTNAME::localhost SERVICEDESC::Nagios Configuration   SERVICEPERFDATA::warnings=0 errors=1    SERVICECHECKCOMMAND::okc-execute!$USER1$/check_nagios_configuration HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::CRITICAL  SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::NagiosConfiguration SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (119)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158851   HOSTNAME::localhost SERVICEDESC::Swap Usage SERVICEPERFDATA::swap=1014MB;511;204;0;1023 SERVICECHECKCOMMAND::okc-check_nrpe!check_swap -a $_SERVICE_WARNING$ $_SERVICE_CRITICAL$    HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::SwapUsage SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (109)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158851   HOSTNAME::localhost SERVICEDESC::Load   SERVICEPERFDATA::load1=0.190;15.000;30.000;0; load5=0.100;15.000;30.000;0; load15=0.100;15.000;30.000;0;    SERVICECHECKCOMMAND::okc-linux-check_load   HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::Load SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (104)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158851   HOSTNAME::localhost SERVICEDESC::Running Processes  SERVICEPERFDATA::procs=155;500;1000;0; | procs=155  SERVICECHECKCOMMAND::okc-linux-check_total_procs    HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::RunningProcesses SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (116)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158851   HOSTNAME::localhost SERVICEDESC::Process nagios SERVICEPERFDATA::procs=0;1:;:10;0; | procs=0    SERVICECHECKCOMMAND::okc-check_nrpe!check_procs -a $_SERVICE_WARNING$ $_SERVICE_CRITICAL$ $_SERVICE_NAME$   HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::WARNING   SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::Processnagios SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (113)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158851   HOSTNAME::localhost SERVICEDESC::Process npcd   SERVICEPERFDATA::procs=1;1:;:10;0; | procs=1    SERVICECHECKCOMMAND::okc-check_nrpe!check_procs -a $_SERVICE_WARNING$ $_SERVICE_CRITICAL$ $_SERVICE_NAME$   HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::Processnpcd SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (111)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158851   HOSTNAME::localhost SERVICEDESC::Uptime SERVICEPERFDATA::   SERVICECHECKCOMMAND::okc-linux-check_uptime!$_SERVICE_WARNING$  HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::Uptime SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (106)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158851   HOSTNAME::localhost SERVICEDESC::Process crond  SERVICEPERFDATA::procs=1;1:;:10;0; | procs=1    SERVICECHECKCOMMAND::okc-check_nrpe!check_procs -a $_SERVICE_WARNING$ $_SERVICE_CRITICAL$ $_SERVICE_NAME$   HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::Processcrond SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (112)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158851   HOSTNAME::localhost SERVICEDESC::Time   SERVICEPERFDATA::timedrift=0s;60;86400  SERVICECHECKCOMMAND::okc-linux-check_time!$_SERVICE_WARNING$!$_SERVICE_CRITICAL$    HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::Time SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (104)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158851   HOSTNAME::localhost SERVICEDESC::Process httpd  SERVICEPERFDATA::procs=13;1:;:50;0; | procs=13  SERVICECHECKCOMMAND::okc-check_nrpe!check_procs -a $_SERVICE_WARNING$ $_SERVICE_CRITICAL$ $_SERVICE_NAME$   HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158851,state=SERVICEDESC::Processhttpd SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (112)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158851   HOSTNAME::google.com    SERVICEDESC::HTTPS google.com   SERVICEPERFDATA::time=0.561931s;2.000000;10.000000;0.000000 size=12954B;;;0 SERVICECHECKCOMMAND::okc-check_https    HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::google.com,hostname=TIMET::1496158851,state=SERVICEDESC::HTTPSgoogle.com SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (116)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158852   HOSTNAME::localhost SERVICEDESC::CPU Utilization    SERVICEPERFDATA::'user'=2.46 'nice'=0.50 'sys'=2.46 'softirq'=0.50 'iowait'=2.46 'irq'=0.50 'idle'=94.61    SERVICECHECKCOMMAND::okc-linux-check_cpu    HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158852,state=SERVICEDESC::CPUUtilization SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (114)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158855   HOSTNAME::google.com    SERVICEDESC::Ping   SERVICEPERFDATA::rta=14.783000ms;100.000000;500.000000;0.000000 pl=0%;20;40;0   SERVICECHECKCOMMAND::okc-check_ping HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::google.com,hostname=TIMET::1496158855,state=SERVICEDESC::Ping SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (105)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496158855   HOSTNAME::localhost SERVICEDESC::Ping   SERVICEPERFDATA::rta=0.076000ms;100.000000;500.000000;0.000000 pl=0%;20;40;0    SERVICECHECKCOMMAND::okc-check_ping HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496158855,state=SERVICEDESC::Ping SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (104)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496159451   HOSTNAME::localhost SERVICEDESC::Apache Statistics  SERVICEPERFDATA::   SERVICECHECKCOMMAND::okc-apache-check_status    HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::CRITICAL  SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::ApacheStatistics SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (116)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496159451   HOSTNAME::localhost SERVICEDESC::HTTP localhost SERVICEPERFDATA::time=0.008130s;2.000000;10.000000;0.000000 size=5241B;;;0  SERVICECHECKCOMMAND::okc-check_http HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::WARNING   SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::HTTPlocalhost SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (113)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496159451   HOSTNAME::localhost SERVICEDESC::HTTPS SSL Certificate localhost    SERVICEPERFDATA::   SERVICECHECKCOMMAND::okc-check_https_certificate    HOSTSTATE::UPHOSTSTATETYPE::HARD    SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::HTTPSSSLCertificatelocalhost SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (128)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496159451   HOSTNAME::google.com    SERVICEDESC::HTTPS SSL Certificate google.com   SERVICEPERFDATA::   SERVICECHECKCOMMAND::okc-check_https_certificate    HOSTSTATE::UPHOSTSTATETYPE::HARD    SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::google.com,hostname=TIMET::1496159451,state=SERVICEDESC::HTTPSSSLCertificategoogle.com SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (130)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496159451   HOSTNAME::localhost SERVICEDESC::HTTPS localhost    SERVICEPERFDATA::time=0.159362s;2.000000;10.000000;0.000000 size=5241B;;;0  SERVICECHECKCOMMAND::okc-check_https    HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::WARNING   SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::HTTPSlocalhost SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (114)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496159451   HOSTNAME::localhost SERVICEDESC::SSH Connectivity   SERVICEPERFDATA::time=0.124559s;;;0.000000;10.000000    SERVICECHECKCOMMAND::check_ssh  HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::SSHConnectivity SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (115)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496159451   HOSTNAME::localhost SERVICEDESC::Reverse Lookup SERVICEPERFDATA::   SERVICECHECKCOMMAND::okc-check_dns!$HOSTADDRESS$!$HOSTNAME$.    HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::CRITICAL  SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::ReverseLookup SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (113)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496159451   HOSTNAME::localhost SERVICEDESC::Forward Lookup SERVICEPERFDATA::time=0.133231s;;;0.000000  SERVICECHECKCOMMAND::okc-check_dns!$HOSTNAME$!$HOSTADDRESS$ HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::ForwardLookup SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (113)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496159451   HOSTNAME::localhost SERVICEDESC::Nagios Ghost Services  SERVICEPERFDATA::   SERVICECHECKCOMMAND::okc-execute!$USER1$/check_nagios_ghostservices HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::UNKNOWN   SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::NagiosGhostServices SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (119)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496159451   HOSTNAME::localhost SERVICEDESC::Nagios config up-to-date   SERVICEPERFDATA::   SERVICECHECKCOMMAND::okc-execute!$USER1$/check_nagios_needs_reload  HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::UNKNOWN   SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::Nagiosconfigup-to-date SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (122)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496159451   HOSTNAME::localhost SERVICEDESC::Disk Usage SERVICEPERFDATA::/dev/shm=0B;460770509;486368870;0;511967232 /=2340564992B;7717729075;8146491802;0;8575254528 /dev=0B;450610790;475644723;0;500678656 /sys/fs/cgroup=0B;460770509;486368870;0;511967232 /run/user/0=0B;92156314;97276109;0;102395904 /boot=173895680B;956930458;1010093261;0;1063256064 /run=51867648B;460770509;486368870;0;511967232  SERVICECHECKCOMMAND::okc-linux-check_disks!$_SERVICE_EXTRAOPTS$ HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::DiskUsage SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (109)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496159451   HOSTNAME::google.com    SERVICEDESC::HTTP google.com    SERVICEPERFDATA::time=0.263714s;2.000000;10.000000;0.000000 size=11629B;;;0 SERVICECHECKCOMMAND::okc-check_http HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::google.com,hostname=TIMET::1496159451,state=SERVICEDESC::HTTPgoogle.com SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (115)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496159451   HOSTNAME::localhost SERVICEDESC::Nagios Configuration   SERVICEPERFDATA::warnings=0 errors=1    SERVICECHECKCOMMAND::okc-execute!$USER1$/check_nagios_configuration HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::CRITICAL  SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::NagiosConfiguration SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (119)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496159451   HOSTNAME::localhost SERVICEDESC::Load   SERVICEPERFDATA::load1=0.040;15.000;30.000;0; load5=0.060;15.000;30.000;0; load15=0.070;15.000;30.000;0;    SERVICECHECKCOMMAND::okc-linux-check_load   HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::Load SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (104)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496159451   HOSTNAME::localhost SERVICEDESC::Swap Usage SERVICEPERFDATA::swap=1014MB;511;204;0;1023 SERVICECHECKCOMMAND::okc-check_nrpe!check_swap -a $_SERVICE_WARNING$ $_SERVICE_CRITICAL$    HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::SwapUsage SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (109)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496159451   HOSTNAME::localhost SERVICEDESC::Running Processes  SERVICEPERFDATA::procs=154;500;1000;0; | procs=154  SERVICECHECKCOMMAND::okc-linux-check_total_procs    HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::RunningProcesses SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (116)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496159451   HOSTNAME::localhost SERVICEDESC::Process nagios SERVICEPERFDATA::procs=0;1:;:10;0; | procs=0    SERVICECHECKCOMMAND::okc-check_nrpe!check_procs -a $_SERVICE_WARNING$ $_SERVICE_CRITICAL$ $_SERVICE_NAME$   HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::WARNING   SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::Processnagios SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (113)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496159451   HOSTNAME::localhost SERVICEDESC::Process npcd   SERVICEPERFDATA::procs=1;1:;:10;0; | procs=1    SERVICECHECKCOMMAND::okc-check_nrpe!check_procs -a $_SERVICE_WARNING$ $_SERVICE_CRITICAL$ $_SERVICE_NAME$   HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::Processnpcd SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (111)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496159451   HOSTNAME::localhost SERVICEDESC::Uptime SERVICEPERFDATA::   SERVICECHECKCOMMAND::okc-linux-check_uptime!$_SERVICE_WARNING$  HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::Uptime SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (106)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496159451   HOSTNAME::localhost SERVICEDESC::Process crond  SERVICEPERFDATA::procs=1;1:;:10;0; | procs=1    SERVICECHECKCOMMAND::okc-check_nrpe!check_procs -a $_SERVICE_WARNING$ $_SERVICE_CRITICAL$ $_SERVICE_NAME$   HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::Processcrond SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (112)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496159451   HOSTNAME::localhost SERVICEDESC::Time   SERVICEPERFDATA::timedrift=0s;60;86400  SERVICECHECKCOMMAND::okc-linux-check_time!$_SERVICE_WARNING$!$_SERVICE_CRITICAL$    HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::Time SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (104)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496159451   HOSTNAME::localhost SERVICEDESC::Process httpd  SERVICEPERFDATA::procs=13;1:;:50;0; | procs=13  SERVICECHECKCOMMAND::okc-check_nrpe!check_procs -a $_SERVICE_WARNING$ $_SERVICE_CRITICAL$ $_SERVICE_NAME$   HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496159451,state=SERVICEDESC::Processhttpd SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (112)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496159451   HOSTNAME::google.com    SERVICEDESC::HTTPS google.com   SERVICEPERFDATA::time=0.530774s;2.000000;10.000000;0.000000 size=11674B;;;0 SERVICECHECKCOMMAND::okc-check_https    HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::google.com,hostname=TIMET::1496159451,state=SERVICEDESC::HTTPSgoogle.com SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (116)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496159452   HOSTNAME::localhost SERVICEDESC::CPU Utilization    SERVICEPERFDATA::'user'=1.48 'nice'=0.50 'sys'=2.46 'softirq'=0.50 'iowait'=0.50 'irq'=0.50 'idle'=97.55    SERVICECHECKCOMMAND::okc-linux-check_cpu    HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496159452,state=SERVICEDESC::CPUUtilization SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (114)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496159455   HOSTNAME::localhost SERVICEDESC::Ping   SERVICEPERFDATA::rta=0.073000ms;100.000000;500.000000;0.000000 pl=0%;20;40;0    SERVICECHECKCOMMAND::okc-check_ping HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::localhost,hostname=TIMET::1496159455,state=SERVICEDESC::Ping SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (104)
[ 32] nagios2influx: DATATYPE::SERVICEPERFDATA  TIMET::1496159455   HOSTNAME::google.com    SERVICEDESC::Ping   SERVICEPERFDATA::rta=7.302000ms;100.000000;500.000000;0.000000 pl=0%;20;40;0    SERVICECHECKCOMMAND::okc-check_ping HOSTSTATE::UP   HOSTSTATETYPE::HARD SERVICESTATE::OK    SERVICESTATETYPE::HARD
[ 64] nagios2influx: SERVICESTATETYPE::HARD=
[  2] nagios2influx: naemon.HOSTNAME::google.com,hostname=TIMET::1496159455,state=SERVICEDESC::Ping SERVICESTATETYPE::HARD=0 0
[  1] nagios2influx: http://localhost:8086/write?db=naemon&u=naemon&p=<redacted> [204] (105)
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159910  localhost   Process npcd    0.039   0.095   PROCS OK: 1 process with command name 'npcd'    procs=1;1:;:10;0; | procs=1
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159932  localhost   Reverse Lookup  0.046   0.935   DNS CRITICAL - expected 'localhost.' but got 'name = localhost.'    
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159950  localhost   Apache Statistics   0.080   0.838   (No output on stdout) stderr: execvp(/usr/lib64/nagios/plugins/check_apachestatus.pl, ...) failed. errno is 2: No such file or directory    
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159950  localhost   HTTP localhost  0.139   0.838   HTTP WARNING: HTTP/1.1 403 Forbidden - 5241 bytes in 0.085 second response time time=0.085259s;2.000000;10.000000;0.000000 size=5241B;;;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159951  google.com  HTTPS SSL Certificate google.com    0.217   0.838   OK - Certificate 'google.com' will expire on 2017-08-10 11:39 +0000/GMT.    
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159951  localhost   HTTPS SSL Certificate localhost 0.224   0.838   OK - Certificate 'localhost.localdomain' will expire on 2018-05-30 14:18 +0000/GMT. 
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159951  localhost   HTTPS localhost 0.243   0.838   HTTP WARNING: HTTP/1.1 403 Forbidden - 5241 bytes in 0.168 second response time time=0.167989s;2.000000;10.000000;0.000000 size=5241B;;;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159951  localhost   SSH Connectivity    0.268   0.838   SSH OK - OpenSSH_6.6.1 (protocol 2.0)   time=0.254444s;;;0.000000;10.000000
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159951  localhost   Reverse Lookup  0.307   0.838   DNS CRITICAL - expected 'localhost.' but got 'name = localhost.'    
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159951  localhost   Forward Lookup  0.315   0.838   DNS OK: 0.259 seconds response time. localhost returns 127.0.0.1    time=0.258514s;;;0.000000
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159951  localhost   Nagios Ghost Services   0.319   0.838   Unable to locate logfile for parsing    
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159951  google.com  HTTP google.com 0.359   0.838   HTTP OK: HTTP/1.1 200 OK - 11622 bytes in 0.333 second response time    time=0.332558s;2.000000;10.000000;0.000000 size=11622B;;;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159951  localhost   Disk Usage  0.399   0.838   DISK OK   ...   /dev/shm=0B;460770509;486368870;0;511967232 /=2341441536B;7717729075;8146491802;0;8575254528 /dev=0B;450610790;475644723;0;500678656 /sys/fs/cgroup=0B;460770509;486368870;0;511967232 /run/user/0=0B;92156314;97276109;0;102395904 /boot=173895680B;956930458;1010093261;0;1063256064 /run=51867648B;460770509;486368870;0;511967232
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159951  localhost   Nagios config up-to-date    0.411   0.838   Unknown - Error running script: [Errno 2] No such file or directory: '/etc/nagios/nagios.cfg'   
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159951  localhost   Nagios Configuration    0.435   0.838   Could not validate Nagios configuration.    warnings=0 errors=1
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159951  localhost   Swap Usage  0.477   0.838   SWAP OK - 100% free (1017 MB out of 1023 MB)    swap=1017MB;511;204;0;1023
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159951  localhost   Load    0.514   0.838   OK - load average: 0.03, 0.05, 0.05 load1=0.030;15.000;30.000;0; load5=0.050;15.000;30.000;0; load15=0.050;15.000;30.000;0;
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159951  localhost   Process crond   0.516   0.838   PROCS OK: 1 process with command name 'crond'   procs=1;1:;:10;0; | procs=1
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159951  localhost   Process httpd   0.521   0.838   PROCS OK: 13 processes with command name 'httpd'    procs=13;1:;:50;0; | procs=13
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159951  localhost   Process nagios  0.539   0.838   PROCS WARNING: 0 processes with command name 'nagios'   procs=0;1:;:10;0; | procs=0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159951  localhost   Uptime  0.561   0.838   Ok, 127.0.0.1 uptime is  15:59:11 up 5 days,  4:17,  2 users,  load average: 0.03, 0.05, 0.05   
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159951  localhost   Process npcd    0.570   0.838   PROCS OK: 1 process with command name 'npcd'    procs=1;1:;:10;0; | procs=1
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159951  localhost   Time    0.570   0.838   OK - timedrift=0 seconds    timedrift=0s;60;86400
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159951  localhost   Running Processes   0.602   0.838   PROCS OK: 143 processes procs=143;500;1000;0; | procs=143
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159951  google.com  HTTPS google.com    0.623   0.838   HTTP OK: HTTP/1.1 200 OK - 11648 bytes in 0.572 second response time    time=0.572307s;2.000000;10.000000;0.000000 size=11648B;;;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159952  localhost   CPU Utilization 1.696   0.838   OK - user: 4.13, nice: 0.50, sys: 7.77, iowait: 0.50, irq: 0.50, softirq: 0.50 idle: 89.59  'user'=4.13 'nice'=0.50 'sys'=7.77 'softirq'=0.50 'iowait'=0.50 'irq'=0.50 'idle'=89.59
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159955  google.com  Ping    4.227   0.838   PING OK - Packet loss = 0%, RTA = 3.23 ms   rta=3.230000ms;100.000000;500.000000;0.000000 pl=0%;20;40;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159955  localhost   Ping    4.246   0.838   PING OK - Packet loss = 0%, RTA = 0.09 ms   rta=0.090000ms;100.000000;500.000000;0.000000 pl=0%;20;40;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159957  localhost   Apache Statistics   0.042   0.333   (No output on stdout) stderr: execvp(/usr/lib64/nagios/plugins/check_apachestatus.pl, ...) failed. errno is 2: No such file or directory    
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159957  localhost   HTTP localhost  0.151   0.333   HTTP WARNING: HTTP/1.1 403 Forbidden - 5241 bytes in 0.103 second response time time=0.103437s;2.000000;10.000000;0.000000 size=5241B;;;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159957  localhost   HTTPS SSL Certificate localhost 0.210   0.333   OK - Certificate 'localhost.localdomain' will expire on 2018-05-30 14:18 +0000/GMT. 
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159957  localhost   HTTPS localhost 0.211   0.333   HTTP WARNING: HTTP/1.1 403 Forbidden - 5241 bytes in 0.193 second response time time=0.192745s;2.000000;10.000000;0.000000 size=5241B;;;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159957  google.com  HTTPS SSL Certificate google.com    0.226   0.333   OK - Certificate 'google.com' will expire on 2017-08-10 11:39 +0000/GMT.    
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159957  localhost   Reverse Lookup  0.250   0.333   DNS CRITICAL - expected 'localhost.' but got 'name = localhost.'    
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159957  localhost   SSH Connectivity    0.250   0.333   SSH OK - OpenSSH_6.6.1 (protocol 2.0)   time=0.231525s;;;0.000000;10.000000
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159957  localhost   Forward Lookup  0.251   0.333   DNS OK: 0.176 seconds response time. localhost returns 127.0.0.1    time=0.176047s;;;0.000000
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159957  localhost   Nagios Ghost Services   0.274   0.333   Unable to locate logfile for parsing    
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159957  localhost   Nagios config up-to-date    0.344   0.333   Unknown - Error running script: [Errno 2] No such file or directory: '/etc/nagios/nagios.cfg'   
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159957  localhost   Disk Usage  0.349   0.333   DISK OK   ...   /dev/shm=0B;460770509;486368870;0;511967232 /=2341474304B;7717729075;8146491802;0;8575254528 /dev=0B;450610790;475644723;0;500678656 /sys/fs/cgroup=0B;460770509;486368870;0;511967232 /run/user/0=0B;92156314;97276109;0;102395904 /boot=173895680B;956930458;1010093261;0;1063256064 /run=51867648B;460770509;486368870;0;511967232
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159957  localhost   Nagios Configuration    0.376   0.333   Could not validate Nagios configuration.    warnings=0 errors=1
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159957  google.com  HTTP google.com 0.402   0.333   HTTP OK: HTTP/1.1 200 OK - 11655 bytes in 0.316 second response time    time=0.316169s;2.000000;10.000000;0.000000 size=11655B;;;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159957  localhost   Load    0.401   0.333   OK - load average: 0.02, 0.05, 0.05 load1=0.020;15.000;30.000;0; load5=0.050;15.000;30.000;0; load15=0.050;15.000;30.000;0;
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159957  localhost   Swap Usage  0.459   0.333   SWAP OK - 100% free (1017 MB out of 1023 MB)    swap=1017MB;511;204;0;1023
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159957  localhost   Running Processes   0.466   0.333   PROCS OK: 158 processes procs=158;500;1000;0; | procs=158
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159957  localhost   Process httpd   0.486   0.333   PROCS OK: 13 processes with command name 'httpd'    procs=13;1:;:50;0; | procs=13
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159957  localhost   Process npcd    0.496   0.333   PROCS OK: 1 process with command name 'npcd'    procs=1;1:;:10;0; | procs=1
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159957  localhost   Uptime  0.520   0.333   Ok, 127.0.0.1 uptime is  15:59:17 up 5 days,  4:17,  2 users,  load average: 0.02, 0.05, 0.05   
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159957  localhost   Process crond   0.525   0.333   PROCS OK: 1 process with command name 'crond'   procs=1;1:;:10;0; | procs=1
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159957  localhost   Time    0.530   0.333   OK - timedrift=0 seconds    timedrift=0s;60;86400
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159957  localhost   Process nagios  0.546   0.333   PROCS WARNING: 0 processes with command name 'nagios'   procs=0;1:;:10;0; | procs=0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159957  google.com  HTTPS google.com    0.611   0.333   HTTP OK: HTTP/1.1 200 OK - 11664 bytes in 0.595 second response time    time=0.594867s;2.000000;10.000000;0.000000 size=11664B;;;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159958  localhost   CPU Utilization 1.613   0.333   OK - user: 1.48, nice: 0.50, sys: 2.46, iowait: 0.50, irq: 0.50, softirq: 0.50 idle: 97.55  'user'=1.48 'nice'=0.50 'sys'=2.46 'softirq'=0.50 'iowait'=0.50 'irq'=0.50 'idle'=97.55
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159961  localhost   Ping    4.188   0.333   PING OK - Packet loss = 0%, RTA = 0.05 ms   rta=0.046000ms;100.000000;500.000000;0.000000 pl=0%;20;40;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496159961  google.com  Ping    4.193   0.333   PING OK - Packet loss = 0%, RTA = 9.18 ms   rta=9.179000ms;100.000000;500.000000;0.000000 pl=0%;20;40;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496160557  localhost   Apache Statistics   0.104   0.333   (No output on stdout) stderr: execvp(/usr/lib64/nagios/plugins/check_apachestatus.pl, ...) failed. errno is 2: No such file or directory    
[ 32] nagios2influx: [SERVICEPERFDATA]  1496160557  localhost   HTTP localhost  0.136   0.334   HTTP WARNING: HTTP/1.1 403 Forbidden - 5241 bytes in 0.064 second response time time=0.063959s;2.000000;10.000000;0.000000 size=5241B;;;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496160557  google.com  HTTPS SSL Certificate google.com    0.222   0.333   OK - Certificate 'google.com' will expire on 2017-08-10 11:39 +0000/GMT.    
[ 32] nagios2influx: [SERVICEPERFDATA]  1496160557  localhost   HTTPS localhost 0.253   0.334   HTTP WARNING: HTTP/1.1 403 Forbidden - 5241 bytes in 0.168 second response time time=0.168225s;2.000000;10.000000;0.000000 size=5241B;;;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496160557  localhost   HTTPS SSL Certificate localhost 0.256   0.334   OK - Certificate 'localhost.localdomain' will expire on 2018-05-30 14:18 +0000/GMT. 
[ 32] nagios2influx: [SERVICEPERFDATA]  1496160557  localhost   Forward Lookup  0.303   0.334   DNS OK: 0.260 seconds response time. localhost returns 127.0.0.1    time=0.260461s;;;0.000000
[ 32] nagios2influx: [SERVICEPERFDATA]  1496160557  localhost   Reverse Lookup  0.312   0.335   DNS CRITICAL - expected 'localhost.' but got 'name = localhost.'    
[ 32] nagios2influx: [SERVICEPERFDATA]  1496160557  localhost   Nagios Ghost Services   0.331   0.334   Unable to locate logfile for parsing    
[ 32] nagios2influx: [SERVICEPERFDATA]  1496160557  localhost   SSH Connectivity    0.337   0.335   SSH OK - OpenSSH_6.6.1 (protocol 2.0)   time=0.236316s;;;0.000000;10.000000
[ 32] nagios2influx: [SERVICEPERFDATA]  1496160557  google.com  HTTP google.com 0.405   0.333   HTTP OK: HTTP/1.1 200 OK - 11646 bytes in 0.327 second response time    time=0.326704s;2.000000;10.000000;0.000000 size=11646B;;;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496160557  localhost   Swap Usage  0.479   0.335   SWAP OK - 100% free (1017 MB out of 1023 MB)    swap=1017MB;511;204;0;1023
[ 32] nagios2influx: [SERVICEPERFDATA]  1496160557  localhost   Nagios config up-to-date    0.514   0.334   Unknown - Error running script: [Errno 2] No such file or directory: '/etc/nagios/nagios.cfg'   
[ 32] nagios2influx: [SERVICEPERFDATA]  1496160557  localhost   Nagios Configuration    0.527   0.334   Could not validate Nagios configuration.    warnings=0 errors=1
[ 32] nagios2influx: [SERVICEPERFDATA]  1496160557  localhost   Disk Usage  0.571   0.334   DISK OK   ...   /dev/shm=0B;460770509;486368870;0;511967232 /=2342150144B;7717729075;8146491802;0;8575254528 /dev=0B;450610790;475644723;0;500678656 /sys/fs/cgroup=0B;460770509;486368870;0;511967232 /run/user/0=0B;92156314;97276109;0;102395904 /boot=173895680B;956930458;1010093261;0;1063256064 /run=51843072B;460770509;486368870;0;511967232
[ 32] nagios2influx: [SERVICEPERFDATA]  1496160558  google.com  HTTPS google.com    0.649   0.333   HTTP OK: HTTP/1.1 200 OK - 11612 bytes in 0.626 second response time    time=0.626487s;2.000000;10.000000;0.000000 size=11612B;;;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496160558  localhost   Load    0.676   0.334   OK - load average: 0.99, 0.26, 0.12 load1=0.990;15.000;30.000;0; load5=0.260;15.000;30.000;0; load15=0.120;15.000;30.000;0;
[ 32] nagios2influx: [SERVICEPERFDATA]  1496160558  localhost   Process npcd    0.693   0.335   PROCS OK: 1 process with command name 'npcd'    procs=1;1:;:10;0; | procs=1
[ 32] nagios2influx: [SERVICEPERFDATA]  1496160558  localhost   Running Processes   0.733   0.335   PROCS OK: 153 processes procs=153;500;1000;0; | procs=153
[ 32] nagios2influx: [SERVICEPERFDATA]  1496160558  localhost   Process crond   0.746   0.334   PROCS OK: 1 process with command name 'crond'   procs=1;1:;:10;0; | procs=1
[ 32] nagios2influx: [SERVICEPERFDATA]  1496160558  localhost   Process nagios  0.778   0.334   PROCS WARNING: 0 processes with command name 'nagios'   procs=0;1:;:10;0; | procs=0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496160558  localhost   Uptime  0.788   0.335   Ok, 127.0.0.1 uptime is  16:09:18 up 5 days,  4:27,  1 user,  load average: 0.99, 0.26, 0.12    
[ 32] nagios2influx: [SERVICEPERFDATA]  1496160558  localhost   Time    0.800   0.335   OK - timedrift=1 seconds    timedrift=1s;60;86400
[ 32] nagios2influx: [SERVICEPERFDATA]  1496160558  localhost   Process httpd   0.806   0.334   PROCS OK: 13 processes with command name 'httpd'    procs=13;1:;:50;0; | procs=13
[ 32] nagios2influx: [SERVICEPERFDATA]  1496160559  localhost   CPU Utilization 1.883   0.334   OK - user: 4.23, nice: 0.50, sys: 3.30, iowait: 0.50, irq: 0.50, softirq: 0.50 idle: 93.95  'user'=4.23 'nice'=0.50 'sys'=3.30 'softirq'=0.50 'iowait'=0.50 'irq'=0.50 'idle'=93.95
[ 32] nagios2influx: [SERVICEPERFDATA]  1496160561  localhost   Ping    4.184   0.334   PING OK - Packet loss = 0%, RTA = 0.07 ms   rta=0.072000ms;100.000000;500.000000;0.000000 pl=0%;20;40;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496160561  google.com  Ping    4.225   0.333   PING OK - Packet loss = 0%, RTA = 5.75 ms   rta=5.752000ms;100.000000;500.000000;0.000000 pl=0%;20;40;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161157  localhost   Apache Statistics   0.046   0.335   (No output on stdout) stderr: execvp(/usr/lib64/nagios/plugins/check_apachestatus.pl, ...) failed. errno is 2: No such file or directory    
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161157  localhost   HTTP localhost  0.089   0.335   HTTP WARNING: HTTP/1.1 403 Forbidden - 5241 bytes in 0.015 second response time time=0.014525s;2.000000;10.000000;0.000000 size=5241B;;;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161157  google.com  HTTPS SSL Certificate google.com    0.171   0.334   OK - Certificate 'google.com' will expire on 2017-08-10 11:39 +0000/GMT.    
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161157  localhost   HTTPS localhost 0.191   0.335   HTTP WARNING: HTTP/1.1 403 Forbidden - 5241 bytes in 0.171 second response time time=0.170873s;2.000000;10.000000;0.000000 size=5241B;;;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161157  localhost   HTTPS SSL Certificate localhost 0.194   0.335   OK - Certificate 'localhost.localdomain' will expire on 2018-05-30 14:18 +0000/GMT. 
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161157  localhost   SSH Connectivity    0.211   0.335   SSH OK - OpenSSH_6.6.1 (protocol 2.0)   time=0.143468s;;;0.000000;10.000000
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161157  localhost   Reverse Lookup  0.245   0.335   DNS CRITICAL - expected 'localhost.' but got 'name = localhost.'    
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161157  localhost   Forward Lookup  0.250   0.335   DNS OK: 0.175 seconds response time. localhost returns 127.0.0.1    time=0.174649s;;;0.000000
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161157  localhost   Nagios Ghost Services   0.279   0.335   Unable to locate logfile for parsing    
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161157  google.com  HTTP google.com 0.326   0.334   HTTP OK: HTTP/1.1 200 OK - 11559 bytes in 0.277 second response time    time=0.277127s;2.000000;10.000000;0.000000 size=11559B;;;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161157  localhost   Nagios config up-to-date    0.386   0.335   Unknown - Error running script: [Errno 2] No such file or directory: '/etc/nagios/nagios.cfg'   
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161157  localhost   Disk Usage  0.418   0.335   DISK OK   ...   /dev/shm=0B;460770509;486368870;0;511967232 /=2344935424B;7717729075;8146491802;0;8575254528 /dev=0B;450610790;475644723;0;500678656 /sys/fs/cgroup=0B;460770509;486368870;0;511967232 /run/user/0=0B;92156314;97276109;0;102395904 /boot=173895680B;956930458;1010093261;0;1063256064 /run=51843072B;460770509;486368870;0;511967232
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161157  localhost   Nagios Configuration    0.433   0.335   Could not validate Nagios configuration.    warnings=0 errors=1
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161157  localhost   Load    0.441   0.335   OK - load average: 0.06, 0.06, 0.08 load1=0.060;15.000;30.000;0; load5=0.060;15.000;30.000;0; load15=0.080;15.000;30.000;0;
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161157  localhost   Swap Usage  0.456   0.335   SWAP OK - 100% free (1017 MB out of 1023 MB)    swap=1017MB;511;204;0;1023
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161157  localhost   Running Processes   0.520   0.335   PROCS OK: 144 processes procs=144;500;1000;0; | procs=144
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161157  localhost   Process nagios  0.543   0.335   PROCS WARNING: 0 processes with command name 'nagios'   procs=0;1:;:10;0; | procs=0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161157  google.com  HTTPS google.com    0.570   0.335   HTTP OK: HTTP/1.1 200 OK - 11665 bytes in 0.539 second response time    time=0.538817s;2.000000;10.000000;0.000000 size=11665B;;;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161157  localhost   Process npcd    0.574   0.335   PROCS OK: 1 process with command name 'npcd'    procs=1;1:;:10;0; | procs=1
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161157  localhost   Uptime  0.592   0.335   Ok, 127.0.0.1 uptime is  16:19:17 up 5 days,  4:37,  1 user,  load average: 0.85, 0.22, 0.13    
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161157  localhost   Process crond   0.601   0.335   PROCS OK: 1 process with command name 'crond'   procs=1;1:;:10;0; | procs=1
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161157  localhost   Time    0.608   0.335   OK - timedrift=0 seconds    timedrift=0s;60;86400
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161157  localhost   Process httpd   0.628   0.335   PROCS OK: 13 processes with command name 'httpd'    procs=13;1:;:50;0; | procs=13
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161159  localhost   CPU Utilization 1.718   0.335   OK - user: 2.40, nice: 0.50, sys: 3.35, iowait: 2.40, irq: 0.50, softirq: 0.50 idle: 93.83  'user'=2.40 'nice'=0.50 'sys'=3.35 'softirq'=0.50 'iowait'=2.40 'irq'=0.50 'idle'=93.83
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161161  localhost   Ping    4.134   0.335   PING OK - Packet loss = 0%, RTA = 0.07 ms   rta=0.068000ms;100.000000;500.000000;0.000000 pl=0%;20;40;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161161  google.com  Ping    4.140   0.335   PING OK - Packet loss = 0%, RTA = 12.69 ms  rta=12.690000ms;100.000000;500.000000;0.000000 pl=0%;20;40;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161757  localhost   Apache Statistics   0.043   0.335   (No output on stdout) stderr: execvp(/usr/lib64/nagios/plugins/check_apachestatus.pl, ...) failed. errno is 2: No such file or directory    
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161757  localhost   HTTP localhost  0.079   0.336   HTTP WARNING: HTTP/1.1 403 Forbidden - 5241 bytes in 0.007 second response time time=0.007354s;2.000000;10.000000;0.000000 size=5241B;;;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161757  localhost   HTTPS SSL Certificate localhost 0.113   0.336   OK - Certificate 'localhost.localdomain' will expire on 2018-05-30 14:18 +0000/GMT. 
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161757  localhost   HTTPS localhost 0.150   0.336   HTTP WARNING: HTTP/1.1 403 Forbidden - 5241 bytes in 0.131 second response time time=0.130961s;2.000000;10.000000;0.000000 size=5241B;;;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161757  google.com  HTTPS SSL Certificate google.com    0.179   0.335   OK - Certificate 'google.com' will expire on 2017-08-10 11:39 +0000/GMT.    
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161757  localhost   SSH Connectivity    0.188   0.336   SSH OK - OpenSSH_6.6.1 (protocol 2.0)   time=0.123869s;;;0.000000;10.000000
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161757  localhost   Reverse Lookup  0.192   0.336   DNS CRITICAL - expected 'localhost.' but got 'name = localhost.'    
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161757  localhost   Forward Lookup  0.194   0.336   DNS OK: 0.123 seconds response time. localhost returns 127.0.0.1    time=0.123415s;;;0.000000
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161757  localhost   Nagios Ghost Services   0.234   0.336   Unable to locate logfile for parsing    
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161757  google.com  HTTP google.com 0.300   0.335   HTTP OK: HTTP/1.1 200 OK - 11582 bytes in 0.257 second response time    time=0.257482s;2.000000;10.000000;0.000000 size=11582B;;;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161757  localhost   Nagios config up-to-date    0.304   0.336   Unknown - Error running script: [Errno 2] No such file or directory: '/etc/nagios/nagios.cfg'   
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161757  localhost   Disk Usage  0.322   0.336   DISK OK   ...   /dev/shm=0B;460770509;486368870;0;511967232 /=2344787968B;7717729075;8146491802;0;8575254528 /dev=0B;450610790;475644723;0;500678656 /sys/fs/cgroup=0B;460770509;486368870;0;511967232 /run/user/0=0B;92156314;97276109;0;102395904 /boot=173895680B;956930458;1010093261;0;1063256064 /run=51843072B;460770509;486368870;0;511967232
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161757  localhost   Nagios Configuration    0.354   0.336   Could not validate Nagios configuration.    warnings=0 errors=1
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161757  localhost   Load    0.365   0.336   OK - load average: 0.01, 0.10, 0.12 load1=0.010;15.000;30.000;0; load5=0.100;15.000;30.000;0; load15=0.120;15.000;30.000;0;
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161757  localhost   Swap Usage  0.381   0.336   SWAP OK - 100% free (1019 MB out of 1023 MB)    swap=1019MB;511;204;0;1023
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161757  localhost   Running Processes   0.432   0.336   PROCS OK: 146 processes procs=146;500;1000;0; | procs=146
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161757  localhost   Process nagios  0.463   0.336   PROCS WARNING: 0 processes with command name 'nagios'   procs=0;1:;:10;0; | procs=0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161757  localhost   Process npcd    0.511   0.336   PROCS OK: 1 process with command name 'npcd'    procs=1;1:;:10;0; | procs=1
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161757  google.com  HTTPS google.com    0.534   0.335   HTTP OK: HTTP/1.1 200 OK - 11693 bytes in 0.502 second response time    time=0.502248s;2.000000;10.000000;0.000000 size=11693B;;;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161757  localhost   Process crond   0.543   0.336   PROCS OK: 1 process with command name 'crond'   procs=1;1:;:10;0; | procs=1
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161757  localhost   Uptime  0.545   0.336   Ok, 127.0.0.1 uptime is  16:29:17 up 5 days,  4:47,  1 user,  load average: 0.01, 0.10, 0.12    
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161757  localhost   Time    0.560   0.336   OK - timedrift=0 seconds    timedrift=0s;60;86400
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161757  localhost   Process httpd   0.576   0.336   PROCS OK: 14 processes with command name 'httpd'    procs=14;1:;:50;0; | procs=14
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161758  localhost   CPU Utilization 1.655   0.335   OK - user: 3.44, nice: 0.50, sys: 3.44, iowait: 2.46, irq: 0.50, softirq: 0.50 idle: 92.65  'user'=3.44 'nice'=0.50 'sys'=3.44 'softirq'=0.50 'iowait'=2.46 'irq'=0.50 'idle'=92.65
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161761  google.com  Ping    4.144   0.335   PING OK - Packet loss = 0%, RTA = 10.35 ms  rta=10.348000ms;100.000000;500.000000;0.000000 pl=0%;20;40;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496161761  localhost   Ping    4.149   0.336   PING OK - Packet loss = 0%, RTA = 0.05 ms   rta=0.054000ms;100.000000;500.000000;0.000000 pl=0%;20;40;0

grafana-nagios2influxdb

PickinA commented 7 years ago

You have changed output format from nagios to:

service_perfdata_file_template=DATATYPE::SERVICEPERFDATA\tTIMET::$TIMET$\tHOSTNAME::$HOSTNAME$\tSERVICEDESC::$SERVICEDESC$\tSERVICEPERFDATA::$SERVICEPERFDATA$\tSERVICECHECKCOMMAND::$SERVICECHECKCOMMAND$\tHOSTSTATE::$HOSTSTATE$\tHOSTSTATETYPE::$HOSTSTATETYPE$\tSERVICESTATE::$SERVICESTATE$\tSERVICESTATETYPE::$SERVICESTATETYPE$

but the format nagios2influx expects remains unchanged as

perfformat=time tag=hostname label tag=state void void void void void data

these two don't match! Perhaps nagios2influx should be more unforgiving, and report errors if time doesn't look like an epoch time, for example.

I don't know why you have altered the output from nagios, but nagios2influx doesn't support the trim::data format you have used for your fields. I suggest you use the default service_perfdata_file_template setting and get data flowing with one of the example formats, before experimenting with custom formats.

hakong commented 7 years ago

Ah, I see now. Thanks. I changed back to the default format, restarted naemon, dropped the database "naemon" and created it again, but nagios2influx isn't importing anything now.

[root@localhost bin]# ./nagios2influx -n -d 127
[  8] nagios2influx: --
[  8] nagios2influx: timereplacement=Time
[  8] nagios2influx: global_prefix=naemon
[  8] nagios2influx: output=http://localhost:8086
[  8] nagios2influx: timefactor=9
[  8] nagios2influx: username=naemon
[  8] nagios2influx: database=naemon
[  8] nagios2influx: perfdelimiter=\t
[  8] nagios2influx: password=naemon
[  8] nagios2influx: separator=
[  8] nagios2influx: debug=127
[  8] nagios2influx: perfdata=/var/lib/naemon/service-perfdata
[  8] nagios2influx: perfformat=time    tag=hostname    label   tag=state   void    void    void    void    void    data
[  8] nagios2influx: --
[ 16] nagios2influx: Delim:\t.
[ 16] nagios2influx: Column 0:time.
[ 16] nagios2influx: Column 1:tag=hostname.
[ 16] nagios2influx: Column 2:label.
[ 16] nagios2influx: Column 3:tag=state.
[ 16] nagios2influx: Column 4:void.
[ 16] nagios2influx: Column 5:void.
[ 16] nagios2influx: Column 6:void.
[ 16] nagios2influx: Column 7:void.
[ 16] nagios2influx: Column 8:void.
[ 16] nagios2influx: Column 9:data.
[  4] nagios2influx: Reading /var/lib/naemon/service-perfdata ...
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242724  localhost   Apache Statistics   0.070   0.288   (No output on stdout) stderr: execvp(/usr/lib64/nagios/plugins/check_apachestatus.pl, ...) failed. errno is 2: No such file or directory    
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242724  localhost   HTTP localhost  0.081   0.288   HTTP WARNING: HTTP/1.1 403 Forbidden - 5241 bytes in 0.064 second response time time=0.064434s;2.000000;10.000000;0.000000 size=5241B;;;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242724  google.com  HTTPS SSL Certificate google.com    0.167   0.287   OK - Certificate 'google.com' will expire on 2017-08-10 11:39 +0000/GMT.    
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242724  localhost   HTTPS SSL Certificate localhost 0.194   0.288   OK - Certificate 'localhost.localdomain' will expire on 2018-05-30 14:18 +0000/GMT. 
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242724  localhost   HTTPS localhost 0.200   0.288   HTTP WARNING: HTTP/1.1 403 Forbidden - 5241 bytes in 0.150 second response time time=0.149761s;2.000000;10.000000;0.000000 size=5241B;;;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242724  localhost   SSH Connectivity    0.217   0.288   SSH OK - OpenSSH_6.6.1 (protocol 2.0)   time=0.203221s;;;0.000000;10.000000
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242724  localhost   Reverse Lookup  0.251   0.288   DNS CRITICAL - expected 'localhost.' but got 'name = localhost.'    
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242724  localhost   Forward Lookup  0.258   0.288   DNS OK: 0.242 seconds response time. localhost returns 127.0.0.1    time=0.242316s;;;0.000000
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242724  localhost   Nagios Ghost Services   0.269   0.288   Unable to locate logfile for parsing    
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242724  localhost   Nagios config up-to-date    0.339   0.288   Unknown - Error running script: [Errno 2] No such file or directory: '/etc/nagios/nagios.cfg'   
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242724  localhost   Disk Usage  0.343   0.288   DISK OK   ...   /dev/shm=0B;460763136;486361088;0;511959040 /=3021668352B;7717729075;8146491802;0;8575254528 /dev=0B;450857779;475905434;0;500953088 /sys/fs/cgroup=0B;460763136;486361088;0;511959040 /run/user/0=0B;92152627;97272218;0;102391808 /boot=192581632B;956930458;1010093261;0;1063256064 /run=7016448B;460763136;486361088;0;511959040
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242724  localhost   Nagios Configuration    0.365   0.288   Could not validate Nagios configuration.    warnings=0 errors=1
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242724  localhost   Process crond   0.421   0.288   PROCS OK: 1 process with command name 'crond'   procs=1;1:;:10;0; | procs=1
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242724  localhost   Process nagios  0.429   0.288   PROCS WARNING: 0 processes with command name 'nagios'   procs=0;1:;:10;0; | procs=0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242724  localhost   Load    0.455   0.288   OK - load average: 0.10, 0.21, 0.23 load1=0.100;15.000;30.000;0; load5=0.210;15.000;30.000;0; load15=0.230;15.000;30.000;0;
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242724  localhost   Running Processes   0.479   0.288   PROCS OK: 165 processes procs=165;500;1000;0; | procs=165
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242724  localhost   Process httpd   0.503   0.288   PROCS OK: 13 processes with command name 'httpd'    procs=13;1:;:50;0; | procs=13
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242724  localhost   Uptime  0.513   0.288   Ok, 127.0.0.1 uptime is  14:58:44 up 27 min,  1 user,  load average: 0.10, 0.21, 0.23   
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242724  localhost   Swap Usage  0.518   0.288   SWAP OK - 100% free (1023 MB out of 1023 MB)    swap=1023MB;511;204;0;1023
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242724  localhost   Process npcd    0.537   0.288   PROCS OK: 1 process with command name 'npcd'    procs=1;1:;:10;0; | procs=1
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242724  localhost   Time    0.541   0.288   OK - timedrift=0 seconds    timedrift=0s;60;86400
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242724  google.com  HTTPS google.com    0.571   0.287   HTTP OK: HTTP/1.1 200 OK - 12426 bytes in 0.543 second response time    time=0.543394s;2.000000;10.000000;0.000000 size=12426B;;;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242725  localhost   CPU Utilization 1.634   0.288   OK - user: 3.33, nice: 0.50, sys: 4.27, iowait: 2.38, irq: 0.50, softirq: 0.50 idle: 92.00  'user'=3.33 'nice'=0.50 'sys'=4.27 'softirq'=0.50 'iowait'=2.38 'irq'=0.50 'idle'=92.00
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242726  localhost   Apache Statistics   0.070   0.908   (No output on stdout) stderr: execvp(/usr/lib64/nagios/plugins/check_apachestatus.pl, ...) failed. errno is 2: No such file or directory    
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242726  localhost   HTTP localhost  0.071   0.908   HTTP WARNING: HTTP/1.1 403 Forbidden - 5241 bytes in 0.007 second response time time=0.007263s;2.000000;10.000000;0.000000 size=5241B;;;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242727  google.com  HTTPS SSL Certificate google.com    0.167   0.908   OK - Certificate 'google.com' will expire on 2017-08-10 11:39 +0000/GMT.    
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242727  localhost   HTTPS SSL Certificate localhost 0.202   0.908   OK - Certificate 'localhost.localdomain' will expire on 2018-05-30 14:18 +0000/GMT. 
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242727  localhost   HTTPS localhost 0.205   0.909   HTTP WARNING: HTTP/1.1 403 Forbidden - 5241 bytes in 0.168 second response time time=0.168391s;2.000000;10.000000;0.000000 size=5241B;;;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242727  localhost   Forward Lookup  0.219   0.908   DNS OK: 0.210 seconds response time. localhost returns 127.0.0.1    time=0.209986s;;;0.000000
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242727  localhost   SSH Connectivity    0.235   0.909   SSH OK - OpenSSH_6.6.1 (protocol 2.0)   time=0.180747s;;;0.000000;10.000000
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242727  localhost   Reverse Lookup  0.257   0.909   DNS CRITICAL - expected 'localhost.' but got 'name = localhost.'    
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242727  localhost   Nagios Ghost Services   0.262   0.909   Unable to locate logfile for parsing    
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242727  localhost   Nagios config up-to-date    0.319   0.909   Unknown - Error running script: [Errno 2] No such file or directory: '/etc/nagios/nagios.cfg'   
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242727  google.com  HTTP google.com 0.318   0.908   HTTP OK: HTTP/1.1 200 OK - 12356 bytes in 0.253 second response time    time=0.253451s;2.000000;10.000000;0.000000 size=12356B;;;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242727  localhost   Disk Usage  0.348   0.908   DISK OK   ...   /dev/shm=0B;460763136;486361088;0;511959040 /=3021656064B;7717729075;8146491802;0;8575254528 /dev=0B;450857779;475905434;0;500953088 /sys/fs/cgroup=0B;460763136;486361088;0;511959040 /run/user/0=0B;92152627;97272218;0;102391808 /boot=192581632B;956930458;1010093261;0;1063256064 /run=7016448B;460763136;486361088;0;511959040
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242727  localhost   Nagios Configuration    0.373   0.909   Could not validate Nagios configuration.    warnings=0 errors=1
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242727  localhost   Process httpd   0.410   0.909   PROCS OK: 13 processes with command name 'httpd'    procs=13;1:;:50;0; | procs=13
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242727  localhost   Load    0.454   0.909   OK - load average: 0.10, 0.20, 0.23 load1=0.100;15.000;30.000;0; load5=0.200;15.000;30.000;0; load15=0.230;15.000;30.000;0;
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242727  localhost   Running Processes   0.464   0.909   PROCS OK: 167 processes procs=167;500;1000;0; | procs=167
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242727  localhost   Process crond   0.466   0.909   PROCS OK: 1 process with command name 'crond'   procs=1;1:;:10;0; | procs=1
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242727  localhost   Process nagios  0.513   0.909   PROCS WARNING: 0 processes with command name 'nagios'   procs=0;1:;:10;0; | procs=0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242727  localhost   Uptime  0.517   0.909   Ok, 127.0.0.1 uptime is  14:58:47 up 27 min,  1 user,  load average: 0.10, 0.20, 0.23   
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242727  localhost   Swap Usage  0.521   0.909   SWAP OK - 100% free (1023 MB out of 1023 MB)    swap=1023MB;511;204;0;1023
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242727  localhost   Process npcd    0.528   0.909   PROCS OK: 1 process with command name 'npcd'    procs=1;1:;:10;0; | procs=1
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242727  localhost   Time    0.532   0.909   OK - timedrift=0 seconds    timedrift=0s;60;86400
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242727  google.com  HTTPS google.com    0.581   0.908   HTTP OK: HTTP/1.1 200 OK - 13704 bytes in 0.512 second response time    time=0.512228s;2.000000;10.000000;0.000000 size=13704B;;;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242728  localhost   Ping    4.147   0.909   PING OK - Packet loss = 0%, RTA = 0.07 ms   rta=0.072000ms;100.000000;500.000000;0.000000 pl=0%;20;40;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242728  google.com  Ping    4.165   0.908   PING OK - Packet loss = 0%, RTA = 8.69 ms   rta=8.693000ms;100.000000;500.000000;0.000000 pl=0%;20;40;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242728  localhost   CPU Utilization 1.635   0.908   OK - user: 3.41, nice: 0.50, sys: 3.41, iowait: 0.50, irq: 0.50, softirq: 0.50 idle: 94.67  'user'=3.41 'nice'=0.50 'sys'=3.41 'softirq'=0.50 'iowait'=0.50 'irq'=0.50 'idle'=94.67
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242731  google.com  Ping    4.143   0.908   PING OK - Packet loss = 0%, RTA = 15.52 ms  rta=15.524000ms;100.000000;500.000000;0.000000 pl=0%;20;40;0
[ 32] nagios2influx: [SERVICEPERFDATA]  1496242731  localhost   Ping    4.148   0.909   PING OK - Packet loss = 0%, RTA = 0.08 ms   rta=0.076000ms;100.000000;500.000000;0.000000 pl=0%;20;40;0
[root@localhost bin]# 

I tailed the influxdb journal, but nothing showed up. No connection is being made.

[root@localhost bin]# journalctl -u influxdb.service -f -n 0
-- Logs begin at Wed 2017-05-31 14:31:26 GMT. --
PickinA commented 7 years ago

You've not supplied the service data format, but it still doesn't match the format expected by nagios2influx, otherwise you'd have [ 64] debug line showing a successful decode. I'm guessing it's the '[SERVICEPERFDATA]' at the start of the line. Try removing this field, or add an addition void at the start of the format line.

hakong commented 7 years ago

Yeah, I figured it out, think I got the hang of this. Thanks for the help!