ASM mainly monitors websites. To monitor a mainframe to check the connectivity, you could use the CONNECT, TELNET, PING monitors.
A SCRIPT monitor does not run on a mainframe or a server, rather it performs various user configured steps in navigating a site: for example, logging into
http://support.ca.com