On Fri, Oct 19, 2012 at 12:49 PM, Michael Barrett
<[email protected]> wrote:
>
>
> Yes I see that /var/ossec/queue/agent-info contains all the agents and if
> I cat each file I can see the version
>
> I was hoping for more of a list that would be easy to read.

for i in $(./agent_control -l | grep ID: | cut -d ' ' -f 5 | sed -e
's/,//'); do agent_control -i $i ; done | grep -e "Agent Name: " -e
"Client version"

> ____________________________________________
> Michael Barrett | Information Security Analyst - Lead | Mortgage Guaranty
> Insurance Corporation
> 270 E. Kilbourn Ave. | Milwaukee, WI  53202 USA | ( 1.414.347.6271 | 7
> 1.888.601.4440 | * [email protected]
>
> This message is intended for use only by the person(s) addressed above and
> may contain privileged and confidential information. Disclosure or use of
> this message by any other person is strictly prohibited. If this message is
> received in error, please notify the sender immediately and delete this
> message.
>
>
>
> From: "dan (ddp)" <[email protected]>
> To: [email protected]
> Date: 10/19/2012 10:43 AM
> Subject: Re: [ossec-list] agent version
> Sent by: [email protected]
>
> ________________________________
>
>
>
> On Fri, Oct 19, 2012 at 11:02 AM, Michael Barrett
> <[email protected]> wrote:
> >
> > Is there a place I can see all the agent versions? We are in the process
> > of
> > upgrading several hundred agents and I wanted to make sure we get them
> > all
> >
> > Thanks
> > ____________________________________________
> > Michael Barrett | Information Security Analyst - Lead | Mortgage
> > Guaranty
> > Insurance Corporation
> > 270 E. Kilbourn Ave. | Milwaukee, WI  53202 USA | ( 1.414.347.6271 | 7
> > 1.888.601.4440 | * [email protected]
> >
> > This message is intended for use only by the person(s) addressed above
> > and
> > may contain privileged and confidential information. Disclosure or use
> > of
> > this message by any other person is strictly prohibited. If this message
> > is
> > received in error, please notify the sender immediately and delete this
> > message.
> >
> > This message is intended for use only by the person(s)
> > addressed above and may contain privileged and confidential
> > information. Disclosure or use of this message by any other
> > person is strictly prohibited. If this message is received in
> > error, please notify the sender immediately and delete this
> > message.
> >
>
> /var/ossec/queue/agent-info/* ?
>
>
> This message is intended for use only by the person(s)
> addressed above and may contain privileged and confidential
> information. Disclosure or use of this message by any other
> person is strictly prohibited. If this message is received in
> error, please notify the sender immediately and delete this
> message.
>

Reply via email to