Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


funkypenguin

11 posts

Geek

Trusted

#119547 5-Jun-2013 15:18
Send private message

Hi geeks,

I have a hairy windows problem, I'm hoping someone more experienced than myself can help. We're using a nagios plugin to monitor pending Window Updates across our servers.

The plugin works by examining c:\windows\\SoftwareDistribution\ReportingEvents.log, and looking for the last line which matches "successfully detected x updates". It uses the number of detected updates to report all-good or updates-due.

We have several Win2008r2 servers in SBS-controlled AD domains, and the contents of the file is typically like this:

---
....AutomaticUpdates Success Software Synchronization Windows Update Client successfully detected 4 updates.
....AutomaticUpdates Success Software Synchronization Windows Update Client successfully detected 4 updates.
....Success Software Synchronization Windows Update Client successfully detected 0 updates.
....AutomaticUpdates Success Software Synchronization Windows Update Client successfully detected 4 updates.
....AutomaticUpdates Success Software Synchronization Windows Update Client successfully detected 4 updates.
....Success Software Synchronization Windows Update Client successfully detected 0 updates.
---

This host has 3 optional updates (not sure why it keeps detecting 4). But anyway, because of the last line, the plugin CORRECTLY ignores optional updates, but does actually alarm when there are legitimate updates.

Now, a host which is on a NON-SBS AD domain, the contents of the file look like this:

---
....AutomaticUpdates Success Software Synchronization Windows Update Client successfully detected 6 updates.
....AutomaticUpdates Success Software Synchronization Windows Update Client successfully detected 6 updates.
....AutomaticUpdates Success Software Synchronization Windows Update Client successfully detected 6 updates.
---

But this host has 5 optional updates. However, my plugin is alarming on 6 updates.

We've compared the group policy settings, the windows update settings on the two hosts, and they're the same. Neither site is using WSUS.

When there is a legit update (like IE10 last night), both hosts will record this in the file, and it's counted against one of the detected updates. But still, the SBS-managed host seems to later split the detected updates into optional and non-optional, whereas the standard AD-managed host does not.

Any clever ideas?

Thanks,
D

Create new topic
nathan
5695 posts

Uber Geek
Inactive user


  #831012 5-Jun-2013 15:21
Send private message

did Nagios have anything interesting to say?



funkypenguin

11 posts

Geek

Trusted

  #831013 5-Jun-2013 15:24
Send private message

Nope, but then it's not a Nagios thing, I can see that the information is wrong before it gets to the plugin, and before the plugin reports it back to Nagios. It's a discrepancy between how 2 hosts record available windows updates, and the particular method I'm trying to use to alert to outstanding updates :)

Create new topic





News and reviews »

Logitech G522 Gaming Headset Review
Posted 18-Jun-2025 17:00


Māori Artists Launch Design Collection with Cricut ahead of Matariki Day
Posted 15-Jun-2025 11:19


LG Launches Upgraded webOS Hub With Advanced AI
Posted 15-Jun-2025 11:13


One NZ Satellite IoT goes live for customers
Posted 15-Jun-2025 11:10


Bolt Launches in New Zealand
Posted 11-Jun-2025 00:00


Suunto Run Review
Posted 10-Jun-2025 10:44


Freeview Satellite TV Brings HD Viewing to More New Zealanders
Posted 5-Jun-2025 11:50


HP OmniBook Ultra Flip 14-inch Review
Posted 3-Jun-2025 14:40


Flip Phones Are Back as HMD Reimagines an Iconic Style
Posted 30-May-2025 17:06


Hundreds of School Students Receive Laptops Through Spark Partnership With Quadrent's Green Lease
Posted 30-May-2025 16:57


AI Report Reveals Trust Is Key to Unlocking Its Potential in Aotearoa
Posted 30-May-2025 16:55


Galaxy Tab S10 FE Series Brings Intelligent Experiences to the Forefront with Premium, Versatile Design
Posted 30-May-2025 16:14


New OPPO Watch X2 Launches in New Zealand
Posted 29-May-2025 16:08


Synology Premiers a New Lineup of Advanced Data Management Solutions
Posted 29-May-2025 16:04


Dyson Launches Its Slimmest Vaccum Cleaner PencilVac
Posted 29-May-2025 15:50









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.