Nagios Exchange
  • Home
  • Directory
  • About

Advanced Search

Build precise queries to find exactly what you need

Search Logic

Select compatible versions

Press ESC to close

Sign In Sign Up
Plugins4387Themes and Skins11Add-ons732Documentation283Graphics and Logos36View All Categories
LinuxSecuritySNMPFile SystemCloud
New Listings Recently Updated Listings Most Favored Listings Most Popular Listings Most Rated Listings Most Reviewed Listings
Random Project
Network Connections, Stats and Bandwidth Linux Check PPS, BPS, or Current Line Rate % of NIC
0.0 (0)
29K
RSS Feed
Newest Listings Updated Listings
Top Contributors
LAMY (7)Julien DESMAREST (6)deskwork_itunes142 (4)Davide Lemma (4)Joerg Hoerter (3)
See More
Newest Contributors
Guillaume8723 (1)Salvo (1)SOHA-IT (1)Tsvetomir Tsvetanov (1)Igor Ru (1)
See More
Home > Steve Furniss
SF

Steve Furniss

@safurniss

User Stats

Favorites1

Views302

Projects3

check_denco_web
Environmental
check_denco_web
Perl script to check status of Denco aircon units via web page
0.0 (0)
6.4K
0
Steve Furniss
Check_McAfee_Status
McAfee
Check_McAfee_Status
PowerShell to check McAfee Status - Used with NSCLIENT++ & Nagios This PowerShell script will check registry keys for McAfee based on the following parameters…
0.0 (0)
7.7K
0
Steve Furniss
GPL
check_reg_key.vbs
Windows
check_reg_key.vbs
NSClient++ plugin to check for a match to a specified registry key value. If the specified value matches the one in the queried key then…
0.0 (0)
48.7K
1
Steve Furniss
GPL
Check Active Directory Accounts

Works better with this modification

I've modified the powershell script so that you can pass an additional parameter of either "UsersOnly" or "ComputersOnly" otherwise it returns values for both users and computers objects. # ==================================================================== # Search in AD for lockedout account. To be used through NRPE / nsclient++ # Author: Mathieu Chateau - LOTP # mail: [email protected] # version 0.1 # ==================================================================== # # Require Set-ExecutionPolicy RemoteSigned.. or sign this script with your PKI # # ============================================================ # # Do not change anything behind that line! # param ( [string]$action = "LockedOut", [string]$accountType = "", [string]$searchBase = "", [string]$searchScope = "Subtree", [int]$maxWarn = 5, [int]$maxCrit = 10 ) # check that powershell ActiveDirectory module is present if(Get-Module -Name "ActiveDirectory" -ListAvailable) { try { Import-Module -Name ActiveDirectory } catch { Write-Host "CRITICAL: Missing PowerShell ActiveDirectory module" exit 2 } } else { Write-Host "CRITICAL: Missing PowerShell ActiveDirectory module" exit 2 } # check params if provided if($action -notmatch "^(AccountDisabled|AccountExpired|AccountExpiring|AccountInactive|LockedOut|PasswordExpired|PasswordNeverExpires)$") { Write-Host "CRITICAL: action parameter can only be AccountDisabled,AccountExpired,AccountExpiring,AccountInactive,LockedOut,PasswordExpired,PasswordNeverExpires. Provided $action" exit 2 } if($accountType -notmatch "^(UsersOnly|ComputersOnly)$") { Write-Host "CRITICAL: accountType can only be UsersOnly,ComputersOnly. Provided $acctType" } if($searchScope -notmatch "^(Base|OneLevel|Subtree)$") { Write-Host "CRITICAL: searchScope parameter can only be Base,OneLevel,Subtree. Provided $searchScope" exit 2 } if(($searchBase -ne "") -and $searchBase -ne ((Get-ADDomain).DistinguishedName)) { $search=Get-ADObject -Filter 'ObjectClass -eq "OrganizationalUnit" -and DistinguishedName -eq $searchBase' if ($search.Count -ne 1) { Write-Host "CRITICAL: SearchBase not found or duplicate. Provided $searchBase" exit 2 } } else { $searchBase=(Get-ADDomain).DistinguishedName } $command="Search-ADAccount -"+$action+" -"+$accountType+" -SearchBase '"+$searchBase+"' -SearchScope "+$searchScope $result=invoke-expression $command if($result.Count -gt $maxCrit) { $state="CRITICAL" $exitcode=2 } elseif($result.Count -gt $maxWarn) { $state="WARNING" $exitcode=1 } else { $state="OK" $exitcode=0 } $output=$state+": "+$result.Count+" "+$action+"|"+$action+"="+$result.Count+";"+$maxWarn+";"+$maxCrit Write-Host $output exit $exitcode

Reviewed 9 years ago

Check Netapp NG

Great Plugin

If you want ot monitor your NetApp then use this. It works great on our NetApp 3170

Reviewed 13 years ago

Mailbox Health 2007.ps1

Good but some issues

I have this working great on Windows 2003 with Exchange 2007, however I seem to have an issue running it on Windows 2008 with Exchange 2007. If I run the command from the "nsclien++ /test" it works fine and the result comes back in a few seconds. If I run it from the command line on the Nagios server, again it works fine, just takes a lot longer to return the output. When I then run it as a Nagios check it fails with "(Service Check Timed Out)". I have the timeout set to 300 seconds. Not sure why it is failing on 2008.

Reviewed 12 years ago

check_mcafee_datdate

McAfee DAT Date

Work great on a Windows 7 computer... however if you run this on Windows 2012 R2 you will need to modify the registry path the the script looks at from "SOFTWAREMcAfeeAVEngine" to "SOFTWAREWow6432NodeMcAfeeAVEngine".

Reviewed 11 years ago

Check Error Log Backup Exec 2012
BackupExec
Check Error Log Backup Exec 2012
This is a powershell script check to see how many errors are in the BackupExec 2012 Server logs. I just coded it today for my…
0.0 (0)
52.8K
1
Matthew

Copyright © 2009-2025 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks