I am having issue on intermittent connection on Nagios XI server in which one of our linux server after up to date system been caused this issue.
I trying to install latest nrpe 3.2.1 using Source but still come out same issue.
From localhost able to provide the output.
Code: Select all
[root@server network-scripts]# /usr/local/nagios/libexec/check_nrpe -H localhost
NRPE v3.2.1
[root@server network-scripts]# /usr/local/nagios/libexec/check_cpu_stats2.sh
CPU STATISTICS OK : user=0.51%, system=0.00%, iowait=0.00%, nice=0.00%, steal=0.00%, cpu_usage=0.51% |TotalCpuUsage=0.51%;80;90;0; CpuUser=0.51%;0;0;0; CpuSystem=0.00%;0;0;0; CpuIowait=0.00%;0;0;0; CpuNice=0.00%;0;0;0; CpuSteal=0.00%;0;0;0;
Code: Select all
[nagios@imsvm ~]$ /usr/local/nagios/libexec/check_nrpe -H 10.90.10.115 -t 30 -c check_disk -a 15% 10% /
DISK OK - free space: / 41 GB (90% inode=99%);| /=4GB;41;44;0;49
[nagios@imsvm ~]$ /usr/local/nagios/libexec/check_nrpe -H 10.90.10.115 -t 30 -c check_cpu2 -a 85 90
CPU STATISTICS OK : user=0.50%, system=0.50%, iowait=0.00%, nice=0.00%, steal=0.00%, cpu_usage=1.00% |TotalCpuUsage=1.00%;85;90;0; CpuUser=0.50%;0;0;0; CpuSystem=0.50%;0;0;0; CpuIowait=0.00%;0;0;0; CpuNice=0.00%;0;0;0; CpuSteal=0.00%;0;0;0;