From owner-freebsd-questions@FreeBSD.ORG Fri Feb 20 01:28:15 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9905953A for ; Fri, 20 Feb 2015 01:28:15 +0000 (UTC) Received: from na3sys009aog138.obsmtp.com (na3sys009aog138.obsmtp.com [74.125.149.19]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4260A3A7 for ; Fri, 20 Feb 2015 01:28:14 +0000 (UTC) Received: from mail-ob0-f170.google.com ([209.85.214.170]) (using TLSv1) by na3sys009aob138.postini.com ([74.125.148.12]) with SMTP ID DSNKVOaNrQBOI4zZeDq5lSltbK3fFXfBiPa+@postini.com; Thu, 19 Feb 2015 17:28:15 PST Received: by mail-ob0-f170.google.com with SMTP id va2so21490255obc.1 for ; Thu, 19 Feb 2015 17:28:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourcefire.com; s=google; h=mime-version:date:message-id:subject:from:to:content-type; bh=7oXzM1RSw4S9kGfnnBY5mkDA1smSMOi3S8/iFp3W58s=; b=S7IKFdNnWidgKlPFTXCo8odhMoDPLX8Nog7aeDEoqIzzGE11xYFaN9vV1qi0anthmg qmuJ7ZUqNxgupBj7bvwmf+jF+2F/9B5qAcVw1Iz8jS8abwvIY+YnF9yWrcks5rB5eyS1 xe7kKG70SECFIzeg6LVMz4NP35AEQOtvmTPjk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=7oXzM1RSw4S9kGfnnBY5mkDA1smSMOi3S8/iFp3W58s=; b=H6L3Lb4HuIeLWuUwn2p9krUZwMTAz8rOVKLDTRpDvcgMjPs0jxyK9YX+g78ADayx0P Q5Symp1YMRsxOliPUGQk5zdn4m/CYoV/GBqwMG2yMnmisN/zkKo/ITsy3zpxxVPwQH/N WYShKNSSwO6TCyUF41RClbggVzxQOikLpjYAdQAK8SkLmwB8jY+wfZ+EaNg7VeNzHsdm 8mQOo0YwQ6BnoQINaSmFZf6hacuUx3qxZfq93o3gAienPRSeWippB/qOfC3T/BpmSTgv P/dt2DlOdoRyK5qDJ3Es5Er9zDpBswxR2VNYMTakF7UljGJe2A+HDAZwLKoarLyzzU9B +J9A== X-Received: by 10.202.215.212 with SMTP id o203mr2864819oig.85.1424356490349; Thu, 19 Feb 2015 06:34:50 -0800 (PST) X-Gm-Message-State: ALoCoQkAqsKoY2NOONJNzY7OsZoOBH5MszIcLLjpwDVavpqFlLSXbBKIowk27CTD19YpJmEspBeTO5eof4CNNwTi5NxhYtE3j3JveiMhJeDqwYRUeDD9S4+ftSHs6mwl5gJYZi2Fb3yAtRHa97GbYZX7Am9tyvwNwg== MIME-Version: 1.0 X-Received: by 10.202.215.212 with SMTP id o203mr2864815oig.85.1424356490283; Thu, 19 Feb 2015 06:34:50 -0800 (PST) Received: by 10.202.108.148 with HTTP; Thu, 19 Feb 2015 06:34:50 -0800 (PST) Date: Thu, 19 Feb 2015 09:34:50 -0500 Message-ID: Subject: What's the latest release from freebsd-update? From: Dan Langille To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2015 01:28:15 -0000 I want to write a check to let us know if a given server is on the latest version. For example, how can I determine that FreeBSD 9.3-RELEASE-p5 is the latest and greatest? I could run freebsd-update and see what comes back, but that's not ideal for a Nagios check. This output seems promising: $ sysctl kern.version kern.version: FreeBSD 9.3-RELEASE-p5 #0: Mon Nov 3 22:38:58 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC Let's assume we use that as the check for the host. What do we compare it to? Where can I find out that 9.3-RELEASE-p6 is available? -- Dan Langille Infrastructure & Operations Talos Group Sourcefire, Inc.