Menu

status.cron.php does nothing

pundip
2019-07-01
2019-07-01
  • pundip

    pundip - 2019-07-01

    I tested the monitor on my own ubuntu 16.04 server and got the cron job working. I have now installed the monitor on a REHL7 server behind organisation firewall so it can access the servers it needs to monitor. Installed fine and the update via the web interface works fine and so does emailing. When I went to configure the cron jon I tested /usr/bin/php /srv/www/html/monitor/cron/status.cron.php and found it did nothing.

    So to clarify when I pressed enter it returns nothing and goes back to prompt and nothing is updated no error message. The expectation was that it will run for a few seconds and update.

     
  • pundip

    pundip - 2019-07-01

    I think I have it figured out. I needed to install the following packages
    php-mysqlnd
    php-mysql

    I needed to add the following line at the end of config.php for debug info

    define('PSM_DEBUG', true);

    Hope this helps anyone else with same issue.

     

Log in to post a comment.

MongoDB Logo MongoDB