array( ## This will be the name of the service as displayed on the status page. #'name'=>'Web Server', ## This will be the message displayed under the collapsable title. #'message'=>'To be, or not to be.', ## The pid file of the service to check. If 'process' is also defined, ## this will override its check. Make sure the runner has permissions ## to read the file. #'pidfile'=>'/run/nginx.pid', ## Icon to display alongside the service name. Path is relative to page. ## You can also leave this blank for no icon. #'icon'=>'http.png', ## Name of the process to query. This will search using pgrep. #'process'=>'nginx', ## Hostname of the server to ping. This and 'ports' may be omitted if ## you do not want to ping it. #'hostname'=>'shakespear.lit', ## Array of ports to ping. If more than one port, the displayed ping will be averaged. Requires 'hostname' to function properly. #'ports'=>array(80,443) #) ); ?>