Intel® Management Module Installation and User’s Guide
25
HTML Example.
In this example, the client-side page loads the page returned by the Embedded
Web Server into a frame.
<FRAMESET …><FRAME …>
<A HREF=http://
222.222.39.10
/ipmiPage?cmd=20.C0.64.07.00.00&onload=doOnLoad>
IPMI Command to check if web is enabled</A></FRAME>…</FRAMESET>
Perl Script Example.
In the following example, a Perl script sends an HTTP GET to the server.
Use IO::Socket;
$sock = new IO::Socket::INET (PeerAddr => ‘222.222.39.10”,
PeerPort
=>
80,
Proto => ‘tcp’
);
die “Socket could not be created.” Unless $sock;
print $sock “GET /ipmiHex?cmd=20.C0.64.07.00.00 HTTP/1.0”
NOTE
The default authentication is MD5 Digest authentication. This means that command line scripting
tools must be able to handle Authentication failures and respond to the server requests.