Nagios check with multiple results and graphing

Danilo Godec danilo.godec at agenda.si
Fri Nov 12 09:01:54 CET 2010


 Hi,

I would like to graph the CPU usage of a Xen host using NagiosGrapher. I
created a custom check that utilizes 'xentop' and I can have that script
show the 'total' CPU usage, but also CPU usage of each VM - like that:

> XEN_DOMU_PERF - domU1 CpuUsage:.35% MemUsage:9.4%
> XEN_DOMU_PERF - domU2 CpuUsage:.02% MemUsage:6.3%
> XEN_DOMU_PERF - domU3 CpuUsage:.25% MemUsage:1.6%
> XEN_DOMU_PERF - Domain-0 CpuUsage:4.35% MemUsage:3.1%
> XEN_DOMU_PERF - domU4 CpuUsage:1.30% MemUsage:6.3%
> XEN_DOMU_PERF - domU5 CpuUsage:32.72% MemUsage:6.3%
> XEN_DOMU_PERF - domU6 CpuUsage:.20% MemUsage:6.3%
> XEN_DOMU_PERF - domU7 CpuUsage:.25% MemUsage:3.1%
> XEN_DOMU_PERF - domU8 CpuUsage:.05% MemUsage:4.7%
> XEN_DOMU_PERF - domU9 CpuUsage:.02% MemUsage:6.3%
> XEN_DOMU_PERF - domU10 CpuUsage:13.97% MemUsage:37.5%
> XEN_PERFORMANCE OK - CPUs:4 CpuUsage:53.50% MemTotal:16378MB
> MemUsage:90.9%

The 'problem' is, that DomU's are 'dynamic' - they get moved around Xen
hosts, new VM's are created, some are shutdown etc...

Is there any way to create such a 'dynamic' graph without the need to
constantly update Nagios and NagiosGrapher configuration?

  Danilo


------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list