Xymon Mailing List Archive search

monitoring patch status?

list Vernon Everett
Sun, 16 Nov 2008 20:23:10 +0900
Message-Id: <user-afbc204dabf5@xymon.invalid>

Hi Guys

I have used this small report to assist us (Solaris mob) and the Wintel guys to determine kernel update/revision level, which we use an an indication of patch level.

I have created a directory, /usr/lib/hobbit/custom where I put this sort of script.

#!/bin/ksh
export BBHOME=/usr/lib/hobbit
typeset -L20 HOST
mkdir -p /usr/lib/hobbit/custom/data
cd /usr/lib/hobbit/custom/data
INCLUDES=$(grep ^include /etc/hobbit/bb-hosts | awk '{ print $2 }')
cat /etc/hobbit/bb-hosts $INCLUDES | egrep -h -v "^#|^page|^$|^subpage|^group|^include" | awk '{ print $2 }' \
   | while read HOSTNAME
     do
        wget -O $HOSTNAME -o /dev/null http://hobbit/hobbit-cgi/bb-hostsvc.sh\?HOST\=$HOSTNAME\&SERVICE\=info &
     done
wait
for HOSTNAME in /usr/lib/hobbit/custom/data/*
do
   OSVER=$(grep OS: $HOSTNAME | sed 's/OS://g'| sed -e :a -e 's/<[^>]*>//g;/</N;//ba')
   HOST=$(basename $HOSTNAME)
   echo "$HOST  $OSVER"
done
rm /usr/lib/hobbit/custom/data/*

It works for us, but your mileage may vary.

Cheers
     V


-----Original Message-----
From: Martin Flemming [mailto:user-f286aaa49a76@xymon.invalid]
Sent: Saturday, 15 November 2008 11:19 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] monitoring patch status?


Ok, my fault ... it's only a update not a patch-mechanism ..

        martin

On Sat, 15 Nov 2008, Rich Smrcina wrote:
T.J. Yang wrote:
 For my understanding, there is no patch concept for Linux OS.
 Solaris and HP-UX are two Unix OS that I need to deal with have OS
patches.
 Windows has patch also but is there an open source pca script  doing
patch  report ?


 tj
The enterprise or server versions of major distros (like SLES) have
regular patch distribution and notification processes.  If specific
people in an installation sign up for notification of patches, they
are sent emails that patches are available.  Patch servers can also be
set up that can download these patches so that the internal servers
can have the patches available without having to all fetch them from the distributor (Novell in this case).
I'm going to guess that RedHat Satellite does something similar.

--
Rich Smrcina
VM Assist, Inc.
Phone: XXX-XXX-XXXX
Ans Service:  XXX-XXX-XXXX
http://www.linkedin.com/in/richsmrcina

Catch the WAVV!  http://www.wavv.org
WAVV 2009 - Orlando, FL - May 15-19, 2009

Gruss

        Martin Flemming


Martin Flemming
DESY / IT          office : Building 2b / 008a
Notkestr. 85       phone  : XXX - XXXX - XXXX
22603 Hamburg      mail   : user-f286aaa49a76@xymon.invalid


NOTICE: This email and any attachments are confidential. 
They may contain legally privileged information or 
copyright material. You must not read, copy, use or 
disclose them without authorisation. If you are not an 
intended recipient, please contact us at once by return 
email and then delete both messages and all attachments.