[[Monitoring alert Notification]]

[[The following instance has entered an error state]]: $monitored.name - [[View]]

[[Review below]]:

#if($monitored.isreachable == "false") [[The instance seems to be down]]: $monitored.fullurl

#else #if($monitored.isssl == "true") #if($monitored.sslstatus == "torenew") [[The instance's SSL certificate will expires in ]]$monitored.daystoexpiration[[ days, ]][[on ]]$monitored.expirationdate. [[Please renew it by running sudo /home/entermedia/letsencrypt/letsencrypt-auto renew on the corresponding instance's server]]. #elseif($monitored.sslstatus == "expired") [[The instance's SSL certificate has expired on]] $monitored.expirationdate. [[Please deploy a new one by running sudo /home/entermedia/letsencrypt/letsencrypt-auto renew on the corresponding instance's server]]. #elseif($monitored.sslstatus == "error") [[Can't retrieve any SSL certificate for the following instance: ]]: $monitored.url

#end #else #if ($monitored.isdisk == "true") #foreach($partition in $monitored.getValue("partitions")) #if($partition.isIsOverloaded() == true) [[The following instance's partition is running out of disk space]]: $partition.getName() ${partition.getUsablePartitionSpace()}Mb [[remaining of]] ${partition.getFreePartitionSpace()}Mb.

#end #end #end #if($monitored.iscpu == "true") [[The instance's CPUs are overloaded]]: $monitored.loadaverage [[currently used]].

#end #if($monitored.isheap == "true") [[The instance's heap partition is running out of space]]: $monitored.heapusedpercent [[currenlty used]].

#end #if($monitored.ismemory == "true") [[The instance is running out of memory]]: ${monitored.servermemoryfree}Mb [[remaining of]] ${monitored.servermemorytotal}Mb. #end #end #end