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
Other Tutorials And HOWTOs Receiving SNMP Traps in Nagios
0.0 (0)
114.1K
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 > mvanle
m

mvanle

@mvanle

User Stats

Favorites0

Views0

Projects2

Check File Share Witness
Clustering and High-Availability
Check File Share Witness
PowerShell script that checks a Windows Server's File Share Witness is online.
1.0 (1)
10.3K
0
mvanle
GPL
nagiosAck
Comments and Acknowledgements
nagiosAck
nagiosAck is an enhancement of the existing "Remove acknowledgements older than n hours / days / weeks and send a report" project (available at https://exchange.nagios.org/directory/Addons/Comments-and-Acknowledgements/Remove-acknowledgements-older-than-n-hours--2F-days--2F-weeks-and-send-a-report/details).
1.0 (1)
9.4K
0
mvanle
GPL
Remove acknowledgements older than n hours / days / weeks and send a report

Script works but requires adjustments

This script does work. The tricky part is finding the correct offset to use when parsing the "retention.dat" file, which is the count of the number of lines (exclusive) from the beginning of a host or service definition to the "problem_has_been_acknowledged=" line. (I use "$hostAcknowledgementThreshold = 39" and "$serviceAcknowledgementThreshold = 45"). Also the script does not properly acquire the service name because it is searching for "display_name", but the "retention.dat" file only provides "service_description" (in later versions of Nagios). So the regex in the script source needs to be updated.

Reviewed 10 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks