From 41e1ea816b13c28a0e731cf0fcf5ab6536d5cda2 Mon Sep 17 00:00:00 2001 From: saiprakash Date: Tue, 16 Sep 2008 13:55:31 +0000 Subject: [PATCH] modified Ganglia plugin git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2176 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/monitoring/gangliamon.pm | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/monitoring/gangliamon.pm b/xCAT-server/lib/xcat/monitoring/gangliamon.pm index b02440516..4261a7544 100755 --- a/xCAT-server/lib/xcat/monitoring/gangliamon.pm +++ b/xCAT-server/lib/xcat/monitoring/gangliamon.pm @@ -1176,4 +1176,19 @@ sub getDescription Gangliam monitoring software \n"; } - +#-------------------------------------------------------------------------------- +=head3 getPostscripts + This function returns the postscripts needed for the nodes. + Arguments: none + Returns: + The the postscripts. It a pointer to an array with the node group names as the keys + and the comma separated poscript names as the value. For example: + {service=>"cmd1,cmd2", xcatdefaults=>"cmd3,cmd4"} where xcatdefults is a group + of all nodes including the service nodes. +=cut +#-------------------------------------------------------------------------------- +sub getPostscripts { + my $ret={}; + $ret->{compute}="confGang"; + return $ret; +}