cancel
Showing results for 
Search instead for 
Did you mean: 
winger
Level 7
Report Inappropriate Content
Message 1 of 6

How do you use query results as arguments for Server Task, Actions

Jump to solution

I have a query for systems that have a named Tag.  I use a Server task to email the results, which give the System name and IP address

I would like to add the system names on the subject line of the email.  

I would also like to use the results to Run External Command, but have not found a way to fill in the Arguments.

I have used the syntax that Automatic Response {sourceIPV4}, but this does not translate

 

Labels (1)
1 Solution

Accepted Solutions
McAfee Employee cdinet
McAfee Employee
Report Inappropriate Content
Message 6 of 6

Re: How do you use query results as arguments for Server Task, Actions

Jump to solution

We don't have a lot of internal documentation on it either.  What I would recommend is to open a ticket with McAfee so we can get a request in to dev for how this is supposed to function.

Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

5 Replies
McAfee Employee cdinet
McAfee Employee
Report Inappropriate Content
Message 2 of 6

Re: How do you use query results as arguments for Server Task, Actions

Jump to solution

It isn't designed to take arguments like that.  That would be a PER.  See KB60021.  The run external command option availability would depend on the query type you are running.  Some query type actions are limited, so you would have to test around.  A table type is the best type query to take an action on.

Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

winger
Level 7
Report Inappropriate Content
Message 3 of 6

Re: How do you use query results as arguments for Server Task, Actions

Jump to solution

I am using a Table for results;  this passes the System name and IP address to the following Server Tasks actions
1) Run Client Task Now (run a managed virus scan)

2) Send email with the information

3) Wake up the Agent to perform tasks from first Action

4) Clear the Tag

But the fifth item, Run External Command, gets none of the information passed to it, yet it has a "Arguments" field.  I would us the IP address to copy the OnDemandScan log to see details.

Every thing is quite handy in automating this...but i have to manually check the result of action is step 1.  This action could take up to 20 minutes...

This is ePO v5.3.2 still using the agent v5.5 and VSE v8.8

McAfee Employee cdinet
McAfee Employee
Report Inappropriate Content
Message 4 of 6

Re: How do you use query results as arguments for Server Task, Actions

Jump to solution

Under registered executables, did you test your executable and it run succesfully?

Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

winger
Level 7
Report Inappropriate Content
Message 5 of 6

Re: How do you use query results as arguments for Server Task, Actions

Jump to solution

Yes testing works.  The executable write the argument to a log file...{sourceIPV4} shows up in the logs...it is not translated...

Just wondering all the internal actions know what system to act on, but the information sharing to the Run External command is not automatic and not documented...

McAfee Employee cdinet
McAfee Employee
Report Inappropriate Content
Message 6 of 6

Re: How do you use query results as arguments for Server Task, Actions

Jump to solution

We don't have a lot of internal documentation on it either.  What I would recommend is to open a ticket with McAfee so we can get a request in to dev for how this is supposed to function.

Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

More McAfee Tools to Help You
  • Subscription Service Notification (SNS)
  • How-to: Endpoint Removal Tool
  • Support: Endpoint Security
  • eSupport: Policy Orchestrator
  • Community Help Hub

      New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

    • Find Forum FAQs
    • Learn How to Earn Badges
    • Ask for Help
    Go to Community Help

    Join the Community

      Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

    • Get helpful solutions from McAfee experts.
    • Stay connected to product conversations that matter to you.
    • Participate in product groups led by McAfee employees.
    Join the Community
    Join the Community