Tag Archive for 'auto it'

Integrating autoIT With Nagios

AutoIT is a very powerful set of software tools whichs allows the recording and writing of scripts to automate windows tasks, from moving the mouse cursor to sending key strokes. In this example autoIT is used in conjunction with an NRPE check to open firefox.exe and record the time it takes to load a URL, then sends this time to the Nagios  XI server where the plugin pulls it in as a service. This may also be used to grab the loading time of a specific program or service and the script shows where this can be changed.

Having the ability to run these scripts via NRPE checks allows system administrators to custom tailor Windows server automation without having to initiate them locally.

Some of the abilities of AutoIT are as follows:

  • Easy to learn BASIC-like syntax
  • Simulate keystrokes and mouse movements
  • Manipulate windows and processes
  • Interact with all standard windows controls
  • Scripts can be compiled into standalone executables
  • Create Graphical User Interfaces (GUIs)
  • COM support
  • Regular expressions
  • Directly call external DLL and Windows API functions
  • Scriptable RunAs functions
  • Detailed helpfile and large community-based support forums
  • Compatible with Windows 2000 / XP / 2003 / Vista / 2008 / Windows 7 / 2008 R2
  • Unicode and x64 support
  • Digitally signed for peace of mind
  • Works with Windows Vista’s User Account Control (UAC)

The above bullet points were taken from http://www.autoitscript.com/site/autoit/


Below is a video showing an example of the check website load time script in action:

Continue reading ‘Integrating autoIT With Nagios’