Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
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
Owner
Alberto MartÃn Vidal
Website
https://github.com/mvalberto
Download URL
https://github.com/mvalberto/Check_WinLogs
License
GPL
Compatible With
# 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$
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!