WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Xen domU CACTI monitoring via net-smp

To: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Xen domU CACTI monitoring via net-smp
From: Ady Deac <ady@xxxxxxxxxxx>
Date: Mon, 09 Feb 2009 09:38:00 +0200
Delivery-date: Sun, 08 Feb 2009 23:38:50 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <acbf498f0902080430l1322405fxc4d116bf46d20579@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <acbf498f0902070638p6392350cx26390de0e2cad8c4@xxxxxxxxxxxxxx> <498E1678.4040706@xxxxxxxxxxx> <acbf498f0902080430l1322405fxc4d116bf46d20579@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)
Hi Peter,

Sure, here it is:
-------------------------------8<--------------------------------------
#!/bin/sh

export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11"

xm list | awk '{print $1, $2}' > /tmp/xm.now &&
[ "`cat /tmp/xm.now 2>/dev/null | md5sum`" != "`cat /tmp/xm.last 2>/dev/null | md5sum`" ] &&
diff --normal /tmp/xm.last /tmp/xm.now | grep -E '<|>' &&
/etc/init.d/snmpd restart

mv -f /tmp/xm.now /tmp/xm.last
-------------------------------8<--------------------------------------

Have phun,
Adrian

Peter Braun wrote:
Hi,

thank you for your answer.
May I kindly ask you for that script?

Thank you

Peter Braun



2009/2/8 Ady Deac <ady@xxxxxxxxxxx>:
Hi Peter,

This is because the OID of the interface gets changed. I have done a little
script that restarts snmp if the domUs get restarted/stopped/started.

Good luck,
Adrian

Peter Braun wrote:
Hi

am trying to monitore domU traffic using CACTI + net-smp on dom0.

It runs well untill the domU get restarted.Than the graphs stops.

Every domU get vifname specified so its same after the reboot.
In net-smp i see several "vifuser01", only one is stated as up and
they are wilth different IDs.

I don't know how to troubleshoot this problem.

Anybody facing same behaviour?

BR

Peter Braun

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


--
Deac Mihai-Adrian

MiKe software&network SRL

 Sediu social: Floresti, str. Florilor, nr 184, bl C5, sc 2, ap 32, cod 407280, 
jud Cluj
   Reg comert: J20/500/2005
   Cod fiscal: R17389485
        Banca: ING Bank
         IBAN: RO79 INGB 5567 9999 0052 8664 RON
          tel: +40-745-256364, +40-723-854444
       e-mail: ady@xxxxxxxxxxx


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

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