LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Qmail queue Monitoring error in Nagios (https://www.linuxquestions.org/questions/linux-general-1/qmail-queue-monitoring-error-in-nagios-917669/)

mahi_nix 12-08-2011 12:25 AM

Qmail queue Monitoring error in Nagios
 
Hello Frnds,

I have one Qmail server installed in the organizations and i want to monitor it via Nagios useing NRPE2. i run below command on Nagios to monitor it.

Quote:

/usr/local/libexec/nagios/check_nrpe2 -H NAMEOFQMAILSERVER -c check_qmailq
But it shows below error message.

Quote:

check_qmailq CRITICAL: Unable to open directory '/var/qmail/queue/local': Permission denied
I am not able to understand what is the reason behind this error message. it was working before but suddenly stops working.

Please help me to sorted out this issue.

Thank You in Advance,

coolsg5636 12-08-2011 01:07 AM

You can start with running a check on /var/qmail/queue/local directory on qmail server using 'ls -l'.

mahi_nix 12-09-2011 01:54 AM

Hello Coolsg5636,

Thanks for the reply.

The issue is resolved. It was an directory permission issue of qmail and i just changed the directory permission of '/var/qmail/queue/local' to 755, i also added nagios user in qmail group and its working for me. Now i am able to run check_qmailq command successfully on nagios and it shows me qmail queues.

Thank You,


All times are GMT -5. The time now is 10:47 AM.