External commands

Does anyone know a good way of implementing more external commands from the nagios gui? I would like to be able to call a script that restarts my webserver from nagios gui.

Im not interested in the event_handlers that restart the service case of a certain amount of errors.