Page 3 of 3

Re: Check_Eximailqueue query returned no output!

Posted: Wed Mar 15, 2017 12:18 am
by rlinux57
I have changed it as per your request. Than i go to the nagios user and run following command.

Code: Select all

su - nagios
Last login: Wed Mar 15 05:09:28 UTC 2017 on pts/0
-bash-4.2$ /usr/bin/sudo -u root /usr/sbin/exim -bpc
21

Re: Check_Eximailqueue query returned no output!

Posted: Wed Mar 15, 2017 4:21 pm
by ssax
Ok, try re-running the check from the XI server, what is it showing?

Re: Check_Eximailqueue query returned no output!

Posted: Thu Mar 16, 2017 12:51 am
by rlinux57
It's nagios core and i resinstalled nrpe and its plugins from source code, now it is working. But i don't know why it's not working on centos-7 using epel repo.

Re: Check_Eximailqueue query returned no output!

Posted: Thu Mar 16, 2017 1:45 pm
by ssax
Sorry, my mistake about the XI vs Core thing.

Did you try it again after you got the sudoers file setup properly or did you just re-install before testing?

Re: Check_Eximailqueue query returned no output!

Posted: Mon Mar 20, 2017 12:36 am
by rlinux57
I re-tried on my other VPS client, it again shows same error. I don't know why it gives error when i install through yum.

Re: Check_Eximailqueue query returned no output!

Posted: Mon Mar 20, 2017 9:15 am
by dwhitfield
What version did you install from source? nrpe-2.15-7.el7.x86_64 appears to be the version from epel.

If they are different versions, is it ok to go ahead and lock this up or do you want to dig a little deeper?