LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-08-2011, 12:25 AM   #1
mahi_nix
Member
 
Registered: Aug 2010
Distribution: CentOS, RHEL, Ubuntu,
Posts: 154

Rep: Reputation: 16
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,
 
Old 12-08-2011, 01:07 AM   #2
coolsg5636
Member
 
Registered: Sep 2011
Location: Pune,India
Distribution: RHEL ,CentOS, Fedora
Posts: 100

Rep: Reputation: 25
You can start with running a check on /var/qmail/queue/local directory on qmail server using 'ls -l'.
 
Old 12-09-2011, 01:54 AM   #3
mahi_nix
Member
 
Registered: Aug 2010
Distribution: CentOS, RHEL, Ubuntu,
Posts: 154

Original Poster
Rep: Reputation: 16
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,
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Nagios 403 Forbidden error in monitoring localhost mtimbro Linux - Software 4 06-12-2008 01:42 PM
Nagios monitoring panel error? dwarf007 Linux - Software 2 12-13-2005 12:02 PM
qmail +qmail-qfilter + qmail-scanner-queue+qmail-user-masq.pl problem countcobolt Linux - Networking 0 07-08-2004 11:29 AM
Deleted qmail queue /var/qmail/queue tris Linux - Software 0 10-24-2003 11:52 PM
qmail queue buster Linux - Networking 0 10-04-2002 03:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration