pcp
[Top] [All Lists]

[pcp] RFE: dmthin pmie example (#46)

To: performancecopilot/pcp <pcp@xxxxxxxxxxxxxxxxxx>
Subject: [pcp] RFE: dmthin pmie example (#46)
From: Kazuo Moriwaka <notifications@xxxxxxxxxx>
Date: Wed, 26 Aug 2015 22:44:00 -0700
Delivered-to: pcp@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1440654240; bh=jFpRlwz0fiOgRhkd4/z3YvaNxRE1RtOG8qVH4LhaXr0=; h=From:Reply-To:To:Subject:List-ID:List-Archive:List-Post: List-Unsubscribe:From; b=NqM+baDFjvw3ezRVTr5OqImmZXEcQzVPycUIRBeD7Oz1FSynm4y9Skg849u6Uee6+ 9BbL3sUafMO9H+slO5zzFhhAze40sr+ZC+qYUHnVAP/vqz3wADMc67mOC98SYfEzkO X6cQTYn+zSfawpp+7it1Lhkgr/AqwLRFB8TulN8o=
List-archive: https://github.com/performancecopilot/pcp
List-id: performancecopilot/pcp <pcp.performancecopilot.github.com>
List-post: <mailto:reply+00bd08b6ba2bbc2fd0b345907a2dc45863e5399bf7d0494c92cf0000000111f665a092a169ce062a45b5@reply.github.com>
List-unsubscribe: <mailto:unsub+00bd08b6ba2bbc2fd0b345907a2dc45863e5399bf7d0494c92cf0000000111f665a092a169ce062a45b5@reply.github.com>, <https://github.com/notifications/unsubscribe/AL0ItqHEBuGxurwRsrYeEi8XPjF1fxEnks5orpsggaJpZM4FzE94>
Reply-to: performancecopilot/pcp <reply+00bd08b6ba2bbc2fd0b345907a2dc45863e5399bf7d0494c92cf0000000111f665a092a169ce062a45b5@xxxxxxxxxxxxxxxx>

dmthin pools' monitoring by pmie would be normal story.
I hope dmthin monitoring pmie example.

I wrote following pmie script, but I'm not familiar to pmie manner, yet.
Please review and include into examples if it is applicable.

delta = 10 min;
threshold_data = 90;
threshold_metadata = 80;

some_host (
  some_inst (
    100 * dmthin.pool.data.used / dmthin.pool.data.total > $threshold_data
  ) 
) -> print "dmthin pool data %v%used [%i]@%h";

some_host (
  some_inst (
    100 * dmthin.pool.metadata.used / dmthin.pool.metadata.total > $threshold_metadata
  ) 
) -> print "dmthin pool metadata %v%used [%i]@%h";


Reply to this email directly or view it on GitHub.

<Prev in Thread] Current Thread [Next in Thread>