snipped from an strace I did. Not sure why it seems like the version and status info is working fine here.
Code: Select all
[pid 31167] mmap(0x7f736cfd1000, 6792, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f736cfd1000
[pid 31167] close(16) = 0
[pid 31167] mprotect(0x7f736cfcf000, 4096, PROT_READ) = 0
[pid 31167] mprotect(0x7f736d1d7000, 4096, PROT_READ) = 0
[pid 31167] munmap(0x7f736fc25000, 35494) = 0
[pid 31167] socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 16
[pid 31167] connect(16, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("SCRUBBED")}, 16) = 0
[pid 31167] poll([{fd=16, events=POLLOUT}], 1, 0) = 1 ([{fd=16, revents=POLLOUT}])
[pid 31167] sendto(16, "\334\241\1\0\0\1\0\0\0\0\0\0\3api\6nagios\3org\0\0\1\0\1", 32, MSG_NOSIGNAL, NULL, 0) = 32
[pid 31167] poll([{fd=16, events=POLLIN}], 1, 5000) = 1 ([{fd=16, revents=POLLIN}])
[pid 31167] ioctl(16, FIONREAD, [66]) = 0
[pid 31167] recvfrom(16, "\334\241\201\200\0\1\0\2\0\0\0\0\3api\6nagios\3org\0\0\1\0\1\300\f\0\5\0\1\0\0\343\340\0\6\3vs1\300\20\300,\0\1\0\1\0\0[l\0\4`~~\237", 1024, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("SCRUBBED")}, [16]) = 66
[pid 31167] close(16) = 0
[pid 31167] socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 16
[pid 31167] fcntl(16, F_GETFL) = 0x2 (flags O_RDWR)
[pid 31167] fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 31167] connect(16, {sa_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("96.126.126.159")}, 16) = -1 EINPROGRESS (Operation now in progress)
[pid 31167] select(17, [16], [16], NULL, {2, 0}) = 1 (out [16], left {1, 961502})
[pid 31167] getsockopt(16, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
[pid 31167] select(17, NULL, [16], NULL, {2, 0}) = 1 (out [16], left {1, 999998})
[pid 31167] sendto(16, "POST /versioncheck/ HTTP/1.0\r\nUser-Agent: Nagios/4.3.4\r\nConnection: close\r\nHost: api.nagios.org\r\nContent-Type: application/x-www-form-urlencoded\r\nContent-Length: 72\r\n\r\nv=1&product=nagios&tinycheck=1&stableonly=1&uid=1512420542&version=4.3.4", 240, 0, NULL, 0) = 240
[pid 31167] select(17, [16], NULL, NULL, {2, 0}) = 1 (in [16], left {1, 890241})
[pid 31167] recvfrom(16, "HTTP/1.1 200 OK\r\nDate: Tue, 05 Dec 2017 18:58:21 GMT\r\nServer: Apache\r\nVary: Accept-Encoding\r\nContent-Length: 95\r\nConnection: close\r\nContent-Type: text/plain; charset=UTF-8\r\n\r\nUPDATE_AVAILABLE=0\nUPDATE_VERSION=4.3.4\nUPDATE_RELEASEDATE=2017-08-24\nPRODUCT_NAM"..., 1024, 0, NULL, NULL) = 270
[pid 31167] select(17, [16], NULL, NULL, {2, 0}) = 1 (in [16], left {1, 999960})
[pid 31167] recvfrom(16, "", 754, 0, NULL, NULL) = 0
[pid 31167] close(16) = 0
[pid 31167] write(10, "[1512500301.765769] [001.0] [pid=31167] schedule_new_event()\n", 61) = 61
[pid 31167] lseek(10, 0, SEEK_CUR) = 575099
[pid 31167] write(10, "[1512500301.765891] [008.0] [pid=31167] New Event Details:\n", 59) = 59
[pid 31167] lseek(10, 0, SEEK_CUR) = 575158
[pid 31167] write(10, "[1512500301.765974] [008.0] [pid=31167] Type: EVENT_CHECK_PROGRAM_UPDATE\n", 96) = 96
[pid 31167] lseek(10, 0, SEEK_CUR) = 575254
[pid 31167] write(10, "[1512500301.766056] [008.0] [pid=31167] High Priority: Yes\n", 73) = 73
[pid 31167] lseek(10, 0, SEEK_CUR) = 575327
[pid 31167] write(10, "[1512500301.766138] [008.0] [pid=31167] Run Time: 12-06-2017 12:48:51\n", 89) = 89
[pid 31167] lseek(10, 0, SEEK_CUR) = 575416
[pid 31167] write(10, "[1512500301.766220] [008.0] [pid=31167] Recurring: No\n", 72) = 72
[pid 31167] lseek(10, 0, SEEK_CUR) = 575488
[pid 31167] write(10, "[1512500301.766302] [008.0] [pid=31167] Event Interval: 79200\n", 75) = 75
[pid 31167] lseek(10, 0, SEEK_CUR) = 575563
[pid 31167] write(10, "[1512500301.766383] [008.0] [pid=31167] Compensate for Time Change: Yes\n", 73) = 73
[pid 31167] lseek(10, 0, SEEK_CUR) = 575636
[pid 31167] write(10, "[1512500301.766463] [008.0] [pid=31167] Event Options: 0\n", 71) = 71
[pid 31167] lseek(10, 0, SEEK_CUR) = 575707
[pid 31167] write(10, "[1512500301.766660] [008.0] [pid=31167] Event ID: 0x8c1690\n", 78) = 78
[pid 31167] lseek(10, 0, SEEK_CUR) = 575785
[pid 31167] write(10, "[1512500301.766744] [001.0] [pid=31167] add_event()\n", 52) = 52
[pid 31167] lseek(10, 0, SEEK_CUR) = 575837
[pid 31167] write(10, "[1512500301.766829] [064.1] [pid=31167] Making callbacks (type 18)...\n", 70) = 70
[pid 31167] lseek(10, 0, SEEK_CUR) = 575907
[pid 31167] write(10, "[1512500301.766911] [001.0] [pid=31167] save_status_data()\n", 59) = 59
[pid 31167] lseek(10, 0, SEEK_CUR) = 575966
[pid 31167] open("/var/spool/nagios/nagios.tmpvzMcoE", O_RDWR|O_CREAT|O_EXCL, 0600) = 16
[pid 31167] fcntl(16, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)
[pid 31167] fstat(16, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
[pid 31167] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f736fd5b000
[pid 31167] lseek(16, 0, SEEK_CUR) = 0
[pid 31167] write(16, "########################################\n# NAGIOS STATUS FILE\n#\n# THIS FILE IS AUTOMATICALLY GENERATED\n# BY NAGIOS. DO NOT MODIFY THIS FILE!\n########################################\n\ninfo {\n\tcreated=1512500301\n\tversion=4.3.4\n\tlast_update_check=15"..., 4096) = 4096
[pid 31167] write(16, "ent Users\n\tmodified_attributes=0\n\tcheck_command=check_local_users!20!50\n\tcheck_period=24x7\n\tnotification_period=24x7\n\timportance=0\n\tcheck_interval=5.000000\n\tretry_interval=1.000000\n\tevent_handler=\n\thas_been_checked=1\n\tshould_be_scheduled=1\n\tcheck_execution"..., 4096) = 4096
[pid 31167] write(16, "\timportance=0\n\tcheck_interval=5.000000\n\tretry_interval=1.000000\n\tevent_handler=\n\thas_been_checked=1\n\tshould_be_scheduled=1\n\tcheck_execution_time=0.004\n\tcheck_latency=0.000\n\tcheck_type=0\n\tcurrent_state=0\n\tlast_hard_state=0\n\tlast_event_id=0\n\tcurrent_event_id"..., 4096) = 4096