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
2011 Nagios World Conference Presentations 2011 Conference Presentations
0.0 (0)
156.7K
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 > Michael
M

Michael

@TheMichi44

User Stats

Favorites0

Views0

Projects1

HP ProCurve Switches CRC/Packets Check
HP
HP ProCurve Switches CRC/Packets Check
This Script checks HP ProCurve Switches (and maybe all others Switches with common MIBs) on every Interface for CRC Errors & Packet Errors
5.0 (5)
25.6K
0
Michael
GPL
Exchange 2010 CAS

could be better

here is the first problem: ########################### $status = 0; $desc = ""; test-activesyncconnectivity | ForEach-Object { [snippet] elseif ($status -eq "0") { Write-Host "OK: ActiveSync Connectivity OK" ########################### if you have an error on "test-activesyncconnectivity" the status will be "OK" at the end. i would do the following as a fast fix: ############### $status = 2; # 2 = critical $desc = ""; test-activesyncconnectivity | ForEach-Object { if($_.Result -like "Success") { $status = 0; ############### So you would get a "critical" output at the end if you have a problem at "test-activesyncconnectivity". fast hint for other languages: ###################### elseif($_.Result -like "Failure") { ###################### in german it would be: ###################### elseif($_.Result -like "Erfolgreich") { ###################### greetz

Reviewed 11 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks