monit UI doesn't get updated with the right status

Issue #263 resolved
Harivardhan Pyaram created an issue

Even though the program exits with status 0, it shows "Execution Failed"

#Output in Debug Mode
'jboss-status' status succeeded [status=0] -- JBOSS Status:PASS                                                                    
'jboss-status' program started 

Comments (5)

  1. Harivardhan Pyaram reporter

    Also, all the services that depend on this is being shown as Initializing in monit summary and UI although the service is running and it's dependent status script passes.

    #!
    The Monit daemon 5.15_beta2 uptime: 11m
    
    Process 'mediator'                  Initializing
    Program 'mediator-status'           Initializing
    Process 'jboss'                     Running
    Program 'jboss-status'              Execution failed
    System 'host-99-185.openstacklocal' Running
    [root@host-99-185 monit-5.15_beta2]# /opt/vsd/sysmon/mediatorStatus.py
    Mediator Status: PASS
    
  2. Log in to comment