From: <sc...@hy...> - 2007-08-14 22:35:43
|
Author: scottmf Date: 2007-08-14 15:35:40 -0700 (Tue, 14 Aug 2007) New Revision: 5577 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=5577 Modified: trunk/plugins/xml/sendmail-plugin.xml Log: [HHQ-1032] changed sudo to an option Modified: trunk/plugins/xml/sendmail-plugin.xml =================================================================== --- trunk/plugins/xml/sendmail-plugin.xml 2007-08-14 22:28:29 UTC (rev 5576) +++ trunk/plugins/xml/sendmail-plugin.xml 2007-08-14 22:35:40 UTC (rev 5577) @@ -66,6 +66,9 @@ <option name="process.query" description="Process Query" default="State.Name.eq=sendmail,CredName.User.eq=root"/> + <option name="exec" + description="Type "sudo" To Avoid Having Agent As Root" + default=""/> </config> <!--notifies the plugin to auto-discover one instance of each service--> @@ -117,7 +120,7 @@ <!-- sendmail-stat metrics --> <filter name="template" - value="exec:file=pdk/work/scripts/sendmail/hq-sendmail-stat,exec=sudo:${alias}"/> + value="exec:file=pdk/work/scripts/sendmail/hq-sendmail-stat,exec=%exec%:${alias}"/> <metric name="Messages In Queue" indicator="true"/> |