CPU Stats service reports “UNKNOWN: iostat not found or is not executable by the nagios user.”

When monitoring Linux hosts in Nagios XI, the following error was being reported for the CPU Stats service: “UNKNOWN: iostat not found or is not executable by the nagios user.” This is due to the check command having a dependency on the performance and monitoring tool sysstats, in order to resolve the issue install the … More CPU Stats service reports “UNKNOWN: iostat not found or is not executable by the nagios user.”

Monitor WUInstall status in Nagios XI

I recently wrote about checking the last success time of Windows Update and reporting this to Nagios (http://wp.me/p15Mdc-mj). Now what happens if you do not use Windows Update as your patch management solution. In my case I have been managing the installation of updates using WUInstall (http://www.wuinstall.com). When my updates are installed the registry is … More Monitor WUInstall status in Nagios XI

Monitor Windows Update Last Success Time with Nagios XI

I was recently asked to provide a monitoring service for the last success success time of Windows Update and to provide status information within Nagios XI. Basically, the last success time was compared to be run a time span period of a number of days in the past to provide a service state. In the … More Monitor Windows Update Last Success Time with Nagios XI

Monitoring the status of Domain Controller Diagnostics Tool (dcdiag.exe) with Nagios XI

I was recently looking at monitoring the service health of Active Directory Domain Services using Nagios XI, the default monitoring wizards only provide the ability to monitor an LDAP server. However, I was looking to monitor a number of services similar to those available from running the Domain Contoller Diagnostics Tool (dcdiag.exe) – http://technet.microsoft.com/en-us/library/cc776854(v=ws.10).aspx. Therefore, I … More Monitoring the status of Domain Controller Diagnostics Tool (dcdiag.exe) with Nagios XI

Compare MD5 Checksum of two files in Powershell

I was recently looking at comparing the MD5 checksum of two files using the  MD5CryptoServiceProvider class in Windows Powershell. Firstly, we will need to create the ‘System.Security.Cryptography.MD5CryptoServiceProvider’ object within our session and store this as a variable. $MD5 = New-Object -TypeName System.Security.Cryptography.MD5CryptoServiceProvider Once the object has been created we can now compare the MD5 checksum … More Compare MD5 Checksum of two files in Powershell