Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6B7D417DBB for ; Fri, 20 Mar 2015 20:20:17 +0000 (UTC) Received: (qmail 34455 invoked by uid 500); 20 Mar 2015 20:20:15 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 34366 invoked by uid 500); 20 Mar 2015 20:20:15 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 34342 invoked by uid 99); 20 Mar 2015 20:20:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Mar 2015 20:20:15 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of terbolous@gmail.com designates 74.125.82.43 as permitted sender) Received: from [74.125.82.43] (HELO mail-wg0-f43.google.com) (74.125.82.43) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Mar 2015 20:20:09 +0000 Received: by wggv3 with SMTP id v3so98411351wgg.1; Fri, 20 Mar 2015 13:17:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=8vkRybKKcwHh5XiPR6qFRuZhaAA/yH3lph+X/SHgRQc=; b=qJCkIxSfbpLJSlbVzap+GHM2F1DaLoAcO92Tnja9UB3e1TP+Yn8bDtCzb4nzdB7WyI BWY111NO8bXahVhIAJwvF4Z4ervZ7vZqllKCbMrIJQ+wcM7Fskz6SnMnekDWP8s5ouGe xWUXYsJfQYH67FPD5SgTxCsiKPVz5sGEgbiwbM4T40xalPavN8L9sfBjvz4d9RjrmTli LCmq9vkXmw5Jp6+TAW64h1m4Yv9efaK8FCe6aOKcILhwoCu8kfHdXsNMkV21lEnaw1AT aemNlCJ8b+jg24BBGwV7UqcA6S/4HKLS6Bn6mAs8o5LXkj1RNQpgj1EalFI14vzkRLTc ekvQ== MIME-Version: 1.0 X-Received: by 10.180.87.165 with SMTP id az5mr27496945wib.29.1426882653584; Fri, 20 Mar 2015 13:17:33 -0700 (PDT) Received: by 10.28.37.2 with HTTP; Fri, 20 Mar 2015 13:17:33 -0700 (PDT) Date: Fri, 20 Mar 2015 21:17:33 +0100 Message-ID: Subject: Ways to monitor Virtual Router disk space From: Erik Weber To: dev , "users@cloudstack.apache.org" Content-Type: multipart/alternative; boundary=14dae9cc9552b402510511be01eb X-Virus-Checked: Checked by ClamAV on apache.org --14dae9cc9552b402510511be01eb Content-Type: text/plain; charset=UTF-8 I've had a few incidents where conntrack logging has filled the /var partition, and break provisioning of new VMs (unable to save password). And this got me thinking that there must be a way to monitor VR disk space.. Some things to consider: - I'm using XenServer, so AFAIK the VR ssh is only available from the XS link-local network. - I'd prefer to not build my own systemvm templates, ie. I'd like to use them as is - The monitoring should eventually end up in Nagios My idea so far is to make a collectd script or similar, that uses the CloudStack API to fetch a list of routers and its XS host, connect to the VR through the right XS Host and then push the data to graphite or similar. Then use the check_graphite plugin in Nagios to monitor the disk space. Does anyone have any insight to this, experience with doing something similar or other inputs? -- Erik --14dae9cc9552b402510511be01eb--