Search found 8 matches

by calcazar
Thu Jul 09, 2015 3:50 pm
Forum: Open Source Nagios Projects
Topic: check_memory nrpe Unable to read output
Replies: 13
Views: 24336

Re: check_memory nrpe Unable to read output

Please mark this issue as RESOLVED!! It was Selinux the ENTIRE TIME!! To help anyone that might be pulling out their hairs, after you disable selinux: vi //etc/sysconfig/selinux change to --> SELINUX=disabled and "RESTART" the server.... I forgot to do that, and after that it worked!!!!!!!...
by calcazar
Thu Jul 09, 2015 3:15 pm
Forum: Open Source Nagios Projects
Topic: check_memory nrpe Unable to read output
Replies: 13
Views: 24336

Re: check_memory nrpe Unable to read output

Update... So looking closely at the command.cfg, at the bottom there is the "Sample Performance Data Commands". If I understand it right, the perfdata or "performance data" is written out to /var/nagios/host-perfdata.out, is this data that is written from an executed command into...
by calcazar
Thu Jul 09, 2015 12:36 pm
Forum: Open Source Nagios Projects
Topic: check_memory nrpe Unable to read output
Replies: 13
Views: 24336

Re: check_memory nrpe Unable to read output

Jul 9 12:24:48 api ntpd[23603]: Listen normally on 2 lo 127.0.0.1 UDP 123 Jul 9 12:24:48 api ntpd[23603]: Listen normally on 3 eth0 192.168.0.19 UDP 123 Jul 9 12:24:48 api ntpd[23603]: Listen normally on 4 lo ::1 UDP 123 Jul 9 12:24:48 api ntpd[23603]: Listen normally on 5 eth0 fe80::20c:29ff:fecd:...
by calcazar
Thu Jul 09, 2015 11:57 am
Forum: Open Source Nagios Projects
Topic: check_memory nrpe Unable to read output
Replies: 13
Views: 24336

Re: check_memory nrpe Unable to read output

I edit the file on the server using vim... I've attached the nrpe.cfg..
by calcazar
Thu Jul 09, 2015 11:16 am
Forum: Open Source Nagios Projects
Topic: check_memory nrpe Unable to read output
Replies: 13
Views: 24336

Re: check_memory nrpe Unable to read output

I thought it might have been a permission issue, but I've also tried multiple combinations of permissions. 777, root:root, nagios:nagios,nrpe:nagios and possibly a couple others..... "I've also disabled selinux" [root@api ~]# ls -la /usr/lib64/nagios/plugins/check_mem -rwxr-xr-x. 1 root ro...
by calcazar
Thu Jul 09, 2015 10:54 am
Forum: Open Source Nagios Projects
Topic: check_memory nrpe Unable to read output
Replies: 13
Views: 24336

Re: check_memory nrpe Unable to read output

nrpe works just fine, when I try to connect. I went through dozens of forums, sites and downloaded every script I could find until one worked, except for the one server. Output from server to client: [root@management ~]# /usr/lib64/nagios/plugins/check_nrpe -H 192.168.0.19 NRPE v2.15 [root@managemen...
by calcazar
Thu Jul 09, 2015 9:19 am
Forum: Open Source Nagios Projects
Topic: check_memory nrpe Unable to read output
Replies: 13
Views: 24336

Re: check_memory nrpe Unable to read output

/usr/lib64/nagios/plugins/check_mem -f -w 30 -c 10 echo $? [root@api ~]# /usr/lib64/nagios/plugins/check_mem -f -w 30 -c 10 OK - 84.1% (6781584 kB) free.|TOTAL=8059740KB;;;; USED=1278156KB;5641818;7253766;; FREE=6781584KB;;;; CACHES=1026604KB;;;; [root@api ~]# echo $? 0 /usr/lib64/nagios/plugins/ch...
by calcazar
Wed Jul 08, 2015 4:37 pm
Forum: Open Source Nagios Projects
Topic: check_memory nrpe Unable to read output
Replies: 13
Views: 24336

check_memory nrpe Unable to read output

Folks, I'm having a bit of an issue getting nrpe to work with one of my servers. I have CentOS 6.6, I downloaded a check_mem file, which I've attahced. I uploaded this file to everyone of my servers, centos and ubuntu and it worked fine. I've added the file to /usr/lib64/nagios/plugins and made the ...