Jump to content

Unable to get PostFix service monitoring to work (Ubuntu 14.04)


psobel

Recommended Posts

Hey all,

 

Recently installed Pulseway on various machines to get our monitoring up and running.  Everything has worked out so far with the exception of Linux services.  I saw some past posts about them not working at one point, but a follow up thread seemed to indicate they should be expected to work now.

 

In my case, I'm running PostFix for mail, and I have included this line in my config.xml:

<Service Name="postfix" DisplayName="PostFix Mail Service" IsDaemon="true" DaemonType="SYSVINIT" Path="" StartParameters="" CanBeStopped="true" Enabled="true"/>

However, the portal displays this service as stopped.  I also tried UPSTART for the daemon type, even though I believe SYSVINIT to be the correct type.  Has anybody had any success with this?

Link to comment
Share on other sites

  • Staff

Hi,

 

 

Just tested now on CentOS 6 with :

 

<Service Name="postfix" DisplayName="Postfix Service" IsDaemon="true" DaemonType="SYSVINIT" Path="" StartParameters="" CanBeStopped="true" Enabled="true"/>

 

and works as expected.

 

Please send an email to support@pulseway.com with your config file and output of the following:

 

cat /proc/cpuinfo
uname -a
openssl -v
ldd --version
 

Regards,

Mark

Link to comment
Share on other sites

Hi Mark,

 

Thanks for the response.  It appears my config file is correct then.  Is there any way I can verify what the agent is checking (a log or something)?  Checking the status of the service seems fine (see below), and this box is very vanilla.  I haven't configured postfix in any sort of strange way.  It's just the package installed from apt.

 

$ sudo service postfix status
* postfix is running
 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...