Ask the Community
Groups
How disable offline alerts for clients/assets no longer being protected - Connect IT Community | Kaseya
<main> <article class="userContent"> <h2 data-id="summary"><strong>SUMMARY</strong></h2> <p>The appliance continues to alert each day that an client/asset is no longer listening for Unitrends agent connections.</p> <h2 data-id="issue"><strong>ISSUE</strong></h2> <p>There are cases where a customer customer may want to keep a client/asset registered to an appliance even after it has been decommissioned such as long term retention and retaining the ability to perform "Import To Source" functionality from a target appliance or Unitrends cloud.</p> <h2 data-id="resolution"><strong>RESOLUTION</strong></h2> <p>Alerts are not generated for clients/assets that are not enabled, therefore we can disable it to prevent unwanted offline asset alerts.</p> <div></div> <div>1. Disable a specific asset with the name of <client_name></div> <pre class="code codeBlock" spellcheck="false" tabindex="0">psql bpdb -c "update bp.nodes set status='0' where status > '0' and node_name ilike '<client_name>'"</pre> <div>2. Close open offline alerts for all unreachable assets</div> <pre class="code codeBlock" spellcheck="false" tabindex="0">psql bpdb -c "update bp.alerts set closed='t' where notification_id='9' and closed='f'"</pre> <div>3. Confirm that the offline alerts for the above mentioned will not return</div> <pre class="code codeBlock" spellcheck="false" tabindex="0">/usr/bp/bin/populate_alerts.php</pre> <div></div> <div> <br><strong>Note:</strong> Restores can only be performed when the asset is enabled, so there may be cases when you would like to re-enable to asset which is detailed below:<br><br></div> <div></div> <div>Re-enable a specific asset with the name of <client_name></div> <pre class="code codeBlock" spellcheck="false" tabindex="0">psql bpdb -c "update bp.nodes set status='1' where status='0' and node_name ilike '<client_name>'"</pre> <p> </p> </article> </main>