Windows

check_log.ps1

Description:

Powershell version of check_log.sh nagios plugin

Usage:
.check_log.ps1
.check_log.ps1 log_file old_log_file pattern

Current Version

1.0

Last Release Date

2020-08-19

Compatible With

  • Nagios 4.x
  • Nagios XI

Owner

License

MIT


Project Notes
$Logfile - path to logfile $Oldlog - temp path to file where will be stored part of log file checked by plugin, used to specify diff from $Logfile $Query - case-sensitive search string, when plugin match pattern in log, it will return CRITICAL state Example: .check_log.ps1 C:Test.log C:TempTest.log ERROR Tested only on Windows!
Reviews (1) Add a Review
works fine
by mikelye, January 31, 2021

works fine



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
5 (5)
Favorites
2
Views
4,246