[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

monit file for sendmail

From: Derek Wooldridge
Subject: monit file for sendmail
Date: Mon, 13 Jun 2016 07:05:10 +0000

I seem to be unable to correctly monitor the NTP service on RedHat 7x ,  (system)


My file is currently


cat /etc/monit.d/sendmailmonitor


check process sendmail with pidfile /var/run/

start program = "/usr/bin/systemctl start sendmail.service"

stop program = "/usr/bin/systemctl stop sendmail.service"



I get the following error in the /var/log/monit.log


[BST Jun  9 11:52:30] error    : 'ntpd' process is not running

[BST Jun  9 11:52:30] info     : 'ntpd' trying to restart

[BST Jun  9 11:52:30] info     : 'ntpd' start: /usr/bin/systemctl

[BST Jun  9 11:53:00] error    : 'ntpd' failed to start (exit status 0) -- no output


What am I missing? the stop and start commands run from the cli


Redirecting to /bin/systemctl status  sendmail.service

● sendmail.service - Sendmail Mail Transport Agent

   Loaded: loaded (/usr/lib/systemd/system/sendmail.service; enabled; vendor preset: disabled)

   Active: active (running) since Fri 2016-06-10 14:31:10 BST; 12s ago

  Process: 21293 ExecStart=/usr/sbin/sendmail -bd $SENDMAIL_OPTS $SENDMAIL_OPTARG (code=exited, status=0/SUCCESS)

  Process: 21287 ExecStartPre=/etc/mail/make aliases (code=exited, status=0/SUCCESS)

  Process: 21286 ExecStartPre=/etc/mail/make (code=exited, status=0/SUCCESS)

Main PID: 21296 (sendmail)

   CGroup: /system.slice/sendmail.service

           └─21296 sendmail: accepting connections


Jun 10 14:31:10 sendmail[21296]: starting daemon (8.14.7): SMTP+address@hidden:00:00


Derek Wooldridge


The content of this email is private. If you think you may have received it by mistake, please notify Simplyhealth immediately by telephoning us on 0300 100 1030, or emailing address@hidden then destroy the original email without using, copying or distributing it.

The content is non binding and is subject to contract unless specifically stated otherwise. Any views expressed are not necessarily those of Simplyhealth.

Simplyhealth is a trading name of Simplyhealth Access and Totally Active Limited, both are subsidiaries of Simplyhealth Group Limited, registered in England and Wales No. 5445654. The registered office for all Simplyhealth companies is Hambleden House, Waterloo Court, Andover, Hampshire SP10 1LQ.

Simplyhealth Access is registered in England and Wales, No.183035 and is authorised by the Prudential Regulation Authority and regulated by the Financial Conduct Authority and the Prudential Regulation Authority.

AXA PPP Administration Services Limited is registered in England and Wales, No. 5961472 and is an appointed representative of Simplyhealth Access.

Totally Active Limited is registered in England and Wales, No. 4932453 and is authorised and regulated by the Financial Conduct Authority for consumer credit activities. Totally Active Limited is an Appointed Representative of Fish Administration Limited, who are authorised and regulated by the Financial Conduct Authority, for insurance mediation activities.

Calls may be recorded and monitored for training and quality assurance purposes.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]