Posted on 02-15-2012 04:03 PM
I got the McAfee - Check EPO Agent .xml ext attribute and after uploading it to the JSS I now have it listed but there are no results displayed. I know I have epo installed I have version 4.6.0.1694 But it is not displaying the result for me. I
This is the file that I am using
<?xml version="1.0" encoding="UTF-8"?>
<extensionAttribute>
<displayName>McAfee - Check EPO Agent Version</displayName>
<displayInCategory>Security Reporting</displayInCategory>
<dataType>string</dataType>
<description>This attribute will report the version of the McAfee EPO Agent installed on the client computer.</description>
<scriptContentsMac>#!/bin/sh
#Reports the version of the McAfee epO Agent installed on the client computer.
#Data Type in JSS for this script should be set to: string
Version=cat /etc/cma.d/EPOAGENT3700MACX/config.xml | egrep "<Version>.</Version>" |sed -e "s/<Version>(.)</Version>/1/"|tr "|" " "
echo '<result>'$Version'</result>'
</scriptContentsMac>
</extensionAttribute>
This is how I have it set up
Display Name: McAfee - Check EPO Agent Version
Description:
Data Type: String
Input Type: text Input
Display in the: Extension Attributes tab in Recon
Posted on 02-15-2012 11:53 PM
You would have to set the "Input Type" to "Populated by Script"; otherwise your script won't be executed.