I needed to check if operation was happening. The doubt was, Is the FTP files being copied over every day to the server? To be sure I wrote this PHP script to check. It goes into the FTP server and […]
vbs script to check services
Script to check services, check_services.vbs I tried developing it so the services could be passed via arguments, but using check_nt (NC_Net) and vbscript I found it impossible when we came along multiple arguments containing spaces, its a shame 🙁 Maybe […]
script to check event viewer
I have written similar script to check for a single server but this time it scans a list of server. It still not integrated with nagios because of the time it takes to execute such script. It does requires 7z.exe […]
Nagios plugin to check folder
This plugin object is to check if a file has been inside certain folder for a period of time and alert if so. It’s still not fully developed so the variables are not passed as arguments but are inside the […]
nagios check events
This is a much usefull plugin that can verify the Windows Event Viewer via nagios remote check I tested using the NC_NET on Windows 2003 and 2000. There is one tweek that needs to be done for it to work […]
Check how many users in a group
Nagios plugin to Check how many users in a group check_group.vbs This script verifies if the number of users in a particular group changes. The output in debug mode Example: c:Program Files (x86)Nc_netscript>cscript.exe //nologo C:PROGRA~2NC_Netscr iptcheck_group.vbs -g CN=Domain Admins,CN=Users -u […]
check log script
Nagios bash check_log Its often needed to check log files for a keyword. So I wrote a simple bash script to do that plus integrate with nagios and perfdata so it also generate graphic. The script is based on tail […]