You can also create a new template that call an external program computing the 
total system load.

The template would call a shell script running a zendmd script:
total_oad.sh

Code:
#!/bin/bash

zendmd </home/zenoss/total_load.zmd 2>/dev/null | grep "total_load"




total_load.zmd

Code:
total_load=0
for device in dmd.Systems.Clouds.getSubDevices():
  single_load=device.getRRDValue('laLoadInt5')
  if single_load is not None:
    total_load += single_load

print "OK|total_load=%r" % total_load


 

You can then graph the total_load.
--
Florian Deckert
SopraGroup - France[/code]




-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=37974#37974

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to