help modifying check_services.php to run a custom command if any service is down
hi all i need help modifying check_services.php to run a custom command if any service is down
the file i want to run is a php script that sends me an sms and i thought as ispconfig has it's own install of php that even if apache is down i'll get an sms wherever i am in the world.. so how do i edit check_services.php to run the command?
I would take a look at the check service php file in ISPConfig, and make a copy of it to work on. Then modify to check services and ispconfig up, send mail/sms/etc, and make it run under PHP cli. Then schedule as a cron job.
well i'm wanting to run a php script that will sms me if apache2 goes down so i'm asking can i still use php if apache is down... that why i was originally wanting to use ispconfigs copy of php
Recent comments
1 hour 30 min ago
2 hours 29 min ago
6 hours 16 min ago
7 hours 30 min ago
11 hours 7 min ago
18 hours 22 min ago
1 day 3 hours ago
1 day 4 hours ago
1 day 19 hours ago
1 day 22 hours ago