Open NurMT opened 2 years ago
What about the environment? Is there a running Naemon with a livestatus socket? Is OMD involved? What does config.gcfg look like?
root@pkl-smkn1cmi:/home/nur# systemctl status nagios
● nagios.service - Nagios Core 4.4.7
Loaded: loaded (/lib/systemd/system/nagios.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2022-09-01 12:41:25 WIB; 3 days ago
Docs: https://www.nagios.org/documentation
Main PID: 3376 (nagios)
Tasks: 6 (limit: 1105)
CGroup: /system.slice/nagios.service
├─3376 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
├─3377 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─3378 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─3379 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─3380 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
└─3381 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
Sep 05 10:56:36 pkl-smkn1cmi check_nrpe[14165]: Remote myip does not support version 3/4 packets
Sep 05 10:56:36 pkl-smkn1cmi check_nrpe[14165]: Remote myip accepted a version 2 packet
Sep 05 10:56:40 pkl-smkn1cmi check_nrpe[14193]: Remote myip does not support version 3/4 packets
Sep 05 10:56:40 pkl-smkn1cmi check_nrpe[14193]: Remote myip accepted a version 2 packet
Sep 05 10:56:42 pkl-smkn1cmi check_nrpe[14200]: Remote myip does not support version 3/4 packets
Sep 05 10:56:42 pkl-smkn1cmi check_nrpe[14200]: Remote myip accepted a version 2 packet
Sep 05 10:56:44 pkl-smkn1cmi check_nrpe[14215]: Remote myip does not support version 3/4 packets
Sep 05 10:56:44 pkl-smkn1cmi check_nrpe[14215]: Remote myip accepted a version 2 packet
Sep 05 10:56:51 pkl-smkn1cmi check_nrpe[14258]: Remote myip does not support version 3/4
[main]
NagiosSpoolfileFolder = "/usr/local/nagios/var/spool/nagfluxperfdata"
NagiosSpoolfileWorker = 1
InfluxWorker = 2
MaxInfluxWorker = 5
DumpFile = "nagflux.dump"
NagfluxSpoolfileFolder = "/usr/local/nagios/var/nagflux"
FieldSeparator = "&"
BufferSize = 10000
FileBufferSize = 65536
DefaultTarget = "all"
[Livestatus]
Type = "tcp"
Address = "myip:6557"
MinutesToWait = 2
Version = "Nagios"
[Log]
LogFile = ""
MinSeverity = "INFO"
[InfluxDBGlobal]
CreateDatabaseIfNotExists = true
NastyString = ""
NastyStringToReplace = ""
HostcheckAlias = "hostcheck"
[InfluxDB "nagflux"]
Enabled = true
Version = 1.0
Address = "http://127.0.0.1:8086"
Arguments = "precision=ms&u=root&p=root&db=nagflux"
StopPullingDataIfDown = true
[InfluxDB "fast"]
Enabled = false
Version = 1.0
Address = "http://127.0.0.1:8086"
Arguments = "precision=ms&u=root&p=root&db=fast"
StopPullingDataIfDown = false
here is my config.gcfg