Good morning,
I wanted to make a question in relation to check_nrpe.
In my monitoring had the error Error-could not complete SSL handshake.
I solved this error by editing the xinetd.conf, but before fix, I had the following problem:
In the /var /log /messages showed:
Jan 11 16:48:55 keronte xinetd[20990]: START: nrpe pid=15507 from=192.168.247.128
Jan 11 16:49:39 keronte nrpe[15455]: Error: Could not complete SSL handshake. 5
Jan 11 16:49:56 keronte xinetd[20990]: START: nrpe pid=15512 from=192.168.247.128
Jan 11 16:50:17 keronte xinetd[20990]: EXIT: nrpe status=0 pid=15455 duration=160(sec)
Jan 11 16:50:23 keronte xinetd[20990]: EXIT: nrpe status=0 pid=15456 duration=166(sec)
Jan 11 16:50:30 keronte xinetd[20990]: START: nrpe pid=15513 from=192.168.247.128
Jan 11 16:50:55 keronte xinetd[20990]: START: nrpe pid=15514 from=192.168.247.128
Jan 11 16:51:12 keronte xinetd[20990]: START: nrpe pid=15515 from=192.168.247.128
Jan 11 16:51:40 keronte xinetd[20990]: START: nrpe pid=15518 from=192.168.247.128
Jan 11 16:52:00 keronte xinetd[20990]: FAIL: nrpe per_source_limit from=192.168.247.128
Jan 11 16:55:06 keronte kernel: pam_timestamp_c invoked oom-killer: gfp_mask=0x201d2, order=0, oomkilladj=0
Jan 11 16:55:07 keronte kernel:
Jan 11 16:55:07 keronte kernel: Call Trace:
Jan 11 16:55:08 keronte kernel: [<ffffffff800cb2ee>] out_of_memory+0x8e/0x2f3
Jan 11 16:55:08 keronte kernel: [<ffffffff8000f691>] __alloc_pages+0x27f/0x308
Jan 11 16:55:08 keronte kernel: [<ffffffff80013081>] __do_page_cache_readahead+0x96/0x17b
Jan 11 16:55:08 keronte kernel: [<ffffffff800139be>] filemap_nopage+0x14c/0x360
Jan 11 16:55:08 keronte kernel: [<ffffffff80008972>] __handle_mm_fault+0x1fd/0x103b
Jan 11 16:55:08 keronte kernel: [<ffffffff8006719c>] do_page_fault+0x499/0x842
Jan 11 16:55:08 keronte kernel: [<ffffffff8005ddf9>] error_exit+0x0/0x84
Jan 11 16:55:08 keronte kernel:
Jan 11 16:55:08 keronte kernel: Mem-info:
Jan 11 16:55:08 keronte kernel: Node 0 DMA per-cpu:
Jan 11 16:55:08 keronte kernel: cpu 0 hot: high 0, batch 1 used:0
Jan 11 16:55:08 keronte kernel: cpu 0 cold: high 0, batch 1 used:0
Jan 11 16:55:08 keronte kernel: Node 0 DMA32 per-cpu:
Jan 11 16:55:08 keronte kernel: cpu 0 hot: high 186, batch 31 used:26
Jan 11 16:55:08 keronte kernel: cpu 0 cold: high 62, batch 15 used:60
Jan 11 16:55:08 keronte kernel: Node 0 Normal per-cpu: empty
Jan 11 16:55:08 keronte kernel: Node 0 HighMem per-cpu: empty
Jan 11 16:55:08 keronte kernel: Free pages: 6948kB (0kB HighMem)
Jan 11 16:55:08 keronte kernel: Active:126982 inactive:109862 dirty:0 writeback:0 unstable:0 free:1737 slab:5732 mapped-file:8 mapped-anon:23733
0 pagetables:6242
Jan 11 16:55:08 keronte kernel: Node 0 DMA free:2948kB min:36kB low:44kB high:52kB active:0kB inactive:0kB present:9684kB pages_scanned:0 all_un
reclaimable? yes
Jan 11 16:55:08 keronte kernel: lowmem_reserve[]: 0 994 994 994
Jan 11 16:55:08 keronte kernel: Node 0 DMA32 free:4000kB min:4012kB low:5012kB high:6016kB active:507928kB inactive:439448kB present:1017952kB p
ages_scanned:3644398 all_unreclaimable? yes
Jan 11 16:55:08 keronte kernel: lowmem_reserve[]: 0 0 0 0
Jan 11 16:55:08 keronte kernel: Node 0 Normal free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclai
mable? no
Jan 11 16:55:08 keronte kernel: lowmem_reserve[]: 0 0 0 0
Jan 11 16:55:08 keronte kernel: Node 0 HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_u
nreclaimable? no
Jan 11 16:55:08 keronte kernel: lowmem_reserve[]: 0 0 0 0
Jan 11 16:55:08 keronte kernel: Node 0 DMA: 5*4kB 4*8kB 5*16kB 2*32kB 3*64kB 2*128kB 1*256kB 0*512kB 2*1024kB 0*2048kB 0*4096kB = 2948kB
Jan 11 16:52:51 keronte xinetd[20990]: FAIL: nrpe per_source_limit from=192.168.247.128
Jan 11 16:55:08 keronte kernel: Node 0 DMA32: 60*4kB 0*8kB 31*16kB 12*32kB 1*64kB 0*128kB 1*256kB 1*512kB 0*1024kB 1*2048kB 0*4096kB = 4000kB
Jan 11 16:55:08 keronte xinetd[20990]: FAIL: nrpe per_source_limit from=192.168.247.128
Jan 11 16:55:08 keronte kernel: Node 0 Normal: empty
Jan 11 16:55:08 keronte xinetd[20990]: FAIL: nrpe per_source_limit from=192.168.247.128
Jan 11 16:55:08 keronte kernel: Node 0 HighMem: empty
Jan 11 16:55:08 keronte xinetd[20990]: FAIL: nrpe per_source_limit from=192.168.247.128
Jan 11 16:55:08 keronte nrpe[15504]: Error: Could not complete SSL handshake. 5
Jan 11 16:55:08 keronte nrpe[15507]: Error: Could not complete SSL handshake. 5
Jan 11 16:55:08 keronte nrpe[15506]: Error: Could not complete SSL handshake. 5
Jan 11 16:55:08 keronte nrpe[15495]: Error: Could not complete SSL handshake. 5
Jan 11 16:55:08 keronte kernel: 32 pagecache pages
Jan 11 16:55:08 keronte nrpe[15499]: Error: Could not complete SSL handshake. 5
Jan 11 16:55:08 keronte nrpe[15518]: Error: Could not complete SSL handshake. 5
Jan 11 16:55:08 keronte nrpe[15515]: Error: Could not complete SSL handshake. 5
Jan 11 16:55:08 keronte nrpe[15512]: Error: Could not complete SSL handshake. 5
Jan 11 16:55:08 keronte nrpe[15513]: Error: Could not complete SSL handshake. 5
Jan 11 16:55:08 keronte nrpe[15514]: Error: Could not complete SSL handshake. 5
Jan 11 16:55:08 keronte kernel: Swap cache: add 108455018, delete 108455018, find 202711122/216719708, race 0+206
Jan 11 16:55:08 keronte xinetd[20990]: EXIT: nrpe status=0 pid=15507 duration=374(sec)
Jan 11 16:55:08 keronte kernel: Free swap = 0kB
Jan 11 16:55:08 keronte xinetd[20990]: EXIT: nrpe status=0 pid=15512 duration=316(sec)
Jan 11 16:55:09 keronte kernel: Total swap = 786424kB
In this moment (16:55)tibco process shutdown.
Is it possible that this error Error-could not complete SSL handshake would cause?
Is it possible that NAgios, shutdown the proccess?
Thank you very much for you time.
Is possible???
-
huanhuan7777
- Posts: 19
- Joined: Thu Nov 07, 2013 12:05 am
Re: Is possible???
Hi
Swap size recommended settings
M = Memory Size ,S = Swap Size
if M < 2 , S = M * 2
if 2 ≦ M < 8, S = M
if 8 ≦ M < 64 , S = M * 0.5
if 64 ≦ M , S = 4
Another,reboot you server then try it.
Swap size recommended settings
M = Memory Size ,S = Swap Size
if M < 2 , S = M * 2
if 2 ≦ M < 8, S = M
if 8 ≦ M < 64 , S = M * 0.5
if 64 ≦ M , S = 4
Another,reboot you server then try it.
Re: Is possible???
I would be surprised in nrpe was using that much swap. Your server is either short on ram or you have some runaway processes.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.