Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Nov 2010
    Posts
    5

    Question Monitoring additional services

    Hi

    Fairly new to using Linux and I'm trying to monitor some additional services in the WHM. I have done some searches on here and managed to get so far but I'm now stuck.

    What I have setup so far:

    In the WHM service manager I have the following new services being monitored:



    In service status they are both listed as "up":



    However when they fall over they do not get restarted, I suspect the commands I have set-up are incorrect, I have set-up the following:

    In /etc/checksrv.d/

    I have created two files:

    muninnode

    which contains:

    service[Munin]=x,x,x,/etc/init.d/munin-node restart,munin-node,root

    and

    crashplan

    which contains:

    service[CrashPlan]=x,x,x,/etc/init.d/crashplan restart,java,root


    Can anybody spot what I'm doing wrong with them? Whether they are up or down they get reported as being "up" and if they are down they don't get restarted (although that may be because of the above problem).

    Any help appreciated
    Attached Thumbnails Attached Thumbnails Monitoring additional services-smanager.jpg   Monitoring additional services-sstatus.jpg  

  2. #2
    Member
    Join Date
    Nov 2010
    Posts
    5

    Default Re: Monitoring additional services

    Back to the top

  3. #3
    Member
    Join Date
    Nov 2010
    Posts
    5

    Default Re: Monitoring additional services

    Still nobody out there that knows how to sort this?

  4. #4
    cPanel Staff cPanelMichael's Avatar
    Join Date
    Apr 2011
    Posts
    1,346
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Monitoring additional services

    Hello Mark

    You wrote:

    I have created two files:

    muninnode

    which contains:

    service[Munin]=x,x,x,/etc/init.d/munin-node restart,munin-node,root
    This is mostly correct, however the following line will need to be adjusted:

    Code:
    service[Munin]=x,x,x,/etc/init.d/munin-node restart,munin-node,root
    TO

    Code:
    service[muninnode]=x,x,x,/etc/init.d/munin-node restart,munin-node,root
    The service name needs to match the name of the file that you created in the /etc/chkserv.d directory. Once you have made the change, you can monitor the results in the Chkservd log:

    /var/log/chkservd.log

    Thank you
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists - Documentation - Migration Services
    -- cPanelMichael - Migration Specialist, Technical Analyst, cPanel Technical Support

  5. #5
    Member
    Join Date
    Nov 2010
    Posts
    5

    Default Re: Monitoring additional services

    Thanks, I'll give that a go! Much appreciated!

  6. #6
    Member
    Join Date
    Nov 2010
    Posts
    5

    Default Re: Monitoring additional services

    Thanks for your help, that seems to be working as far as I can tell!

Similar Threads & Tags
Similar threads

  1. monitoring of services like HTTP, SMTP, etc.
    By claudius in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 10-28-2003, 04:39 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube