If it isn't broken why fix it?

Although if you are bored you could use the php function:

stream_socket_client 

To connect to port 80 of www.nod32.ch and then send a

GET /en/index.php HTTP/1.0 (Followed by two newlines or cariage return
and newline)

You can then parse the text in php then you don't need all those other
utilities...  



-----Original Message-----
From: Servers Alive Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Gerry Aquino
Sent: 21 June 2006 14:31
To: Servers Alive Discussion List
Subject: Re: [SA-list] Checking anti-virus updates

Hello All,

I have done this for both symantec and NOD32 anti-virus. BAsically what
I did was on webserver that hosts my SA status pages download the latest
version info. This is done hourly.Both Symantec and NOD32 have webpages
that showed this. Then extract the text strings from the webpages and
save to a file. I used wget,sed and egrep for this. Then I read the
registry key for my workstation that identified the current version and
used sed and egrep to save the text string to a file. This file was FTPd
to the webserver hourly. Since my SA status page is actually a PHP page,
I read the files into variables in the PHP page and was able to compare
them and display UP or DOWN via an image with PHP. The best I could
figure out with SA was to Check the status page for the UP or Down
image. This makes alerting/updating late by one cycle but that was OK
for me. You can see the status page here http://office.sesslerford.com.

My coding skills are clearly lacking, but I got what I needed this way.
If there is another (simpler?) way to do this I would be happy to start
over, but this has worked for several years.

BTW when Symantec NOD32 or whomever changes their web page, this will
break.

-Gerry



On 6/21/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Folks,
>
> Every morning our Service Desk do a manual check to see that our 
> anti-virus infrastructure is up to date. Specifically, they check that

> the virus definitions file (from McAfee) on the central server is the
latest one.
>
> I'd love to automate that check, but I'm not sure how to do it. I can 
> do a check on the timestamp of the file on the server, but I then need

> to be able to somehow test if that is the latest available file. As 
> the updates come out from McAfee at irregular intervals (anything from

> a few times a day to a few times a week) doing an "older than x hours"
isn't really adequate.
>
> Any ideas? Is anyone else doing this?
>
> Cheers,
>
> Ian
> _________________________________
>  Ian K Gray
>  OEL IS - European Infrastructure Support
>  Tel: +44 1236 502661
>  Mob: +44 7881 518854
>
>  To unsubscribe send a message with UNSUBSCRIBE as subject to 
> [email protected]  If you use auto-responders (like 
> out-of-the-office messages), then make sure that they are not send to 
> the list nor to the individual members of the list that send a 
> message. Doing this will get you removed from the list.


--
Gerry Aquino

To unsubscribe send a message with UNSUBSCRIBE as subject to
[email protected] If you use auto-responders (like out-of-the-office
messages), then make sure that they are not send to the list nor to the
individual members of the list that send a message.  Doing this will get
you removed from the list.

To unsubscribe send a message with UNSUBSCRIBE as subject to [email protected]
If you use auto-responders (like out-of-the-office messages), then make sure 
that they are not send to the list nor to the individual members of the list 
that send a message.  Doing this will get you removed from the list.

Reply via email to