Page 1 of 1

Mailwatchd

Posted: Mon Jun 23, 2014 4:56 am
by search4u2003
Hi Friends,

I want to monitor mailwatchd service with nagios tried googling all around but found nothing is there anyway i can monitor it with nrpe.

Regards
Vicky

Re: Mailwatchd

Posted: Mon Jun 23, 2014 10:00 am
by slansing
Is it a service which runs on a *nix/windows system? If so, you likely can with the standard nagios plugins package that is included in most NRPE installation documentation, if you can give us some more info on this that would be helpful.

Re: Mailwatchd

Posted: Mon Jun 23, 2014 8:18 pm
by chris.fixter
this is how I monitor distributed nagios services.
from central nagios server:

Code: Select all

# i use multiple ports, you probably don't need this additional command if youhave check_nrpe ready.
define command{
        command_name    check_nrpe_l
        command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666-c $ARG1$
        }

define service{
       use                     generic-service
       host_name               nagios_mega
       service_description     -Nagios Running
       check_command           check_nrpe_l!check_nagios_proc
       }
add this to the remote host nrpe config:

Code: Select all

command[check_nagios_proc]=/usr/local/nagios/libexec/check_procs -c 1: -C nagios

Re: Mailwatchd

Posted: Tue Jun 24, 2014 4:11 pm
by sreinhardt
What aspects of the daemon are you looking to monitor? If you are just looking to verify the service is running, that is easily done. However if you are looking for more indepth details such as internal queues and such, we would have to find a plugin for that specifically.

Re: Mailwatchd

Posted: Tue Jun 24, 2014 11:40 pm
by search4u2003
We are running Baricade MX service, which till date was running fine.
We have observed that from last few days mailwatchd service is going down automatically which is creating pain for me.
Is there any specific script or command that can help me resolve this issue.

Regards
Vicky

Re: Mailwatchd

Posted: Wed Jun 25, 2014 1:32 am
by Box293
search4u2003 wrote:We are running Baricade MX service, which till date was running fine.
Is this a hardware appliance in your environment or is it installed on a server? If it is installed on a server, are you already monitoring that server using Nagios (and what is the server OS name)?