Log File Management

Check_WinLogs

Description:

Plugin for nagios to check string inside file (for Windows files)
Plugin para buscar una cadena de texto dentro de un fichero log (construido para Windows)

Current Version

1.0

Last Release Date

2021-03-30

Compatible With

  • Nagios 4.x

License

GPL


Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Project Photos
Project Notes
# Check_WinLogs Plugin for nagios to check string inside file 1.- Define command in /usr/local/nagios/etc/objects/commands.cfg define command{ command_name check_winlog command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -p 5666 -c check_winlog $ARG1$ $ARG2$ } 2.-Define Service in Host.cfg (this example check file c:/test.log and find string Error) define service{ use generic-service host_name YOUR_HOST service_description Check_logs_test check_command check_winlog! -a c:/test.log Error } 3.- Put Check_WinLog.ps1 in C:/Program Files/NSClient++/scripts 4.- Edit nsclient.ini in your Host and add the following lines [/settings/external scripts/wrapped scripts] check_winlog = Check_WinLog.ps1 $ARG1$ $ARG2$
Reviews (0) Add a Review
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
0 (0)
Favorites
0
Views
3,325