Although heap memory can be monitored using resin-admin, is there a function to notify according to the memory usage?

 
Depending on the Resin function, it will become possible by describing it in health.xml as the following example.
Please set it according to the environment.

●Setting example: This example notifies by SMTPS.

Send the monitoring status of the Tenured heap and the PermGen heap by email.
The default setting notifies you when free space falls below 1MB.

----------------------------------------------------------------
<mail name="healthMailer">
<smtp-host>smtps.domain.jp</smtp-host>
<smtp-port>465</smtp-port>
<user>userid</user>
<password>passwd</password>
<from>from@domain.jp</from>
<properties>
mail.transport.protocol=smtps
mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory

mail.smtp.socketFactory.fallback=false
</properties>
</mail>
<health:SendMail mail="${healthMailer}">
<to>to@domain.jp</to>
<health:Or>
<health:IfHealthCritical healthCheck="${memoryTenuredHealthC
heck}"/>
<health:IfHealthCritical healthCheck="${memoryPermGenHealthC
heck}"/>
</health:Or>
<health:IfNotRecent time="30m"/>
</health:SendMail>
----------------------------------------------------------------

*Since it is the function setting of Resin, please check below for details such as the setting method.
https://www.caucho.com/resin-4.0/reference.xtp#health:SendMail

-- Target --------------------------------------------------------------------
iAP/Accel Platform/All Updates
--------------------------------------------------------------------------------




FAQID:412
Was this article helpful?
0 out of 0 found this helpful
Powered by Zendesk